include file errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a recent install of FC2 which I have updated to 2.6.8-1.521

I intend to run the asterisk telephony application on it and I have succesfully installed that application and a few others.

I am now trying to instal a capi channel package that interfaces capi to asterisk.

When I try to 'make' the package I get thousands of errors with the first few lines indicating that I have some problem with my include files:-

[root@Vigor11 chan_capi-0.3.5]# make
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include/asterisk -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c
In file included from /usr/include/time.h:38,
from /usr/include/pthread.h:21,
from /usr/include/asterisk/lock.h:17,
from chan_capi.c:14:
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/stddef.h:213: error: syntax error before "typedef"
In file included from /usr/include/pthread.h:21,
from /usr/include/asterisk/lock.h:17,
from chan_capi.c:14:
/usr/include/time.h:60: error: syntax error before "typedef"
/usr/include/time.h:74: error: syntax error before "__BEGIN_NAMESPACE_STD"
/usr/include/time.h:76: error: syntax error before "typedef"
/usr/include/time.h:129: error: syntax error before "__BEGIN_NAMESPACE_STD"
/usr/include/time.h:131: error: syntax error before "struct"
/usr/include/time.h:178: error: syntax error before "__BEGIN_NAMESPACE_STD"


Q1 Has anybody any idea what could be wrong

Q2 Where is the directory /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include defined I cannot find it in any config files or gcc documentation.

Thanks

Ian




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux