Problem building asterisk package > 1.6.1.8
Kilian Krause
kilian at debian.org
Mon Dec 7 05:47:11 UTC 2009
Hi,
On Sun, Dec 06, 2009 at 09:51:41PM +0100, Marcin J. Kowalczyk wrote:
> 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.
Have you also tried to pull in the headers of that version like libpri-dev,
libtonezone-dev instead of the latest version? Usually libpri, zaptel and
asterisk make a set of packages that break when mixing versions.
--
Best regards,
Kilian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20091207/cee38d79/attachment-0001.pgp>
More information about the Pkg-voip-maintainers
mailing list