<!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>&nbsp;</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>&nbsp;</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>&nbsp;</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&nbsp; -I/usr/include/asterisk -D_REENTRANT 
-D_GNU_SOURCE -O6 -march=i686&nbsp; -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC 
-Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO&nbsp;&nbsp; -c -o 
chan_capi.o chan_capi.c<BR>In file included from 
/usr/include/time.h:38,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from 
/usr/include/pthread.h:21,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from 
/usr/include/asterisk/lock.h:17,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
from 
/usr/include/asterisk/lock.h:17,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
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>&nbsp;</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>&nbsp;</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&nbsp;&nbsp;&nbsp; </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&amp;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>&gt;<I> i think your problem is above the pasted error message.
</I>&gt;<I> i compiled chan_capi on fedora 2 just yesterday.
</I>&gt;<I> only problem was that some isdn4k devel pkg was missing.
</I>&gt;<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?


&gt;<I>
</I>&gt;<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>&gt;<I> &lt;<A href="http://lists.digium.com/mailman/listinfo/asterisk-users">asterisk at bortal.de</A>&gt; wrote:
</I>&gt;&gt;<I> Hello!
</I>&gt;&gt;<I>
</I>&gt;&gt;<I> I have tried to compile the capi module
</I>&gt;&gt;<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>&gt;&gt;<I> on fedora2 today.
</I>&gt;&gt;<I> ----------- MAKEFILE --------------
</I>&gt;&gt;<I>
</I>&gt;&gt;<I> ...EXPORT_ALL_VARIABLES:
</I>&gt;&gt;<I>
</I>&gt;&gt;<I> INSTALL_PREFIX=
</I>&gt;&gt;<I> #ASTERISK_HEADER_DIR=$(INSTALL_PREFIX)/usr/include
</I>&gt;&gt;<I> ASTERISK_HEADER_DIR=/usr/include/asterisk
</I>&gt;&gt;<I>
</I>&gt;&gt;<I> #MODULES_DIR=$(INSTALL_PREFIX)/usr/lib/asterisk/modules
</I>&gt;&gt;<I> MODULES_DIR=/usr/lib/asterisk/modules/
</I>&gt;&gt;<I>
</I>&gt;&gt;<I> PROC=$(shell uname -m)
</I>&gt;&gt;<I>
</I>&gt;&gt;<I> ----------- MAKEFILE SNIP END--------------
</I>&gt;&gt;<I>
</I>&gt;&gt;<I> Make Error:
</I>&gt;&gt;<I> -------------------------------------------
</I>&gt;&gt;<I>
</I>&gt;&gt;<I> In file included from /usr/include/time.h:38,
</I>&gt;&gt;<I>                 from /usr/include/pthread.h:21,
</I>&gt;&gt;<I>                 from /usr/include/asterisk/lock.h:17,
</I>&gt;&gt;<I>                 from chan_capi.c:14:
</I>&gt;&gt;<I> /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include/stddef.h:213: error:
</I>&gt;&gt;<I> syntax error before "typedef"In file included from
</I>&gt;&gt;<I> /usr/include/pthread.h:21,
</I>&gt;&gt;<I>                 from /usr/include/asterisk/lock.h:17,
</I>&gt;&gt;<I>                 from chan_capi.c:14:
<SPAN class=609262509-03102004>.... cut here...</SPAN></I></PRE><!--endarticle--></DIV></BLOCKQUOTE></BODY></HTML>