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

Carsten Bock carsten_maillista at cbclass.net
Wed Jul 23 04:20:36 CDT 2008


Thanks for the hint with make NOISY_BUILD=yes:
In main/db1-ast/hash/hash_page.c
Line 654, function first_free(map)
there was an error at "mask = mask << 1;"
hash/hash_page.c:659: error: stray '`' in program

I'm currently recompiling it from the start again, to test it.


Tzafrir Cohen schrieb:
> 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
> 




More information about the asterisk-users mailing list