In the <span style="color: rgb(0, 102, 0);"><a href="http://Makefile.am">Makefile.am</a></span> in lib directory there are three lines that specify CFLAGS. it is as follow<br><br><span style="color: rgb(0, 102, 0);">libtheora_la_CFLAGS = $(OGG_CFLAGS) $(DEFS_NET) $(INCS_NET)</span><br style="color: rgb(0, 102, 0);">
<span style="color: rgb(0, 102, 0);">libtheora_la_LDFLAGS = -version-info @TH_LIB_CURRENT@:@TH_LIB_REVISION@:@TH_LIB_AGE@ @THEORA_LDFLAGS@</span><br style="color: rgb(0, 102, 0);"><span style="color: rgb(0, 102, 0);">libtheora_la_LIBADD = $(OGG_LIBS) $(LIBS_NET)</span><br style="color: rgb(0, 102, 0);">
<br style="color: rgb(0, 102, 0);"><span style="color: rgb(0, 102, 0);">debug:</span><br style="color: rgb(0, 102, 0);"><span style="color: rgb(0, 102, 0);"> $(MAKE) all CFLAGS="@DEBUG@" LDFLAGS="-lefence"</span><br style="color: rgb(0, 102, 0);">
<br style="color: rgb(0, 102, 0);"><span style="color: rgb(0, 102, 0);">profile:</span><br style="color: rgb(0, 102, 0);"><span style="color: rgb(0, 102, 0);"> $(MAKE) all CFLAGS="@PROFILE@"</span><br><br><br>
<br>I just modify this as follow<br><span style="color: rgb(0, 102, 0);">libtheora_la_CFLAGS = -g -Wall $(OGG_CFLAGS) $(DEFS_NET) $(INCS_NET)</span><br><br><br>But still the problem remain same,(can not go into "<span style="color: rgb(0, 102, 0);">theora_encode_init</span>" function while debug)<br>
<br>so what should I do, please can you explain more about how to compiling the library with debugging support...?<br><br><div class="gmail_quote">On Feb 7, 2008 1:10 PM, Conrad Parker <<a href="mailto:conrad@metadecks.org">conrad@metadecks.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 06/02/2008, janaka priyadarshana <<a href="mailto:rpjanaka@gmail.com">rpjanaka@gmail.com</a>> wrote:<br>
> hi all,<br><div class="Ih2E3d">><br>> I want to go into functions defined in the "lib" directory while i am<br>> debugging the encoder_example<br><br></div>Hi,<br><br>in general, you need to make sure you are compiling the library with<br>
debugging support, eg. by adding "-g" in CFLAGS when building the<br>library (if using gcc).<br><font color="#888888"><br>Conrad.<br></font></blockquote></div><br><br clear="all"><br>-- <br>-----------<br>Regards,<br>
Janaka Priyadarshana