Thanks for your response Timo.<br><br>so you say i should try:<br><br>make mode=debug [CFLAGS=-g]?<br><br>Thanks for your assistance.<br><br>Regards<br>Phillip<br><br><br><div class="gmail_quote">On Fri, Sep 16, 2011 at 1:44 PM, Timo Reimann <span dir="ltr">&lt;<a href="mailto:timo.reimann@1und1.de">timo.reimann@1und1.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 16.09.2011 12:00, Phillman25 Kyriacou wrote:<br>
&gt; Could you please explain in a little more detail how to compile Kamailio<br>
&gt; with debug symbols?<br>
&gt; Do i use the command make CFLAGS=-g ?<br>
&gt; then make QUIET=no all?<br>
<br>
</div>I always add &quot;mode=debug&quot; to make, e.g.:<br>
<br>
make mode=debug &lt;my other make options&gt;<br>
<br>
<br>
HTH,<br>
<font color="#888888"><br>
--Timo<br>
</font><div class="im"><br>
<br>
<br>
&gt; On Thu, Sep 15, 2011 at 5:02 PM, marius zbihlei &lt;<a href="mailto:marius.zbihlei@1and1.ro">marius.zbihlei@1and1.ro</a><br>
</div><div><div></div><div class="h5">&gt; &lt;mailto:<a href="mailto:marius.zbihlei@1and1.ro">marius.zbihlei@1and1.ro</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     On 09/14/2011 07:40 PM, Phillman25 Kyriacou wrote:<br>
&gt;<br>
&gt;         Hello<br>
&gt;<br>
&gt;         Here is the output of the gdb commands:<br>
&gt;<br>
&gt;         (gdb) core core<br>
&gt;         [New Thread 18567]<br>
&gt;         Core was generated by `/usr/local/sbin/kamailio -P<br>
&gt;         /var/run/kamailio/kamailio.pid -m 64 -u root -g roo&#39;.<br>
&gt;         Program terminated with signal 6, Aborted.<br>
&gt;         #0  0x0040a422 in __kernel_vsyscall ()<br>
&gt;         .<br>
&gt;         .<br>
&gt;         .<br>
&gt;<br>
&gt;         (gdb) bt full<br>
&gt;         #0  0x0040a422 in __kernel_vsyscall ()<br>
&gt;         No symbol table info available.<br>
&gt;         #1  0x0056a651 in ?? ()<br>
&gt;         No symbol table info available.<br>
&gt;         #2  0x00695ff4 in ?? ()<br>
&gt;         No symbol table info available.<br>
&gt;         #3  0x0056da82 in ?? ()<br>
&gt;         No symbol table info available.<br>
&gt;         #4  0x00000006 in ?? ()<br>
&gt;         No symbol table info available.<br>
&gt;         #5  0xbff91960 in ?? ()<br>
&gt;<br>
&gt;<br>
&gt;     Hello,<br>
&gt;     This is not very helpful as the debug symbols weren&#39;t loaded. You<br>
&gt;     have to compile Kamailio with debug symbols (make sure the -g flag<br>
&gt;     is passed to CFLAGS when compiling) and then reload the core (it is<br>
&gt;     not mandatory to generate another one )<br>
&gt;<br>
&gt;     make QUIET=no (to see the flags)<br>
&gt;<br>
&gt;     Also don&#39;t strip the executable<br>
&gt;<br>
&gt;<br>
&gt;     Marius<br>
</div></div></blockquote></div><br>