[Asterisk-Users] chan_capi make issue

Daniel Schell danielschell at gmail.com
Thu Oct 7 21:37:48 MST 2004


Hi Everyone,

On a fresh RedHat 9 installation I have managed to get Asterisk
installed and working correctly. When attempting to make chan_capi I
get the errors below:

I've seen the same error reported at:
http://www.redhat.com/archives/fedora-list/2004-September/msg04029.html
http://lists.digium.com/pipermail/asterisk-users/2004-October/065388.html

I have installed the lastest Eicon Diva server software for Linux,
modprobe capi works, as well as isdn4k-*. Any suggestions? Thanks in
advance.

Thanks,
Dan

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.2.2/include/stddef.h:213: 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: syntax error before "typedef"
/usr/include/time.h:74: parse error before "__BEGIN_NAMESPACE_STD"
/usr/include/time.h:76: syntax error before "typedef"
/usr/include/time.h:129: parse error before "__BEGIN_NAMESPACE_STD"
/usr/include/time.h:131: syntax error before "struct"
/usr/include/time.h:178: parse error before "__BEGIN_NAMESPACE_STD"
/usr/include/time.h:181: syntax error before "extern"
/usr/include/time.h:181: parse error before "__THROW"

Hundreds of errors after this point.



More information about the asterisk-users mailing list