[Asterisk-Users] Adding Cepstral to Asterisk

trixter http://www.0xdecafbad.com trixter at 0xdecafbad.com
Mon Oct 3 13:11:11 MST 2005


On Mon, 2005-10-03 at 13:02 -0700, pbx at itsngroup.com wrote:
> the app_cepstral.c file had a problem that it was trying use
> 
> #include "../asterisk.h"
> 
> I had to force it to where asterisk.h was located... in my case it was in
> /usr/src/asterisk/include
> so i changed the #include to say
> 
> #include "/usr/src/asterisk/include/asterisk.h" and then it would compile
> through with no problems
> 


try adding -I/path/to/asterisk/includes  in your case
-I/usr/src/asterisk/include to your cc/gcc line (in Makefile usually
CCOPTS var, but I havent looked at that Makefile specifically).

This is the more elegant solution :P   Or install your asterisk includes
in the system default (/usr/include normally)

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051003/ad28e98e/attachment.pgp


More information about the asterisk-users mailing list