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
