Kristijan Vrban wrote:
> Steve Underwood schrieb:
>   
>> Hi Kristijan,
>>
>> Kristijan Vrban wrote:
>>   
>>     
>>> Hello, since spandsp 0.0.4pre12 i get this error on FreeBSD:
>>>
>>> T libcallweaver_la-frame.lo -MD -MP -MF .deps/libcallweaver_la-frame.Tpo 
>>> -c frame.c  -fPIC -DPIC -o .libs/libcallweaver_la-frame.o
>>> In file included from //usr/local/include/spandsp.h:64,
>>>                  from frame.c:34:
>>> //usr/local/include/spandsp/dc_restore.h: In function `fsaturate':
>>> //usr/local/include/spandsp/dc_restore.h:118: warning: implicit 
>>> declaration of function `rintl'
>>> In file included from /usr/include/openssl/evp.h:134,
>>>                  from ../include/callweaver/utils.h:34,
>>>                  from ../include/callweaver/channel.h:58,
>>>                  from frame.c:44:
>>> /usr/include/openssl/rsa.h: At top level:
>>> /usr/include/openssl/rsa.h:101: error: syntax error before numeric constant
>>> *** Error code 1
>>>
>>> Stop in /usr/src/callweaver/callweaver-RC-1.1.99.20071027/corelib.
>>> *** Error code 1
>>>
>>> Stop in /usr/src/callweaver/callweaver-RC-1.1.99.20071027/corelib.
>>> *** Error code 1
>>>
>>> Stop in /usr/src/callweaver/callweaver-RC-1.1.99.20071027/corelib.
>>> *** Error code 1
>>>
>>> Stop in /usr/src/callweaver/callweaver-RC-1.1.99.20071027
>>>     
>>>       
>> I changed things a little, in response to a user request, so spandsp.h 
>> is generated during the configure process to use headers appropriate to 
>> the current platform. Something in those extra includes must be 
>> upsetting things on your system.
>>
>> If you edit your installed spandsp.h, and remove the lines including 
>> math.h, tgmath.h, inttypes.h and/or stdint.h you should be back to the 
>> way the old spandsp.h looked. If that works OK, I will need to review 
>> these includes again.
>>
>> Regards,
>> Steve
>>
>> _______________________________________________
>> Callweaver-dev mailing list
>> [email protected]
>> http://lists.callweaver.org/mailman/listinfo/callweaver-dev
>>
>>
>>   
>>     
> Hello Steve,
>
> yes, after removing  math.h, tgmath.h, inttypes.h it worked.
>
> Regards,
> Kristijan
>   
Great. Now, I wonder which one causes trouble? :-\

Some versions of xxxBSD have very broken C99 environments. It sounds 
like your might, but we have to live with that. I wonder if you could 
try putting those includes back one by one, to see which causes trouble? 
I will put things back more or less as they were for now, but I really 
want to add extra includes, if I can do it safely.

Regards,
Steve

_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev

Reply via email to