On Sat, Mar 27, 2004 at 01:19:53AM +1100, Darren Reed wrote: > > Then <termios.h> was not included. I tried to put it in in a few > > places but got lost. I didn't find the right way to do it. > > Why is this needed ?
cc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -Wno-trigraphs -fno-stric t-aliasing -fno-common -D_BSD_SOURCE=1 -DIPFILTER_LKM -D`uname -i` -D__`uname -i `__ -DINET -D__KERNEL__ -DCONFIG_NETFILTER -DMODULE -march=`uname -m` -nostdinc -I.. -I/usr/src/linux/include/ -I/usr/src/linux-2.4.21-199-include/default/incl ude -iwithprefix include -I. -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_LOG -c ../ip_fil_linux.c -o Linux-2.4.21-199-default-i686/ip_fil.o ../ip_fil_linux.c: In function `ipf_ioctl': ../ip_fil_linux.c:93: error: `FIONREAD' undeclared (first use in this function) ../ip_fil_linux.c:93: error: (Each undeclared identifier is reported only once ../ip_fil_linux.c:93: error: for each function it appears in.) make[1]: *** [Linux-2.4.21-199-default-i686/ip_fil.o] Error 1 make[1]: Leaving directory `/opt/local/src/ip_fil4.1.1/Linux' There might also be other places where FIONREAD is defined??? H�kan
pgp00000.pgp
Description: PGP signature
