Re: Problem buildiing asterisk package
On Sun, Dec 06, 2009 at 05:57:23PM +0100, Marcin J. Kowalczyk wrote:
> 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:
>From where? On which platform?
>
> /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'
Could you also include the specific link command?
>
>
> I tried to use binutils-gold_2.20-1_i386.deb as ld but no luck.
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend
Reply to: