Hi, I got the following error on FreeBSD 5.4 when compiling IPF with "make freebsd5" commands.
if [ -f /usr/share/mk/bsd.kmod.mk -a "`uname -s`" = "NetBSD" ] ; then rm -f Makefile.kmod; ln -s /usr/share/mk/bsd.kmod.mk Makefile.kmod; fi if [ -f Makefile.kmod ] ; then make -f Makefile.kmod depend MKUPDATE=no; fi gcc -Wall -Wuninitialized -Wstrict-prototypes -O -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Werror -I. -g -I../.. -D_BSD_SOURCE -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -Di386 -D__i386__ -DINET -DKERNEL -D_KERNEL -I/usr/include -I/sys -I/sys/sys -I/sys/arch -DDEVFS -fno-builtin -DKLD_MODULE -c ip_fil.c -o ip_fil.o ip_fil.c: In function `iplioctl': ip_fil.c:485: error: structure has no member named `t_proc' ip_fil.c: In function `ipf_inject': ip_fil.c:1609: error: 'm' redeclared as different kind of symbol ip_fil.c:1606: error: previous definition of 'm' was here ip_fil.c:1614: error: `ipintrq' undeclared (first use in this function) ip_fil.c:1614: error: (Each undeclared identifier is reported only once ip_fil.c:1614: error: for each function it appears in.) ip_fil.c:1617: warning: implicit declaration of function `netisr_dispatch' ip_fil.c:1617: error: `NETISR_IP' undeclared (first use in this function) *** Error code 1 Stop in /root/ip_fil4.1.14/BSD/FreeBSD-5.4-RELEASE-p13-i386. *** Error code 1 N. Ersen SISECI EnderUNIX SDT @ Turkey http://www.enderunix.org
