[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    Solaris 8 and IPF 4.1.14 compile problem
From:       Elena Khan <ekhan () deas ! harvard ! edu>
Date:       2006-10-06 15:16:53
Message-ID: 45267365.7000500 () deas ! harvard ! edu
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic