[chan-capi-users] Compiling chan_capi 1.1.1 on Slackware 12.1
Hector Ortiz
imp at harddriving.net
Mon Oct 20 17:40:26 CEST 2008
Hello,
I am having trouble compiling chan_capi on a Slackware 12.1 system. When I
run make I get the following error:
./create_config.sh "/usr/include"
Checking Asterisk version... 1.4.22
* found Asterisk version 1.4
Using Asterisk 1.4 API
* found stringfield in ast_channel
* found 'indicate' with data
* found extended ast_channel_alloc
* found second extended ast_channel_alloc
* found send_digit_end with duration
config.h complete.
gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g -I./libcapi20 -I/usr/include -D_REENTRANT
-D_GNU_SOURCE
-O6 -march=i686 -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c
chan_capi.c -o chan_capi.o
gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g -I./libcapi20 -I/usr/include -D_REENTRANT
-D_GNU_SOURCE
-O6 -march=i686 -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c
chan_capi_utils.c -o chan_capi_utils.o
In file included from chan_capi20.h:28,
from chan_capi_utils.c:21:
/usr/include/linux/capi.h:80: error: expected ':', ',', ';', '}'
or '__attribute__' before '*' token
make: *** [chan_capi_utils.o] Error 1
Compiling chan_capi 1.1.1 on Slackware 11 worked flawlessly. I compared
the /usr/include/linux/capi.h files from both slack 11 and 12.1 and they
looked identical. I have no idea what the problem could be. Any help would
be appreciated.
Hector
More information about the Chan-capi-users
mailing list