Re: Compiling error
Darren Reed <[email protected]> Sun, 08 Nov 2009 14:15:51 -0800
| Newsgroups | gmane.comp.security.firewalls.ipfilter |
|---|---|
| Message-ID | <24716_1257718612_4AF74354_24716_19105_1_4AF74317.70907@reed.wattle.id.au> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Trickel, James - AES wrote: | Hi, Hope someone can help me here. | | Back on May 11,2009, there was an issue with compiling ip filters on 05/09 | release of Solaris 10 with the following error: | | ./../netinet/ip_compat.h:228: error: expected '=', ',', ';', 'asm' or | '__attribute__' before 'ipfipv4' | ./../netinet/ip_compat.h:229: error: expected '=', ',', ';', 'asm' or | '__attribute__' before 'ipfipv6' | | I am have the following setup(s): | *** BOX 1 *** | # uname -a | SunOS cliff 5.10 Generic_138888-08 sun4u sparc SUNW,Sun-Blade-2500 | # cc -V | cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12 | usage: cc [ options] files. Use 'cc -flags' for details | | PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sbin:/usr/bin | ******** | | *** BOX 2 *** | # uname -a | SunOS unknown 5.10 Generic_127128-11 i86pc i386 i86pc | | # cc -V | cc: Sun Ceres C 5.10 SunOS_i386 2009/03/06 | usage: cc [ options] files. Use 'cc -flags' for details | | PATH=/usr/local/SSX0903/bin:/usr/ccs/bin:/usr/bin | ******** | | with the same/similar error for both boxes, shown below: | "../../netinet/ip_compat.h", line 227: warning: no explicit type given | "../../netinet/ip_compat.h", line 227: syntax error before or at: ipfipv4 | "../../netinet/ip_compat.h", line 227: warning: old-style declaration or incorrect type for: ipfipv4 | "../../netinet/ip_compat.h", line 228: warning: no explicit type given | "../../netinet/ip_compat.h", line 228: syntax error before or at: ipfipv6 | "../../netinet/ip_compat.h", line 228: warning: old-style declaration or incorrect type for: ipfipv6 | | 1) I can not find a system header that defines 'net_handle_t' struct. It should be /usr/include/sys/neti.h Are you using Solaris 10 Update 7 or later? | 2) Is 5.0.X a devel release? Yes. With all of the above, I have no idea which version of ipfilter you're trying to compile. Darren -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkr3QxcACgkQP7JIXtvLbFUr5wCgsZkeCcVDoxnjWZsbMeikIapB eiMAoOCzU3zx2dsUgVLMX0ptLSz7lAhi =5kqx -----END PGP SIGNATURE-----