<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2><SPAN
class=369503519-16082004>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=369503519-16082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=369503519-16082004>I already searched
on the mailing list, but I didn't found a solution to my problem. I can't
install chan_capi anymore. It has been running very well but then I run into
trouble. so I decided to update to the latest CVS version of asterisk and of
chan_capi. But now I can't compile chan_capi anymore.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=369503519-16082004>I'm running SuSE 9.0
and I think the problem is caused by an update that was automatically installed.
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=369503519-16082004>Any
ideas?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=369503519-16082004>By the way, I tried
as well an older version that I compiled successfully before but it now
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=369503519-16082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=369503519-16082004>Here the log of the
make command:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2>deskpro:/usr/src/asterisk/chan_capi-0.3.5 #
make<BR>gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g
-I/usr/include -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<BR>chan_capi.c:23:31: asterisk/features.h: No such file or
directory<BR>In file included from
chan_capi.c:24:<BR>/usr/include/asterisk/utils.h:22: error: redefinition of
`struct ast_hostent'<BR>In file included from
/usr/include/linux/kernelcapi.h:13,<BR>
from
/usr/include/linux/capi.h:18,<BR>
from chan_capi.c:35:<BR>/usr/include/linux/list.h:563:2: warning: #warning
"don't include kernel headers in userspace"<BR>chan_capi.c:62: warning: type
defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC'<BR>chan_capi.c:62:
warning: parameter names (without types) in function
declaration<BR>chan_capi.c:62: warning: data definition has no type or storage
class<BR>chan_capi.c:63: warning: type defaults to `int' in declaration of
`AST_MUTEX_DEFINE_STATIC'<BR>chan_capi.c:63: warning: parameter names (without
types) in function declaration<BR>chan_capi.c:63: warning: data definition has
no type or storage class<BR>chan_capi.c:64: warning: type defaults to `int' in
declaration of `AST_MUTEX_DEFINE_STATIC'<BR>chan_capi.c:64: warning: parameter
names (without types) in function declaration<BR>chan_capi.c:64: warning: data
definition has no type or storage class<BR>chan_capi.c:65: warning: type
defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC'<BR>chan_capi.c:65:
warning: parameter names (without types) in function
declaration<BR>chan_capi.c:65: warning: data definition has no type or storage
class<BR>chan_capi.c:66: warning: type defaults to `int' in declaration of
`AST_MUTEX_DEFINE_STATIC'<BR>chan_capi.c:66: warning: parameter names (without
types) in function declaration<BR>chan_capi.c:66: warning: data definition has
no type or storage class<BR>chan_capi.c:67: warning: type defaults to `int' in
declaration of `AST_MUTEX_DEFINE_STATIC'<BR>chan_capi.c:67: warning: parameter
names (without types) in function declaration<BR>chan_capi.c:67: warning: data
definition has no type or storage class<BR>chan_capi.c:68: warning: type
defaults to `int' in declaration of `AST_MUTEX_DEFINE_STATIC'<BR>chan_capi.c:68:
warning: parameter names (without types) in function
declaration<BR>chan_capi.c:68: warning: data definition has no type or storage
class<BR>chan_capi.c: In function `_capi_put_cmsg':<BR>chan_capi.c:106: error:
`capi_put_lock' undeclared (first use in this function)<BR>chan_capi.c:106:
error: (Each undeclared identifier is reported only once<BR>chan_capi.c:106:
error: for each function it appears in.)<BR>chan_capi.c: In function
`capi_echo_canceller':<BR>chan_capi.c:181: error: `contrlock' undeclared (first
use in this function)<BR>chan_capi.c: In function
`capi_detect_dtmf':<BR>chan_capi.c:231: error: `contrlock' undeclared (first use
in this function)<BR>chan_capi.c: In function
`capi_send_digit':<BR>chan_capi.c:309: error: `contrlock' undeclared (first use
in this function)<BR>chan_capi.c: In function `remove_pipe':<BR>chan_capi.c:481:
error: `pipelock' undeclared (first use in this function)<BR>chan_capi.c: In
function `capi_hangup':<BR>chan_capi.c:613: error: `usecnt_lock' undeclared
(first use in this function)<BR>chan_capi.c: In function
`capi_call':<BR>chan_capi.c:685: error: `pipelock' undeclared (first use in this
function)<BR>chan_capi.c: In function `capi_read':<BR>chan_capi.c:826: error:
structure has no member named `delivery'<BR>chan_capi.c:827: error: structure
has no member named `delivery'<BR>chan_capi.c: In function
`capi_write':<BR>chan_capi.c:899: error: `capi_send_buffer_lock' undeclared
(first use in this function)<BR>chan_capi.c: In function
`capi_new':<BR>chan_capi.c:1022: error: structure has no member named
`delivery'<BR>chan_capi.c:1023: error: structure has no member named
`delivery'<BR>chan_capi.c:1078: error: `usecnt_lock' undeclared (first use in
this function)<BR>chan_capi.c: In function `capi_request':<BR>chan_capi.c:1130:
error: `iflock' undeclared (first use in this function)<BR>chan_capi.c:1146:
error: `contrlock' undeclared (first use in this function)<BR>chan_capi.c: In
function `find_pipe':<BR>chan_capi.c:1181: error: `pipelock' undeclared (first
use in this function)<BR>chan_capi.c: In function
`pipe_frame':<BR>chan_capi.c:1214: error: too few arguments to function
`ast_dsp_process'<BR>chan_capi.c: In function `pipe_msg':<BR>chan_capi.c:1347:
error: `contrlock' undeclared (first use in this function)<BR>chan_capi.c:1499:
error: structure has no member named `delivery'<BR>chan_capi.c:1500: error:
structure has no member named `delivery'<BR>chan_capi.c: In function
`capi_handle_msg':<BR>chan_capi.c:1974: error: `iflock' undeclared (first use in
this function)<BR>chan_capi.c:2064: error: `pipelock' undeclared (first use in
this function)<BR>chan_capi.c: In function
`restart_monitor':<BR>chan_capi.c:2267: error: `monlock' undeclared (first use
in this function)<BR>chan_capi.c:2278: warning: implicit declaration of function
`ast_pthread_create'<BR>chan_capi.c: In function
`capi_info':<BR>chan_capi.c:2527: error: `contrlock' undeclared (first use in
this function)<BR>chan_capi.c: In function `load_module':<BR>chan_capi.c:2607:
error: `iflock' undeclared (first use in this function)<BR>chan_capi.c: In
function `usecount':<BR>chan_capi.c:2820: error: `usecnt_lock' undeclared (first
use in this function)<BR>make: *** [chan_capi.o] Error
1<BR>deskpro:/usr/src/asterisk/chan_capi-0.3.5 #</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=369503519-16082004><FONT face=Arial size=2>Best
Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=369503519-16082004><FONT face=Arial
size=2>Markus</FONT></SPAN></DIV></FONT></DIV></BODY></HTML>