[Asterisk-Users] Problems compiling chan_capi-0.3.5
Markus Engelbrecht
asterisk at me3.de
Mon Aug 16 13:13:34 MST 2004
Hello,
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.
I'm running SuSE 9.0 and I think the problem is caused by an update that was
automatically installed.
Any ideas?
By the way, I tried as well an older version that I compiled successfully
before but it now
Here the log of the make command:
deskpro:/usr/src/asterisk/chan_capi-0.3.5 # make
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
chan_capi.c:23:31: asterisk/features.h: No such file or directory
In file included from chan_capi.c:24:
/usr/include/asterisk/utils.h:22: error: redefinition of `struct
ast_hostent'
In file included from /usr/include/linux/kernelcapi.h:13,
from /usr/include/linux/capi.h:18,
from chan_capi.c:35:
/usr/include/linux/list.h:563:2: warning: #warning "don't include kernel
headers in userspace"
chan_capi.c:62: warning: type defaults to `int' in declaration of
`AST_MUTEX_DEFINE_STATIC'
chan_capi.c:62: warning: parameter names (without types) in function
declaration
chan_capi.c:62: warning: data definition has no type or storage class
chan_capi.c:63: warning: type defaults to `int' in declaration of
`AST_MUTEX_DEFINE_STATIC'
chan_capi.c:63: warning: parameter names (without types) in function
declaration
chan_capi.c:63: warning: data definition has no type or storage class
chan_capi.c:64: warning: type defaults to `int' in declaration of
`AST_MUTEX_DEFINE_STATIC'
chan_capi.c:64: warning: parameter names (without types) in function
declaration
chan_capi.c:64: warning: data definition has no type or storage class
chan_capi.c:65: warning: type defaults to `int' in declaration of
`AST_MUTEX_DEFINE_STATIC'
chan_capi.c:65: warning: parameter names (without types) in function
declaration
chan_capi.c:65: warning: data definition has no type or storage class
chan_capi.c:66: warning: type defaults to `int' in declaration of
`AST_MUTEX_DEFINE_STATIC'
chan_capi.c:66: warning: parameter names (without types) in function
declaration
chan_capi.c:66: warning: data definition has no type or storage class
chan_capi.c:67: warning: type defaults to `int' in declaration of
`AST_MUTEX_DEFINE_STATIC'
chan_capi.c:67: warning: parameter names (without types) in function
declaration
chan_capi.c:67: warning: data definition has no type or storage class
chan_capi.c:68: warning: type defaults to `int' in declaration of
`AST_MUTEX_DEFINE_STATIC'
chan_capi.c:68: warning: parameter names (without types) in function
declaration
chan_capi.c:68: warning: data definition has no type or storage class
chan_capi.c: In function `_capi_put_cmsg':
chan_capi.c:106: error: `capi_put_lock' undeclared (first use in this
function)
chan_capi.c:106: error: (Each undeclared identifier is reported only once
chan_capi.c:106: error: for each function it appears in.)
chan_capi.c: In function `capi_echo_canceller':
chan_capi.c:181: error: `contrlock' undeclared (first use in this function)
chan_capi.c: In function `capi_detect_dtmf':
chan_capi.c:231: error: `contrlock' undeclared (first use in this function)
chan_capi.c: In function `capi_send_digit':
chan_capi.c:309: error: `contrlock' undeclared (first use in this function)
chan_capi.c: In function `remove_pipe':
chan_capi.c:481: error: `pipelock' undeclared (first use in this function)
chan_capi.c: In function `capi_hangup':
chan_capi.c:613: error: `usecnt_lock' undeclared (first use in this
function)
chan_capi.c: In function `capi_call':
chan_capi.c:685: error: `pipelock' undeclared (first use in this function)
chan_capi.c: In function `capi_read':
chan_capi.c:826: error: structure has no member named `delivery'
chan_capi.c:827: error: structure has no member named `delivery'
chan_capi.c: In function `capi_write':
chan_capi.c:899: error: `capi_send_buffer_lock' undeclared (first use in
this function)
chan_capi.c: In function `capi_new':
chan_capi.c:1022: error: structure has no member named `delivery'
chan_capi.c:1023: error: structure has no member named `delivery'
chan_capi.c:1078: error: `usecnt_lock' undeclared (first use in this
function)
chan_capi.c: In function `capi_request':
chan_capi.c:1130: error: `iflock' undeclared (first use in this function)
chan_capi.c:1146: error: `contrlock' undeclared (first use in this function)
chan_capi.c: In function `find_pipe':
chan_capi.c:1181: error: `pipelock' undeclared (first use in this function)
chan_capi.c: In function `pipe_frame':
chan_capi.c:1214: error: too few arguments to function `ast_dsp_process'
chan_capi.c: In function `pipe_msg':
chan_capi.c:1347: error: `contrlock' undeclared (first use in this function)
chan_capi.c:1499: error: structure has no member named `delivery'
chan_capi.c:1500: error: structure has no member named `delivery'
chan_capi.c: In function `capi_handle_msg':
chan_capi.c:1974: error: `iflock' undeclared (first use in this function)
chan_capi.c:2064: error: `pipelock' undeclared (first use in this function)
chan_capi.c: In function `restart_monitor':
chan_capi.c:2267: error: `monlock' undeclared (first use in this function)
chan_capi.c:2278: warning: implicit declaration of function
`ast_pthread_create'
chan_capi.c: In function `capi_info':
chan_capi.c:2527: error: `contrlock' undeclared (first use in this function)
chan_capi.c: In function `load_module':
chan_capi.c:2607: error: `iflock' undeclared (first use in this function)
chan_capi.c: In function `usecount':
chan_capi.c:2820: error: `usecnt_lock' undeclared (first use in this
function)
make: *** [chan_capi.o] Error 1
deskpro:/usr/src/asterisk/chan_capi-0.3.5 #
Best Regards,
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040816/bff6e6d4/attachment.htm
More information about the asterisk-users
mailing list