[Asterisk-Users] chan_capi module

Dirk Rennekamp dirk at rennekamp.de
Sun Oct 3 02:40:21 MST 2004


Hello everybody,
 
i have the same problem compiling the chan_capi under RH 9.0. 
 
make starts with the error like this: 
 
[root at mypbx 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 -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"

then hundred of errors follow.
 
Does anybody have an idea?
 

Thank you very much

Dirk Rennekamp
D - 21266 Jesteburg
dirk at rennekamp.de    

[Asterisk-Users] chan_capi module

asterisk at bortal.de asterisk
<mailto:asterisk-users%40lists.digium.com?Subject=%5BAsterisk-Users%5D%2
0chan_capi%20module&In-Reply-To=4a07a94d04082605206a70ae6c%40mail.gmail.
com> at bortal.de 
Thu Aug 26 07:44:33 CDT 2004 




*	Previous message: [Asterisk-Users]
<http://lists.digium.com/pipermail/asterisk-users/2004-August/060130.htm
l> chan_capi module 

*	Next message: [Asterisk-Users]
<http://lists.digium.com/pipermail/asterisk-users/2004-August/060128.htm
l> Overhead Paging 

*	Messages sorted by: [
<http://lists.digium.com/pipermail/asterisk-users/2004-August/date.html#
60132> date ] [
<http://lists.digium.com/pipermail/asterisk-users/2004-August/thread.htm
l#60132> thread ] [
<http://lists.digium.com/pipermail/asterisk-users/2004-August/subject.ht
ml#60132> subject ] [
<http://lists.digium.com/pipermail/asterisk-users/2004-August/author.htm
l#60132> author ] 

  _____  

> i think your problem is above the pasted error message.

> i compiled chan_capi on fedora 2 just yesterday.

> only problem was that some isdn4k devel pkg was missing.

> install it and it'll probably work fine.



I have just installed them:

  	rpm -Uvh fedora-core2-full/Fedora/RPMS/isdn4k*

and ran

  	ldconfig

afterwards.



Still the same error.

Which other libs or devel package could be missing?





>

> On Thu, 26 Aug 2004 13:32:06 +0200 (CEST), asterisk at bortal.de
<http://lists.digium.com/mailman/listinfo/asterisk-users> 

> <asterisk at bortal.de
<http://lists.digium.com/mailman/listinfo/asterisk-users> > wrote:

>> Hello!

>>

>> I have tried to compile the capi module

>> (http://www.junghanns.net/asterisk/downloads/chan_capi.0.3.5.tar.gz)

>> on fedora2 today.

>> ----------- MAKEFILE --------------

>>

>> ...EXPORT_ALL_VARIABLES:

>>

>> INSTALL_PREFIX=

>> #ASTERISK_HEADER_DIR=$(INSTALL_PREFIX)/usr/include

>> ASTERISK_HEADER_DIR=/usr/include/asterisk

>>

>> #MODULES_DIR=$(INSTALL_PREFIX)/usr/lib/asterisk/modules

>> MODULES_DIR=/usr/lib/asterisk/modules/

>>

>> PROC=$(shell uname -m)

>>

>> ----------- MAKEFILE SNIP END--------------

>>

>> Make Error:

>> -------------------------------------------

>>

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

.... cut here...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041003/0504b1e9/attachment.htm


More information about the asterisk-users mailing list