[asterisk-users] 1.4.21.2: Linking res_crypto causes segmentation fault.

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Jul 23 03:23:00 CDT 2008


On Wed, Jul 23, 2008 at 10:12:21AM +0200, Carsten Bock wrote:
> Hi,
> i tried to compile Asterisk 1.4.21.2 on a server which i have been using with many previous Asterisk versions,
> without any problems.
> But with 1.4.21.2 it failed:
> ----------------------------------
>    [CC] res_adsi.c -> res_adsi.o
>     [LD] res_adsi.o -> res_adsi.so
>     [CC] res_agi.c -> res_agi.o
>     [LD] res_agi.o -> res_agi.so
>     [CC] res_clioriginate.c -> res_clioriginate.o
>     [LD] res_clioriginate.o -> res_clioriginate.so
>     [CC] res_convert.c -> res_convert.o
>     [LD] res_convert.o -> res_convert.so
>     [CC] res_crypto.c -> res_crypto.o
>     [LD] res_crypto.o -> res_crypto.so
> collect2: ld terminated with signal 11 [Segmentation fault]
> /usr/bin/ld: BFD 2.17 Debian GNU/Linux assertion fail ../../bfd/elflink.c:2363
> /usr/bin/ld: BFD 2.17 Debian GNU/Linux assertion fail ../../bfd/elflink.c:2365
> /usr/bin/ld: BFD 2.17 Debian GNU/Linux assertion fail ../../bfd/elflink.c:2366
> make[1]: *** [res_crypto.so] Error 1
> make: *** [res] Error 2
> ----------------------------------
> Debian 4.0 with the latest updates
> uname -a: Linux vs1201 2.6.18 #2 SMP Tue Oct 23 22:39:08 CEST 2007 x86_64 GNU/Linux
> ld: GNU ld version 2.17 Debian GNU/Linux
> gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
> 
> Any Idea why?

No, but in order to get some clues:

Do you still get a segfault by re-running 'make'?

To get the exact build command:

  make NOISY_BUILD=yes

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list