Folks,
I am trying to build ipfilter 3.4.34 on a Solaris 9 x86
box and am getting an error that I did not see when I built
the same software on my sparcs. I am curious whether anyone
else has seen this error and/or has a fix...?
{root}% /usr/ccs/bin/make solaris
if [ ! -f netinet/done ] ; then \
(cd netinet; ln -s ../*.h .; ln -s ../ip_*_pxy.c .; ); \
(cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); \
touch netinet/done; \
fi
CC="gcc -Wstrict-prototypes -Wmissing-prototypes" ./buildsunos
make ok
(cd SunOS5/i386-5.9; make build TOP=../.. "CC=gcc" "BINDEST=/usr/local/bin"
"SBINDEST=/sbin" "MANDIR=/usr/local/man" 'CFLAGS=-I$(TOP) -DSOLARIS2=9
-DIPFILTER_LOG' "IPFLOG=-DIPFILTER_LOG" "LOGFAC=-DLOGFAC=LOG_LOCAL0"
"POLICY=-DIPF_DEFAULT_PASS=FR_PASS" "SOLARIS2=-DSOLARIS2=9" "DEBUG=-g" "DCPU="
"CPUDIR=i386-5.9" 'STATETOP_CFLAGS=-DSTATETOP' 'STATETOP_INC='
'STATETOP_LIB=-lcurses' "BITS=32" "OBJ=." "IPFLKM=-DIPFILTER_LKM"
"SOLARIS2=-DSOLARIS2=9" "CPU=-Di86pc -Di386 -D__i386__"; cd ..)
gcc -g -I../.. -DSOLARIS2=9 -DIPFILTER_LOG -c ../../ipf.c -o ipf.o
In file included from /usr/include/sys/reg.h:13,
from /usr/include/sys/pcb.h:11,
from /usr/include/sys/klwp.h:16,
from /usr/include/sys/thread.h:13,
from /usr/include/sys/copyops.h:12,
from /usr/include/sys/watchpoint.h:13,
from /usr/include/vm/as.h:37,
from /usr/include/sys/devops.h:16,
from /usr/include/sys/ddi_impldefs.h:15,
from /usr/include/sys/promif.h:16,
from /usr/include/inet/ip.h:1902,
from ../../ip_compat.h:146,
from ../../ipf.c:44:
/usr/include/ia32/sys/reg.h:300: error: parse error before "upad128_t"
/usr/include/ia32/sys/reg.h:302: error: parse error before '}' token
/usr/include/ia32/sys/reg.h:309: error: field `kfpu_fx' has incomplete type
/usr/include/ia32/sys/reg.h:314: confused by earlier errors, bailing out
*** Error code 1
make: Fatal error: Command failed for target `ipf.o'
Current working directory /usr/local/ip_fil3.4.34/SunOS5/i386-5.9
*** Error code 1
make: Fatal error: Command failed for target `sunos5x86'
Current working directory /usr/local/ip_fil3.4.34
*** Error code 1
make: Fatal error: Command failed for target `solaris'
This almost looks to me like an error in one of Sun's include files.
Has anyone else run into this?
JY
------------------------------------------------------------
John E. Young B1148/R202
Analytical Services and Materials