linux-avmb1:compile error in capifax

Steffen Barszus st_barszus at gmx.de
Fri Jun 18 23:15:02 CEST 2004


Hi !

I'm trying to build capi4kutils' capifax. I get the following error while 
compiling:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I../capi20     -O2 -fomit-frame-pointer -pipe 
-march=i586 -mcpu=pentiumpro  -DISDN_MAX_DRIVERS=32 -DISDN_MAX_CHANNELS=64 
-fPIC -DPPPVER=2040102 -I. -I/home/steffen/rpm/BUILD/isdn4k-utils/capi20 
-Ipppd -L/home/steffen/rpm/BUILD/isdn4k-utils/capi20 -I./include -c capi.c
In file included from /usr/include/linux/kernelcapi.h:13,
                 from /usr/include/linux/capi.h:18,
                 from capi.c:26:
/usr/include/linux/list.h:591:2: warning: #warning "don't include kernel 
headers in userspace"
capi.c: In function `Handle_Indication':
capi.c:82: error: too few arguments to function `ALERT_REQ'
make[1]: *** [capi.o] Fehler 1
make[1]: Leaving directory `/home/steffen/rpm/BUILD/isdn4k-utils/capifax'

Any hints whats wrong ? An advice how to fix that whould be nice :)

Steffen



More information about the linux-avmb1 mailing list