Hi all,

On Solaris 9 x86 with the latest recommended patches I am getting errors
compiling both pfil 2.1.5 and ipfilter 4.1.5.  They are similar.


I have tried it with gcc 3.3.2 and 3.4.1....both with the same results...I
must be missing something, but I don't know what it is....has anyone seen
this before?

# export CC=gcc
# make
i=`uname -s`; case $i in HP-UX) make hpux;; *) make $i;; esac make
SunOS`optisa sparcv9 >/dev/null 2>&1; if [ $? -eq 0 ] ; then echo "64"; els
e echo "32"; fi` (cd SunOS; make pfil "BITS=32" OS=solaris DO=pfil
"ADEF=-I.. -I. -D_KERNEL -DSUN DDI -DSOLARIS2="`uname -r | sed -e
's/[0-9]*\.\([0-9]*\).*/\1/'`" -DPFILDEBUG")
gcc   -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=9 -DPFILDEBUG -c ../pfil.c -o
pfil.
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/semaphore.h:18,
                 from /usr/include/sys/t_lock.h:22,
                 from /usr/include/sys/systm.h:18,
                 from ../pfil.c:17:
/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:331: error: parse error before "upad128_t"
/usr/include/ia32/sys/reg.h:338: error: parse error before '}' token
/usr/include/ia32/sys/reg.h:339: error: parse error before '}' token
/usr/include/ia32/sys/reg.h:376: error: parse error before "fpregset_t" In
file included from /usr/include/sys/klwp.h:19,
                 from /usr/include/sys/thread.h:13,
                 from /usr/include/sys/semaphore.h:18,
                 from /usr/include/sys/t_lock.h:22,
                 from /usr/include/sys/systm.h:18,
                 from ../pfil.c:17:
/usr/include/sys/ucontext.h:69: error: parse error before "mcontext_t"
/usr/include/sys/ucontext.h:71: error: parse error before '}' token In file
included from /usr/include/sys/promif.h:17,
                 from /usr/include/inet/ip.h:1902,
                 from ../pfil.c:50:
/usr/include/sys/archsystm.h:64: error: parse error before "fpregset_t"
/usr/include/sys/archsystm.h:65: error: parse error before "fpregset_t"
*** Error code 1
make: Fatal error: Command failed for target `pfil.o'
Current working directory /opt/downloads/pfil/SunOS
*** Error code 1
make: Fatal error: Command failed for target `SunOS32'
Current working directory /opt/downloads/pfil
*** Error code 1 (ignored)
#

Reply via email to