Hi All, I have problem with compiling ipf 5-1.0RC1 on Solaris 10 update 9 with all latest patches. Kernel:
Kernel version: SunOS 5.10 Generic_142900-02 ipf-4.1.33 compiles just fine on it. However, with ipf version 4, in Solaris zone with exclusive ip-type, ip_filter *provides* hook into the global ip stack :( You can list all global ipf rules and run statetop to peek at what is going on in global zone from a local zone. That's said I need the zone friendly version 5. But I got this errors on compilation: In file included from ../../ip_fil_solaris.c:47: ./../netinet/ip_fil.h:1627: error: expected specifier-qualifier-list before 'net_data_t' ./../ip_fil_solaris.c: In function 'ipfattach': ./../ip_fil_solaris.c:207: warning: passing argument 1 of 'timeout' from incompatible pointer type ./../ip_fil_solaris.c: In function 'get_unit': ./../ip_fil_solaris.c:302: error: 'net_data_t' undeclared (first use in this function) ./../ip_fil_solaris.c:302: error: (Each undeclared identifier is reported only once ./../ip_fil_solaris.c:302: error: for each function it appears in.) ./../ip_fil_solaris.c:302: error: expected ';' before 'proto' ./../ip_fil_solaris.c:305: error: 'proto' undeclared (first use in this function) ./../ip_fil_solaris.c:305: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v4' ./../ip_fil_solaris.c:307: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v6' ./../ip_fil_solaris.c: In function 'ipf_send_icmp_err': ./../ip_fil_solaris.c:550: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v4' ./../ip_fil_solaris.c:551: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v4' ./../ip_fil_solaris.c: In function 'ipf_ifpaddr': ./../ip_fil_solaris.c:728: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v4' ./../ip_fil_solaris.c:732: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v6' ./../ip_fil_solaris.c: In function 'ipf_newisn': ./../ip_fil_solaris.c:767: error: 'ipf_main_softc_t' has no member named 'ipf_iss_secret' ./../ip_fil_solaris.c:767: error: 'ipf_main_softc_t' has no member named 'ipf_iss_secret' ./../ip_fil_solaris.c: At top level: ./../ip_fil_solaris.c:902: error: conflicting types for 'ipf_slowtimer' ./../netinet/ip_frag.h:96: error: previous declaration of 'ipf_slowtimer' was here ./../ip_fil_solaris.c: In function 'ipf_inject': ./../ip_fil_solaris.c:1232: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v4' ./../ip_fil_solaris.c:1234: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v4' ./../ip_fil_solaris.c:1241: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v6' ./../ip_fil_solaris.c:1242: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v6' ./../ip_fil_solaris.c: In function 'ipf_sendpkt': ./../ip_fil_solaris.c:1271: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v4' ./../ip_fil_solaris.c:1277: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v6' ./../ip_fil_solaris.c: In function 'ipf_routeto': ./../ip_fil_solaris.c:1393: error: 'net_data_t' undeclared (first use in this function) ./../ip_fil_solaris.c:1393: error: expected ';' before 'proto' ./../ip_fil_solaris.c:1403: error: 'proto' undeclared (first use in this function) ./../ip_fil_solaris.c:1403: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v4' ./../ip_fil_solaris.c:1410: error: 'ipf_main_softc_t' has no member named 'ipf_nd_v6' ./../ip_fil_solaris.c:1415: error: too few arguments to function 'net_routeto' *** Error code 1 make: Fatal error: Command failed for target `sparcv7/ip_fil.o' Current working directory /tmp/x/ip_fil5.1.0_RC1/SunOS5/sparc-5.10 *** Error code 1 make: Fatal error: Command failed for target `sunos5' Current working directory /tmp/x/ip_fil5.1.0_RC1 *** Error code 1 make: Fatal error: Command failed for target `solaris' Help please L:) Yours, -- Sum > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > But if you want to live "on the edge", grab the latest SXCE (Solaris > Express Community Edition) DVD. > > Blaster wrote: > | > | No one else has any tried to compile on OS 2009.06 or was everyone > else successful? > | > | > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkr/C6EACgkQP7JIXtvLbFV7MQCeNNlp3EnnnacN0imuYk5kuYqL > VZQAniHIfeVrfMLglKNOXKTXMV49WTa8 > =wppr > -----END PGP SIGNATURE----- >
