Hi. Im facing problem when compiling ipf on Solaris 9:
gcc -I../.. -DIPFILTER_LKM -I../../../pfil -D_KERNEL -DSUNDDI -DSOLARIS2=9 -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -c ../../ip_fil_solaris.c -o sparcv7/ip_fil.o ../../ip_fil_solaris.c: In function `fr_fastroute': ../../ip_fil_solaris.c:997: warning: assignment makes pointer from integer without a cast ../../ip_fil_solaris.c:1060: warning: passing arg 1 of `pfil_sendbuf' from incompatible pointer type ../../ip_fil_solaris.c:1060: error: too many arguments to function `pfil_sendbuf' ../../ip_fil_solaris.c: In function `ipf_inject': ../../ip_fil_solaris.c:1149: error: `qifpkt_t' undeclared (first use in this function) ../../ip_fil_solaris.c:1149: error: (Each undeclared identifier is reported only once ../../ip_fil_solaris.c:1149: error: for each function it appears in.) ../../ip_fil_solaris.c:1149: error: `qp' undeclared (first use in this function) *** Error code 1 make: Fatal error: Command failed for target `sparcv7/ip_fil.o' Current working directory /data/libs/ipf/ip_fil4.1.15/SunOS5/sparc-5.9 *** Error code 1 make: Fatal error: Command failed for target `sunos5' Current working directory /data/libs/ipf/ip_fil4.1.15 make: *** [solaris] Error 1 I have compiled ipf successfuly some time ago - when there was no make solaris. However now I fail - versions from 4.1.12 to 4.1.17 . What could be the problem?
