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"><<a href="mailto:timo.reimann@1und1.de">timo.reimann@1und1.de</a>></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>
> Could you please explain in a little more detail how to compile Kamailio<br>
> with debug symbols?<br>
> Do i use the command make CFLAGS=-g ?<br>
> then make QUIET=no all?<br>
<br>
</div>I always add "mode=debug" to make, e.g.:<br>
<br>
make mode=debug <my other make options><br>
<br>
<br>
HTH,<br>
<font color="#888888"><br>
--Timo<br>
</font><div class="im"><br>
<br>
<br>
> On Thu, Sep 15, 2011 at 5:02 PM, marius zbihlei <<a href="mailto:marius.zbihlei@1and1.ro">marius.zbihlei@1and1.ro</a><br>
</div><div><div></div><div class="h5">> <mailto:<a href="mailto:marius.zbihlei@1and1.ro">marius.zbihlei@1and1.ro</a>>> wrote:<br>
><br>
> On 09/14/2011 07:40 PM, Phillman25 Kyriacou wrote:<br>
><br>
> Hello<br>
><br>
> Here is the output of the gdb commands:<br>
><br>
> (gdb) core core<br>
> [New Thread 18567]<br>
> Core was generated by `/usr/local/sbin/kamailio -P<br>
> /var/run/kamailio/kamailio.pid -m 64 -u root -g roo'.<br>
> Program terminated with signal 6, Aborted.<br>
> #0 0x0040a422 in __kernel_vsyscall ()<br>
> .<br>
> .<br>
> .<br>
><br>
> (gdb) bt full<br>
> #0 0x0040a422 in __kernel_vsyscall ()<br>
> No symbol table info available.<br>
> #1 0x0056a651 in ?? ()<br>
> No symbol table info available.<br>
> #2 0x00695ff4 in ?? ()<br>
> No symbol table info available.<br>
> #3 0x0056da82 in ?? ()<br>
> No symbol table info available.<br>
> #4 0x00000006 in ?? ()<br>
> No symbol table info available.<br>
> #5 0xbff91960 in ?? ()<br>
><br>
><br>
> Hello,<br>
> This is not very helpful as the debug symbols weren't loaded. You<br>
> have to compile Kamailio with debug symbols (make sure the -g flag<br>
> is passed to CFLAGS when compiling) and then reload the core (it is<br>
> not mandatory to generate another one )<br>
><br>
> make QUIET=no (to see the flags)<br>
><br>
> Also don't strip the executable<br>
><br>
><br>
> Marius<br>
</div></div></blockquote></div><br>