installing ipfilter 4.1.20

i would like to install the latest version of ipfilter (4.1.20) for my solaris x86 is there any good tutorial for this?i tried to install the ipfilter and pfil but somehow i always stuck with this error

kimak# pwd

/export/home/lost+found/pfil

kimak# make package

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"; else echo "32"; fi`

(cd SunOS; make pfil "BITS=32" OS=solaris DO=pfil "ADEF=-I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2="`uname -r | sed -e 's/[0-9]*\.\([0-9]*\).*/\1/'`" -DPFILDEBUG")

cc-I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=10 -DPFILDEBUG -c pkt.c -o pkt.o

"pkt.c", line 68: warning: improper pointer/integer combination: arg #8

"pkt.c", line 68: prototype mismatch: 8 args passed, 9 expected

cc: acomp failed for pkt.c

*** Error code 2

make: Fatal error: Command failed for target `pkt.o'

Current working directory /export/home/lost+found/pfil/SunOS

*** Error code 1

make: Fatal error: Command failed for target `SunOS32'

Current working directory /export/home/lost+found/pfil

*** Error code 1 (ignored)

(cd `uname -s`; make package-`uname -s`)

cc-c pkt.c -o pkt.o

"/usr/include/inet/ip_ire.h", line 146: warning: no explicit type given

"/usr/include/inet/ip_ire.h", line 146: syntax error before or at: *

"/usr/include/inet/ip_ire.h", line 146: warning: old-style declaration or incorrect type for: ip_forwarding_table_v6

"/usr/include/inet/ip_ire.h", line 147: warning: no explicit type given

"/usr/include/inet/ip_ire.h", line 147: syntax error before or at: *

"/usr/include/inet/ip_ire.h", line 147: warning: old-style declaration or incorrect type for: ip_cache_table_v6

"/usr/include/inet/ip_ire.h", line 148: warning: no explicit type given

"/usr/include/inet/ip_ire.h", line 148: syntax error before or at: *

"/usr/include/inet/ip_ire.h", line 148: warning: old-style declaration or incorrect type for: ip_mrtun_table

"/usr/include/inet/ip_ire.h", line 149: warning: no explicit type given

"/usr/include/inet/ip_ire.h", line 149: syntax error before or at: *

"/usr/include/inet/ip_ire.h", line 149: warning: old-style declaration or incorrect type for: ip_srcif_table

"pkt.c", line 38: cannot find include file: "compat.h"

"pkt.c", line 39: cannot find include file: "qif.h"

"pkt.c", line 58: undefined symbol: ire_t

"pkt.c", line 58: undefined symbol: dir

"pkt.c", line 60: undefined symbol: ill_t

"pkt.c", line 60: undefined symbol: il

"pkt.c", line 65: warning: implicit function declaration: ire_route_lookup

"pkt.c", line 77: undefined struct/union member: ire_ll_hdr_mp

"pkt.c", line 77: left operand of "->" must be pointer to struct/union

"pkt.c", line 77: undefined struct/union member: ire_ll_hdr_length

"pkt.c", line 77: left operand of "->" must be pointer to struct/union

"pkt.c", line 85: warning: implicit function declaration: ire_to_ill

"pkt.c", line 89: undefined struct/union member: ire_ll_hdr_mp

"pkt.c", line 89: left operand of "->" must be pointer to struct/union

"pkt.c", line 89: warning: improper pointer/integer combination: op "="

"pkt.c", line 90: undefined struct/union member: ire_ll_hdr_length

"pkt.c", line 90: left operand of "->" must be pointer to struct/union

"pkt.c", line 105: warning: implicit function declaration: bcopy

"pkt.c", line 107: warning: implicit function declaration: copyb

"pkt.c", line 107: warning: improper pointer/integer combination: op "="

"pkt.c", line 114: undefined struct/union member: ire_stq

"pkt.c", line 114: left operand of "->" must be pointer to struct/union

"pkt.c", line 115: left operand of "->" must be pointer to struct/union

"pkt.c", line 115: warning: improper pointer/integer combination: op "="

"pkt.c", line 116: undefined struct/union member: ire_rfq

"pkt.c", line 116: left operand of "->" must be pointer to struct/union

"pkt.c", line 117: left operand of "->" must be pointer to struct/union

"pkt.c", line 117: warning: improper pointer/integer combination: arg #1

"pkt.c", line 121: warning: implicit function declaration: RW_EXIT

"pkt.c", line 122: warning: implicit function declaration: putnext

"pkt.c", line 123: warning: implicit function declaration: READ_ENTER

"pkt.c", line 128: warning: implicit function declaration: freemsg

"/usr/include/inet/ip_ire.h", line 146: warning: null dimension: ip_forwarding_table_v6

cc: acomp failed for pkt.c

*** Error code 2

make: Fatal error: Command failed for target `pkt.o'

Current working directory /export/home/lost+found/pfil/SunOS

*** Error code 1

make: Fatal error: Command failed for target `package'

i already installed sun studio 11 but i got have the same problem

[5083 byte] By [skemaa] at [2007-11-27 3:01:33]
# 1
Solaris 10 comes with ipfilter already installed. You probably don't want to monkey around with the version, just use the one thats there.Unless the new version has some feature you really can't live without..
robert.cohena at 2007-7-12 3:43:37 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...