I can build IPF 4.1.8 just fine, but when I try to build IPF 4.1.9 on Solaris
2.6, I get the following error...

w/ Sun Workshop 5.0..

(cd SunOS5/sparc-5.6; make build TOP=../.. "CC=cc -Xa -xildoff" 
'CFLAGS=-I$(TOP) -D_BSD_SOURCE  -DSOLARIS2=6  '  "IPFLOG=-DIPFILTER_LOG"
"LOGFAC=-DLOGFAC=LOG_LOCAL0" "POLICY=-DIPF_DEFAULT_PASS=FR_PASS" 
"SOLARIS2=-DSOLARIS2=6" "DEBUG=-g" "DCPU="  "LIBBPF=" "CPUDIR=sparc-5.6"
"IPFBPF="  'STATETOP_CFLAGS=' "BPFILTER="  'STATETOP_INC=' 'STATETOP_LIB=' 
"BITS=32" "OBJ=." "LOOKUP=-DIPFILTER_LOOKUP -DIPFILTER_SCAN" "COMPIPF=" 
'SYNC=' 'ALLOPTS=-DIPFILTER_LOG -DIPFILTER_LOOKUP  -DIPFILTER_SCAN
-DIPFILTER_SYNC -DIPFILTER_CKSUM' 'LIBBPF=' "IPFLKM=-DIPFILTER_LKM"
"SOLARIS2=-DSOLARIS2=6" "CPU=-Dsparc -D__sparc__"; cd ..)
cc -Xa -xildoff -I. -g -I../.. -D_BSD_SOURCE  -DSOLARIS2=6 -DIPFILTER_LOG
-DIPFILTER_LOOKUP  -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c
../../ip_nat.c -o ip_nat_u.o
"../../ip_nat.c", line 4329: syntax error before or at: int
"../../ip_nat.c", line 4333: undefined symbol: i
cc: acomp failed for ../../ip_nat.c
*** Error code 2
make: Fatal error: Command failed for target `ip_nat_u.o'
Current working directory /usr/local/src/ip_fil4.1.9/SunOS5/sparc-5.6
*** Error code 1
make: Fatal error: Command failed for target `sunos5'
Current working directory /usr/local/src/ip_fil4.1.9
*** Error code 1
make: Fatal error: Command failed for target `solaris'

w/ gcc 2.95.3..

gcc -I. -g -I../.. -D_BSD_SOURCE  -DSOLARIS2=6 -DIPFILTER_LOG -DIPFILTER_LOOKUP 
-DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_nat.c -o ip_nat_u.o
../../ip_nat.c: In function `fr_natexpire':
../../ip_nat.c:4329: parse error before `int'
../../ip_nat.c:4333: `i' undeclared (first use in this function)
../../ip_nat.c:4333: (Each undeclared identifier is reported only once
../../ip_nat.c:4333: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `ip_nat_u.o'
Current working directory /usr/local/src/ip_fil4.1.9/SunOS5/sparc-5.6
*** Error code 1
make: Fatal error: Command failed for target `sunos5'
Current working directory /usr/local/src/ip_fil4.1.9
*** Error code 1
make: Fatal error: Command failed for target `solaris'


Any suggestions?
Liam

Reply via email to