[Asterisk-bsd] strange asterisk crash on calls forwarded to
Local/ext
Vahan Yerkanian
vahan at arminco.com
Tue Aug 1 07:52:21 MST 2006
Dinesh Nair wrote:
>
> On 07/29/06 23:03 Vahan Yerkanian said the following:
>> Anyone can tell me how I can compile with 'make dont-optimize' from
>> ports so I can get more useful info with gdb backtrace?
>
> cd /usr/ports/net/asterisk/work/asterisk*
> gmake dont-optimize
> cd ../..
> make install
>
> :)
Tried that before posting the question :)
Have a look:
#cd /usr/ports/net/asterisk
#make configure
#cd work/asterisk-1.2.9.1/
#gmake dont-optimize
if cmp -s .cleancount .lastclean ; then echo ; else \
gmake clean; cp -f .cleancount .lastclean;\
fi
build_tools/make_version_h > include/asterisk/version.h.tmp
if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h ;
then echo; else \
mv include/asterisk/version.h.tmp
include/asterisk/version.h ; \
fi
rm -f include/asterisk/version.h.tmp
build_tools/mkdep -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -I/include -L/lib acl.c aescrypt.c aeskey.c
aestab.c alaw.c app.c ast_expr2.c ast_expr2f.c asterisk.c astmm.c
autoservice.c buildinfo.c callerid.c cdr.c channel.c chanvars.c cli.c
config.c cryptostub.c db.c devicestate.c dlfcn.c dns.c dnsmgr.c dsp.c
enum.c file.c frame.c fskmodem.c image.c indications.c io.c jitterbuf.c
loader.c logger.c manager.c md5.c muted.c netsock.c pbx.c plc.c poll.c
privacy.c rtp.c say.c sched.c slinfactory.c srv.c strcompat.c tdd.c
term.c translate.c ulaw.c utils.c
[snip]
build_tools/make_build_h > include/asterisk/build.h.tmp
if cmp -s include/asterisk/build.h.tmp include/asterisk/build.h ; then
echo ; else \
mv include/asterisk/build.h.tmp
include/asterisk/build.h ; \
fi
rm -f include/asterisk/build.h.tmp
cc -c -o buildinfo.o -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -I/include -L/lib buildinfo.c
cc -o asterisk -Wl,-E io.o sched.o logger.o frame.o loader.o config.o
channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o
alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o
manager.o asterisk.o dsp.o chanvars.o indications.o autoservice.o db.o
privacy.o astmm.o enum.o srv.o dns.o aescrypt.o aestab.o aeskey.o
utils.o plc.o jitterbuf.o dnsmgr.o devicestate.o netsock.o slinfactory.o
ast_expr2.o ast_expr2f.o cryptostub.o buildinfo.o editline/libedit.a
stdtime/libtime.a -lncurses -lm -lcrypto -lssl
channel.o(.text+0xfcd): In function `ast_queue_frame':
: undefined reference to `pthread_kill'
channel.o(.text+0x217f): In function `ast_softhangup_nolock':
: undefined reference to `pthread_kill'
channel.o(.text+0x76e9): In function `ast_do_masquerade':
: undefined reference to `pthread_kill'
pbx.o(.text+0x52d9): In function `pbx_thread':
: undefined reference to `pthread_exit'
pbx.o(.text+0x533c): In function `ast_pbx_start':
: undefined reference to `pthread_attr_init'
pbx.o(.text+0x534d): In function `ast_pbx_start':
: undefined reference to `pthread_attr_setdetachstate'
pbx.o(.text+0xac01): In function `ast_pbx_outgoing_exten':
: undefined reference to `pthread_attr_init'
pbx.o(.text+0xac12): In function `ast_pbx_outgoing_exten':
: undefined reference to `pthread_attr_setdetachstate'
pbx.o(.text+0xaff9): In function `ast_pbx_outgoing_app':
: undefined reference to `pthread_attr_init'
pbx.o(.text+0xb00a): In function `ast_pbx_outgoing_app':
: undefined reference to `pthread_attr_setdetachstate'
pbx.o(.text+0xb2ad): In function `ast_pbx_outgoing_app':
: undefined reference to `pthread_attr_init'
pbx.o(.text+0xb2be): In function `ast_pbx_outgoing_app':
: undefined reference to `pthread_attr_setdetachstate'
cdr.o(.text+0x29ff): In function `ast_cdr_submit_batch':
: undefined reference to `pthread_attr_init'
cdr.o(.text+0x2a10): In function `ast_cdr_submit_batch':
: undefined reference to `pthread_attr_setdetachstate'
cdr.o(.text+0x2e7b): In function `ast_cond_timedwait':
: undefined reference to `pthread_cond_timedwait'
cdr.o(.text+0x3546): In function `do_reload':
: undefined reference to `pthread_cancel'
cdr.o(.text+0x3559): In function `do_reload':
: undefined reference to `pthread_kill'
cdr.o(.text+0x356c): In function `do_reload':
: undefined reference to `pthread_join'
manager.o(.text+0x2cd8): In function `action_originate':
: undefined reference to `pthread_attr_init'
manager.o(.text+0x2cec): In function `action_originate':
: undefined reference to `pthread_attr_setdetachstate'
manager.o(.text+0x4011): In function `accept_thread':
: undefined reference to `pthread_attr_init'
manager.o(.text+0x4022): In function `accept_thread':
: undefined reference to `pthread_attr_setdetachstate'
manager.o(.text+0x450f): In function `manager_event':
: undefined reference to `pthread_kill'
asterisk.o(.text+0xc94): In function `listener':
: undefined reference to `pthread_attr_init'
asterisk.o(.text+0xca8): In function `listener':
: undefined reference to `pthread_attr_setdetachstate'
asterisk.o(.text+0x1d2f): In function `quit_handler':
: undefined reference to `pthread_kill'
asterisk.o(.text+0x1f29): In function `console_verboser':
: undefined reference to `pthread_kill'
autoservice.o(.text+0x335): In function `ast_autoservice_start':
: undefined reference to `pthread_kill'
autoservice.o(.text+0x3fe): In function `ast_autoservice_stop':
: undefined reference to `pthread_kill'
utils.o(.text+0x9e0): In function `test_for_thread_safety':
: undefined reference to `pthread_join'
utils.o(.text+0xe31): In function `ast_pthread_create_stack':
: undefined reference to `pthread_attr_init'
utils.o(.text+0xe55): In function `ast_pthread_create_stack':
: undefined reference to `pthread_attr_setstacksize'
utils.o(.text+0xeb6): In function `ast_pthread_create_stack':
: undefined reference to `pthread_create'
dnsmgr.o(.text+0x403): In function `do_refresh':
: undefined reference to `pthread_testcancel'
dnsmgr.o(.text+0x422): In function `do_refresh':
: undefined reference to `pthread_testcancel'
dnsmgr.o(.text+0xab5): In function `do_reload':
: undefined reference to `pthread_cancel'
dnsmgr.o(.text+0xac8): In function `do_reload':
: undefined reference to `pthread_kill'
dnsmgr.o(.text+0xadb): In function `do_reload':
: undefined reference to `pthread_join'
gmake: *** [asterisk] Error 1
More information about the Asterisk-BSD
mailing list