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

Carsten Bock carsten_maillista at cbclass.net
Wed Jul 23 04:40:29 CDT 2008


I just re-unpacked asterisk-1.4.21.2.tar.gz and there was no '`' in the function mentioned below.
I have no idea where it came from, i didn't edited the file before.
May be something is (terrible) wrong with the server i installed it on ... :)

=> now it compiles and works



Carsten Bock schrieb:
> 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
>>
> 
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 




More information about the asterisk-users mailing list