# find / -name capi20.h -print /usr/src/linux-2.4.21-144/include/config/isdn/capi/capi20.h /usr/src/linux-2.4.21-231-include/smp/include/config/isdn/capi/capi20.h /usr/src/linux-2.4.21-231-include/psmp/include/config/isdn/capi/capi20.h /usr/src/linux-2.4.21-231-include/default/include/config/isdn/capi/capi20.h /usr/src/linux-2.4.21-231-include/debug/include/config/isdn/capi/capi20.h /usr/src/linux-2.4.21-231-include/smp4G/include/config/isdn/capi/capi20.h /usr/src/linux-2.4.21-231-include/athlon/include/config/isdn/capi/capi20.h
How do I tell the script to look in one of these locations, or is there another step that I missed?
Below follows the beginning of the log. It goes on for several hundred lines with lots of errors.
asterix:/usr/src/chan_capi-0.3.4a # make install
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
In file included from /usr/include/linux/kernelcapi.h:13,
from /usr/include/linux/capi.h:18,
from chan_capi.c:34:
/usr/include/linux/list.h:563:2: warning: #warning "don't include kernel headers in userspace"
chan_capi.c:35:20: capi20.h: No such file or directory
In file included from chan_capi.c:38:
chan_capi_pvt.h:92: error: parse error before "_cword"
chan_capi_pvt.h:92: warning: no semicolon at end of struct or union
chan_capi_pvt.h:189: error: parse error before '}' token
chan_capi.c:41: error: parse error before "ast_capi_MessageNumber"
chan_capi.c:41: warning: type defaults to `int' in declaration of `ast_capi_MessageNumber'
chan_capi.c:41: warning: data definition has no type or storage class
chan_capi.c:103: error: parse error before "_capi_put_cmsg"
chan_capi.c:103: error: parse error before '*' token
chan_capi.c:103: warning: return type defaults to `int'
chan_capi.c: In function `_capi_put_cmsg':
chan_capi.c:104: error: `MESSAGE_EXCHANGE_ERROR' undeclared (first use in this function)
chan_capi.c:104: error: (Each undeclared identifier is reported only once
chan_capi.c:104: error: for each function it appears in.)
chan_capi.c:104: error: parse error before "error"
chan_capi.c:109: error: `error' undeclared (first use in this function)
chan_capi.c:109: warning: implicit declaration of function `capi20_put_cmsg'
chan_capi.c:109: error: `CMSG' undeclared (first use in this function)
-- Thor Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
