<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Nachricht</TITLE>
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=609262509-03102004>Hello
everybody,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=609262509-03102004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=609262509-03102004>i have the same
problem compiling the chan_capi under RH 9.0. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=609262509-03102004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=609262509-03102004>make starts with the
error like this: </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=609262509-03102004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=609262509-03102004>[root@mypbx
chan_capi-0.3.5]# make<BR>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<BR>In file included from
/usr/include/time.h:38,<BR>
from
/usr/include/pthread.h:21,<BR>
from
/usr/include/asterisk/lock.h:17,<BR>
from
chan_capi.c:14:<BR>/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stddef.h:213:
syntax error before "typedef"<BR>In file included from
/usr/include/pthread.h:21,<BR>
from
/usr/include/asterisk/lock.h:17,<BR>
from chan_capi.c:14:<BR>/usr/include/time.h:60: syntax error before
"typedef"<BR>/usr/include/time.h:74: parse error before
"__BEGIN_NAMESPACE_STD"<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=609262509-03102004>then hundred of
errors follow.</DIV></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN class=609262509-03102004></SPAN></FONT><FONT
face=Arial size=2><SPAN class=609262509-03102004> </DIV></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN class=609262509-03102004>Does anybody have an
idea?</DIV></SPAN></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<P><SPAN class=609262509-03102004><FONT size=2>Thank you very
much</FONT></SPAN></P>
<P>Dirk Rennekamp<BR>D - 21266 Jesteburg<BR><SPAN class=609262509-03102004><FONT
size=2>dirk@rennekamp.de </FONT></SPAN></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<P>[Asterisk-Users] chan_capi module</P>
<DIV><B>asterisk at bortal.de</B> <A title="[Asterisk-Users] chan_capi module"
href="mailto:asterisk-users%40lists.digium.com?Subject=%5BAsterisk-Users%5D%20chan_capi%20module&In-Reply-To=4a07a94d04082605206a70ae6c%40mail.gmail.com">asterisk
at bortal.de </A><BR><I>Thu Aug 26 07:44:33 CDT 2004</I>
<P>
<UL>
<LI>Previous message: <A
href="http://lists.digium.com/pipermail/asterisk-users/2004-August/060130.html">[Asterisk-Users]
chan_capi module </A>
<LI>Next message: <A
href="http://lists.digium.com/pipermail/asterisk-users/2004-August/060128.html">[Asterisk-Users]
Overhead Paging </A>
<LI><B>Messages sorted by:</B> <A
href="http://lists.digium.com/pipermail/asterisk-users/2004-August/date.html#60132">[
date ]</A> <A
href="http://lists.digium.com/pipermail/asterisk-users/2004-August/thread.html#60132">[
thread ]</A> <A
href="http://lists.digium.com/pipermail/asterisk-users/2004-August/subject.html#60132">[
subject ]</A> <A
href="http://lists.digium.com/pipermail/asterisk-users/2004-August/author.html#60132">[
author ]</A> </LI></UL>
<HR>
<!--beginarticle--><PRE>><I> i think your problem is above the pasted error message.
</I>><I> i compiled chan_capi on fedora 2 just yesterday.
</I>><I> only problem was that some isdn4k devel pkg was missing.
</I>><I> install it and it'll probably work fine.
</I>
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?
><I>
</I>><I> On Thu, 26 Aug 2004 13:32:06 +0200 (CEST), <A href="http://lists.digium.com/mailman/listinfo/asterisk-users">asterisk at bortal.de</A>
</I>><I> <<A href="http://lists.digium.com/mailman/listinfo/asterisk-users">asterisk at bortal.de</A>> wrote:
</I>>><I> Hello!
</I>>><I>
</I>>><I> I have tried to compile the capi module
</I>>><I> (<A href="http://www.junghanns.net/asterisk/downloads/chan_capi.0.3.5.tar.gz">http://www.junghanns.net/asterisk/downloads/chan_capi.0.3.5.tar.gz</A>)
</I>>><I> on fedora2 today.
</I>>><I> ----------- MAKEFILE --------------
</I>>><I>
</I>>><I> ...EXPORT_ALL_VARIABLES:
</I>>><I>
</I>>><I> INSTALL_PREFIX=
</I>>><I> #ASTERISK_HEADER_DIR=$(INSTALL_PREFIX)/usr/include
</I>>><I> ASTERISK_HEADER_DIR=/usr/include/asterisk
</I>>><I>
</I>>><I> #MODULES_DIR=$(INSTALL_PREFIX)/usr/lib/asterisk/modules
</I>>><I> MODULES_DIR=/usr/lib/asterisk/modules/
</I>>><I>
</I>>><I> PROC=$(shell uname -m)
</I>>><I>
</I>>><I> ----------- MAKEFILE SNIP END--------------
</I>>><I>
</I>>><I> Make Error:
</I>>><I> -------------------------------------------
</I>>><I>
</I>>><I> In file included from /usr/include/time.h:38,
</I>>><I> from /usr/include/pthread.h:21,
</I>>><I> from /usr/include/asterisk/lock.h:17,
</I>>><I> from chan_capi.c:14:
</I>>><I> /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/stddef.h:213: error:
</I>>><I> syntax error before "typedef"In file included from
</I>>><I> /usr/include/pthread.h:21,
</I>>><I> from /usr/include/asterisk/lock.h:17,
</I>>><I> from chan_capi.c:14:
<SPAN class=609262509-03102004>.... cut here...</SPAN></I></PRE><!--endarticle--></DIV></BLOCKQUOTE></BODY></HTML>