Hello,
A follow-up to the post regarding compile problems with FreeBSD 5.4.
(http://marc.theaimsgroup.com/?l=ipfilter&m=116013471219832&w=2)

I've compiled using gcc 3.4.2, 3.3.2, 3.2.3, 3.1.
Each compile produces the same error:

gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=8 -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../fil.c -o sparcv7/fil_u.o
../../fil.c: In function `fr_ipf_ioctl':
../../fil.c:7035: `FIONREAD' undeclared (first use in this function)
../../fil.c:7035: (Each undeclared identifier is reported only once
../../fil.c:7035: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `sparcv7/fil_u.o'
Current working directory /opt/pkg/ip_fil4.1.14/SunOS5/sparc-5.8
*** Error code 1
make: Fatal error: Command failed for target `sunos5'
Current working directory /opt/pkg/ip_fil4.1.14
*** Error code 1
make: Fatal error: Command failed for target `solaris'


which seems to be around the same place where the FreeBSD compile chokes:
> -fno-builtin -DKLD_MODULE -c ip_fil.c -o ip_fil.o


My box is ultra10, Solaris 8.
A build of ipfilter 4.1.13 (using gcc 3.4.2) is fine on this machine.

Thank you,
-Elena

Reply via email to