Re: Build failure on Sol 10 - "ip_ire.h" issue

Darren Reed <[email protected]>
Newsgroups gmane.comp.security.firewalls.ipfilter
Message-ID <31247_1232244675_49728FC2_31247_16835_1_49728F19.9040106@reed.wattle.id.au>
J.D. Bronson wrote:
> Trying 4.1.31 on Solaris 10 10/08 x86 using GCC native to this release
> of solaris... build command was simply 'make solaris'.
>
> It seems this file:
> "/usr/include/inet/ip_ire.h"  has been causing issues.
>
> #pragma ident   "@(#)ip_ire.h   1.62    08/12/10 SMI"
>
> It was updated recently during a patch upgrade.
>
> Here is where it fails:
>
> gcc -I. -g -I../.. -D_BSD_SOURCE  -DSOLARIS2=10   \
>         -c ../../tools/ipfstat.c -o ipfstat.o
> gcc -I. -g -I../.. -D_BSD_SOURCE  -DSOLARIS2=10 ./ipfstat.o -o ipfstat
> -lsocket -lnsl -lelf -L. -lipf   -lkvm
> gcc -I. -g -I../.. -D_BSD_SOURCE  -DSOLARIS2=10 -c
> ./../tools/ipftest.c -o ipftest.o
> gcc -I. -g -I../.. -D_BSD_SOURCE  -DSOLARIS2=10 -DIPFILTER_LOG
> -DIPFILTER_LOOKUP  -DIPFILTER_SCAN -DIPFILTER_SYNC -DIPFILTER_CKSUM -c
> ../../ip_fil.c -o ip_fil_u.o
> In file included from ../../netinet/ip_compat.h:181,
>                  from ../../ip_fil.c:115:
> /usr/include/inet/ip_ire.h:186: error: syntax error before '*' token
> /usr/include/inet/ip_ire.h:190: error: syntax error before '}' token

What's on those lines?

Darren
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.