-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of trixter aka Bret McDanel Sent: Saturday, January 21, 2006 11:33 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Compiling app_cepstral.c into Asterisk - failing
On Sat, 2006-01-21 at 23:21 -0500, Lists wrote: > In file included from app_cepstral.c:15: > /usr/include/asterisk/file.h:27:2: #error You must include stdio.h before > file.h! > In file included from app_cepstral.c:15: > /usr/include/asterisk/file.h:56: error: syntax error before '*' token > /usr/include/asterisk/file.h:57: error: syntax error before '*' token > In file included from app_cepstral.c:26: > /usr/include/asterisk/cli.h:32: error: syntax error before string constant > make[1]: *** [app_cepstral.so] Error 1 > make[1]: Leaving directory `/usr/src/asterisk/apps' > make: *** [bininstall] Error 1 > [EMAIL PROTECTED] asterisk]# > Add a line #include <stdio.h> into the app_cepstral.c file before the #include <file.h> line. That is all that error tells you to do. -- Trixter http://www.0xdecafbad.com Bret McDanel UK +44 870 340 4605 Germany +49 801 777 555 3402 US +1 360 207 0479 or +1 516 687 5200 FreeWorldDialup: 635378 http://www.sacaug.org/ Sacramento Asterisk Users Group Thanks for that tip. I made that correction and now it is stopping at: gcc -D_GNU_SOURCE -shared -Xlinker -x -o app_cepstral.so app_cepstral.c -lz -lm -lswift -lceplex_us -lceplang_en -lz -ldl -L/opt/swift/lib -I/opt/swift/include In file included from app_cepstral.c:27: /usr/include/asterisk/cli.h:32: error: syntax error before string constant make[1]: *** [app_cepstral.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/apps' make: *** [bininstall] Error 1 [EMAIL PROTECTED] asterisk]# _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
