hello hans,
you got me a bit farther... still no joy.
<snip>
gcc -I../.. -D_BSD_SOURCE -DSOLARIS2=10 i86/ipnat.o i86/ipnat_y.o
i86/ipnat_l.o
-o i86/ipnat -lsocket -lnsl -lelf -Li86 -lipf -lkvm -ll
gcc -I../.. -DIPFILTER_LKM -I../../../pfil -D_KERNEL -DSUNDDI
-DSOLARIS2=10 -DI
PFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -c
../../ip_fil_solaris.c -o i86
/ip_fil.o
../../ip_fil_solaris.c: In function 'fr_fastroute':
../../ip_fil_solaris.c:1213: error: too many arguments to function
'pfil_sendbuf
'
*** Error code 1
make: Fatal error: Command failed for target `i86/ip_fil.o'
Current working directory
/neo/home1/jds/tools/ipf/ip_fil4.1.13/SunOS5/i386-5.10
*** Error code 1
make: Fatal error: Command failed for target `sunos5'
Current working directory /neo/home1/jds/tools/ipf/ip_fil4.1.13
*** Error code 1
make: Fatal error: Command failed for target `solaris'
thanks for any addn'l insight.
jim
Hans Werner Strube wrote:
Jim Sandoz wrote:
# /usr/ccs/bin/make solaris
<snip>
gcc -I. -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DIPFILTER_LOG
-DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM
-c ../../ip_log.c -o i86/ip_log_u.o
../../ip_log.c:152: error: array type has incomplete element type
*** Error code 1
Seems to be specific for (newer?) gccs. In ip_log.c, replace line 150:
# if SOLARIS
by
# if SOLARIS && defined(_KERNEL)