Hi, Is anyone else having issues building 1.4.28? I've had to modify the makeopts file to get Asterisk to actually find all my libs for SQLite etc, all the modules build but I get to a point where Asterisk just complains about pthreads:
[LD] abstract_jb.o acl.o aescrypt.o aeskey.o aestab.o alaw.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autoservice.o callerid.o cdr.o channel.o chanvars.o cli.o config.o cryptostub.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o file.o fixedjitterbuf.o frame.o fskmodem.o global_datastores.o http.o image.o indications.o io.o jitterbuf.o loader.o logger.o manager.o md5.o netsock.o pbx.o plc.o poll.o privacy.o rtp.o say.o sched.o sha1.o slinfactory.o srv.o stdtime/localtime.o strcompat.o tdd.o term.o threadstorage.o translate.o udptl.o ulaw.o utils.o editline/libedit.a db1-ast/libdb1.a -> asterisk asterisk.o(.text+0x1f28): In function `listener': : undefined reference to `pthread_attr_init' asterisk.o(.text+0x1f3c): In function `listener': : undefined reference to `pthread_attr_setdetachstate' asterisk.o(.text+0x1f89): In function `listener': : undefined reference to `pthread_testcancel' asterisk.o(.text+0x2ff0): In function `quit_handler': : undefined reference to `pthread_cancel' asterisk.o(.text+0x3153): In function `quit_handler': : undefined reference to `pthread_kill' asterisk.o(.text+0x339e): In function `console_verboser': : undefined reference to `pthread_kill' asterisk.o(.text+0x8247): In function `main': : undefined reference to `pthread_attr_init' asterisk.o(.text+0x825b): In function `main': : undefined reference to `pthread_attr_setdetachstate' asterisk.o(.text+0x82a3): In function `main': : undefined reference to `pthread_attr_destroy' audiohook.o(.text+0x242b): In function `ast_cond_timedwait': : undefined reference to `pthread_cond_timedwait' autoservice.o(.text+0x79e): In function `ast_autoservice_start': : undefined reference to `pthread_kill' autoservice.o(.text+0x8f0): In function `ast_autoservice_stop': : undefined reference to `pthread_kill' cdr.o(.text+0x4027): In function `ast_cdr_submit_batch': : undefined reference to `pthread_attr_init' cdr.o(.text+0x4038): In function `ast_cdr_submit_batch': : undefined reference to `pthread_attr_setdetachstate' cdr.o(.text+0x40da): In function `ast_cdr_submit_batch': : undefined reference to `pthread_attr_destroy' cdr.o(.text+0x44ff): In function `ast_cond_timedwait': : undefined reference to `pthread_cond_timedwait' cdr.o(.text+0x4dde): In function `do_reload': : undefined reference to `pthread_cancel' cdr.o(.text+0x4df1): In function `do_reload': : undefined reference to `pthread_kill' cdr.o(.text+0x4e04): In function `do_reload': : undefined reference to `pthread_join' channel.o(.text+0x20ef): In function `__ast_queue_frame': : undefined reference to `pthread_kill' channel.o(.text+0x31ab): In function `ast_softhangup_nolock': : undefined reference to `pthread_kill' channel.o(.text+0xa61f): In function `ast_do_masquerade': : undefined reference to `pthread_kill' dial.o(.text+0x1797): In function `ast_dial_join': : undefined reference to `pthread_kill' dial.o(.text+0x17cb): In function `ast_dial_join': : undefined reference to `pthread_join' dnsmgr.o(.text+0x6f3): In function `do_refresh': : undefined reference to `pthread_testcancel' dnsmgr.o(.text+0x730): In function `do_refresh': : undefined reference to `pthread_testcancel' dnsmgr.o(.text+0xe72): In function `do_reload': : undefined reference to `pthread_cancel' dnsmgr.o(.text+0xe85): In function `do_reload': : undefined reference to `pthread_kill' dnsmgr.o(.text+0xe98): In function `do_reload': : undefined reference to `pthread_join' http.o(.text+0x14f2): In function `http_root': : undefined reference to `pthread_attr_init' http.o(.text+0x1503): In function `http_root': : undefined reference to `pthread_attr_setdetachstate' http.o(.text+0x15a2): In function `http_root': : undefined reference to `pthread_attr_destroy' http.o(.text+0x16d0): In function `http_server_start': : undefined reference to `pthread_cancel' http.o(.text+0x16e3): In function `http_server_start': : undefined reference to `pthread_kill' http.o(.text+0x16f6): In function `http_server_start': : undefined reference to `pthread_join' manager.o(.text+0x1375): In function `unuse_eventqent': : undefined reference to `pthread_kill' manager.o(.text+0x336e): In function `action_waitevent': : undefined reference to `pthread_kill' manager.o(.text+0x59a1): In function `action_originate': : undefined reference to `pthread_attr_init' manager.o(.text+0x59b5): In function `action_originate': : undefined reference to `pthread_attr_setdetachstate' manager.o(.text+0x5a26): In function `action_originate': : undefined reference to `pthread_attr_destroy' manager.o(.text+0x7175): In function `accept_thread': : undefined reference to `pthread_attr_init' manager.o(.text+0x7186): In function `accept_thread': : undefined reference to `pthread_attr_setdetachstate' manager.o(.text+0x782d): In function `manager_event': : undefined reference to `pthread_kill' manager.o(.text+0x799c): In function `ast_rwlock_timedwrlock': : undefined reference to `pthread_rwlock_timedwrlock' manager.o(.text+0x8864): In function `generic_http_callback': : undefined reference to `pthread_kill' pbx.o(.text+0x5245): In function `pbx_thread': : undefined reference to `pthread_exit' pbx.o(.text+0x52ab): In function `ast_pbx_start': : undefined reference to `pthread_attr_init' pbx.o(.text+0x52bc): In function `ast_pbx_start': : undefined reference to `pthread_attr_setdetachstate' pbx.o(.text+0x5321): In function `ast_pbx_start': : undefined reference to `pthread_attr_destroy' pbx.o(.text+0x533e): In function `ast_pbx_start': : undefined reference to `pthread_attr_destroy' pbx.o(.text+0xa436): In function `ast_pbx_outgoing_exten': : undefined reference to `pthread_attr_init' pbx.o(.text+0xa447): In function `ast_pbx_outgoing_exten': : undefined reference to `pthread_attr_setdetachstate' pbx.o(.text+0xa4ef): In function `ast_pbx_outgoing_exten': : undefined reference to `pthread_attr_destroy' pbx.o(.text+0xa500): In function `ast_pbx_outgoing_exten': : undefined reference to `pthread_attr_destroy' pbx.o(.text+0xa7aa): In function `ast_pbx_outgoing_app': : undefined reference to `pthread_attr_init' pbx.o(.text+0xa7bb): In function `ast_pbx_outgoing_app': : undefined reference to `pthread_attr_setdetachstate' pbx.o(.text+0xa8a7): In function `ast_pbx_outgoing_app': : undefined reference to `pthread_attr_destroy' pbx.o(.text+0xaa4c): In function `ast_pbx_outgoing_app': : undefined reference to `pthread_attr_init' pbx.o(.text+0xaa5d): In function `ast_pbx_outgoing_app': : undefined reference to `pthread_attr_setdetachstate' pbx.o(.text+0xab14): In function `ast_pbx_outgoing_app': : undefined reference to `pthread_attr_destroy' pbx.o(.text+0xab33): In function `ast_pbx_outgoing_app': : undefined reference to `pthread_attr_destroy' utils.o(.text+0xf37): In function `dummy_start': : undefined reference to `pthread_cleanup_push' utils.o(.text+0xf55): In function `dummy_start': : undefined reference to `pthread_cleanup_pop' utils.o(.text+0xf89): In function `ast_pthread_create_stack': : undefined reference to `pthread_attr_init' utils.o(.text+0xfba): In function `ast_pthread_create_stack': : undefined reference to `pthread_attr_setstacksize' utils.o(.text+0x10c6): In function `ast_pthread_create_stack': : undefined reference to `pthread_create' gmake[1]: *** [asterisk] Error 1 gmake[1]: Leaving directory `/build/asterisk/asterisk-1.4.28/main' gmake: *** [main] Error 2 Anyone have any ideas? I'm running FreeBSD 6.3. 1.4.24.1 onwards seems to be the last version of Asterisk that wants to build right for me. -- vtalk® - Simple, smart communications™ vtalk.net | [email protected] | +61 2 9043 8269 | +61 414 315 724 _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- Asterisk-BSD mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-bsd

