Problem building asterisk package > 1.6.1.8

Marcin J. Kowalczyk marcin.kowalczyk at ccig.pl
Sun Dec 6 20:51:41 UTC 2009


Hi,

Since Digium released Asterisk 1.6.1.8 I can't build debian package 
(tried 1.6.2.0-rc7 and 1.6.1.11 as well).
While compiling straight on system everything is OK, but while I try to 
build package I get:

/usr/bin/ld: chan_bridge.o: in function 
__register_file_version:chan_bridge.c:30: error: undefined reference to 
'ast_register_file_version'
/usr/bin/ld: chan_bridge.o: in function 
__unregister_file_version:chan_bridge.c:30: error: undefined reference 
to 'ast_unregister_file_version'
/usr/bin/ld: chan_bridge.o: in function bridge_read:chan_bridge.c:87: 
error: undefined reference to 'ast_null_frame'
/usr/bin/ld: chan_bridge.o: in function bridge_write:chan_bridge.c:110: 
error: undefined reference to 'ast_queue_frame'
/usr/bin/ld: chan_bridge.o: in function bridge_call:chan_bridge.c:130: 
error: undefined reference to 'ast_bridge_impart'
/usr/bin/ld: chan_bridge.o: in function 
bridge_queue_hangup:chan_bridge.c:150: error: undefined reference to 
'ast_queue_hangup'
/usr/bin/ld: chan_bridge.o: in function 
bridge_request:chan_bridge.c:198: error: undefined reference to 
'_ast_calloc'
/usr/bin/ld: chan_bridge.o: in function 
bridge_request:chan_bridge.c:203: error: undefined reference to 
'__ast_channel_alloc'
/usr/bin/ld: chan_bridge.o: in function 
bridge_request:chan_bridge.c:207: error: undefined reference to 
'__ast_channel_alloc'
/usr/bin/ld: chan_bridge.o: in function 
bridge_request:chan_bridge.c:208: error: undefined reference to 
'ast_channel_free'
/usr/bin/ld: chan_bridge.o: in function load_module:chan_bridge.c:232: 
error: undefined reference to 'ast_channel_register'
/usr/bin/ld: chan_bridge.o: in function load_module:chan_bridge.c:233: 
error: undefined reference to 'ast_log'
/usr/bin/ld: chan_bridge.o: in function unload_module:chan_bridge.c:242: 
error: undefined reference to 'ast_channel_unregister'
/usr/bin/ld: chan_bridge.o: in function __reg_module:chan_bridge.c:246: 
error: undefined reference to 'ast_module_register'
/usr/bin/ld: chan_bridge.o: in function 
__unreg_module:chan_bridge.c:246: error: undefined reference to 
'ast_module_unregister'


I tried to use binutils-gold_2.20-1_i386.deb as ld but no luck.

Any ideas what can be wrong?

For some reasons I can't use pre-prepaired package and I need to build 
my own.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20091206/c414b7e9/attachment.htm>


More information about the Pkg-voip-maintainers mailing list