Fw: chan_capi make issue

Ian Clough ianhome at intech.co.uk
Mon Oct 11 04:43:20 UTC 2004


----- Original Message ----- 
From: "Daniel Schell" <danielschell at gmail.com>
To: <asterisk-users at lists.digium.com>
Cc: <ianhome at intech.co.uk>
Sent: Friday, October 08, 2004 5:37 AM
Subject: chan_capi make issue


> 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.


Hi Daniel
I had the same errors and tried many things to resolve the problem

I eventually got a clean build of chan_capi but still have other problems.

I installed the isdn4k-utils-devel package

'yum install isdn4k-utils-devel'

and that seemed to work.
Also left the Makefile unchanged after trying many different include 
directories

Good luck


Ian




>
> 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"
snipped 





More information about the fedora-list mailing list