Subject: Problem recompiling ipf from userland
To: None <tech-install@netbsd.org>
From: Alex Haug <hauguela@gmail.com>
List: tech-install
Date: 09/23/2005 03:08:07
hello,

I run netbsd 2.0.2

I _tried_ to did some upgrade of ipf from darren's .tgz but it did not
worked correctly. So I decided to downgrade what i've done by
recompiling ipf from userland and I got this message during
compilation :

#   compile  ipftest/ip_fil.o
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wno-uninitialized   =20
-DIPFILTER_LOG -DIPFILTER_LOOKUP  -DIPFILTER_SCAN -DIPFILTER_SYNC
-DIPFILTER_CKSUM -D_RADIX_H_  -I. -I/usr/src/dist/ipf
-I/usr/src/dist/ipf/tools -I/usr/src/sys -I/usr/src/sys/netinet
-DSTATETOP -D__UIO_EXPOSE    -c    /usr/src/sys/netinet/ip_fil.c
/usr/src/sys/netinet/ip_fil.c: In function `iplioctl':
/usr/src/sys/netinet/ip_fil.c:407: error: too many arguments to
function `frsync'
/usr/src/sys/netinet/ip_fil.c: In function `frsync':
/usr/src/sys/netinet/ip_fil.c:758: error: number of arguments doesn't
match prototype
/usr/src/sys/netinet/ip_fil.h:1254: error: prototype declaration
*** Error code 1

Stop.
make: stopped in /usr/src/usr.sbin/ipf/ipftest
*** Error code 1

Stop.
make: stopped in /usr/src/usr.sbin/ipf/ipftest
*** Error code 1

Stop.
make: stopped in /usr/src/usr.sbin/ipf

Does anyone has some ideas why ipf doesnt want to compile?

thanks
Alex.