This is a discussion on Re: IPFilter 4.1 within the IPFilter forums, part of the System Security and Security Related category; >From: Darren Reed <darrenr@reed.wattle.id.au> > > > > > In Solaris 7_x86 (don'...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
>From: Darren Reed <darrenr@reed.wattle.id.au>
> > > > > In Solaris 7_x86 (don't know for higher x86 versions), add -D_SYS_PROMIF_H > > > > > to the CFLAGS in the Makefile (line 21). > > > > If you do not want to add it to the CFLAGS in the Makefile by hand, the > > > > simplest way is to add it to SOLARIS2 in buildsunos (because CFLAGS is > > > > deeply wrapped in the MFLAGS). I don't think it will disturb if not required > > > > in other Solaris versions. > > > > > > I'd prefer it if it were just as required. > > > > As I have no access to Solaris x86 other than 7, I cannot help you here. > > If you do not like this, add a comment line to the Makefile following the > > CFLAGS=... line rather than changing buildsunos. The Makefile has to be > > edited anyway for the BPF and STATETOP definitions. > > Is the -D_SYS_PROMIF_H required for a normal compile or just with libpcap ? For a normal compile, cf. my mails from 2003-10-07 (IPFilter 4.0beta3, Solaris) and 2003-08-25 (Re: IPFilter 4.0beta1, Solaris). The purpose is to suppress the (x86 specific, indirect) inclusion of /usr/include/sys/promif.h, which contains conflicting ddi definitions. Alternative workaround: make an empty (ipf top dir)/sys/promif.h . |