Re: IPFilter 5.1.1 make failed on solaris 10
Darren Reed <[email protected]> Thu, 09 Feb 2012 23:42:00 +0100
| Newsgroups | gmane.comp.security.firewalls.ipfilter |
|---|---|
| Message-ID | <5911_1328823820_4F343E0C_5911_7431_1_4F344BB8.3080600@reed.wattle.id.au> |
Sergio Rabellino wrote: > First of all, welcome back Darren. > Now i was trying to compile ipfilter 5.1.1 on my solaris box, but the > "/usr/ccs/bin/make solaris" failed with the following message: > >> (cd SunOS5/i386-5.10; /usr/ccs/bin/make -f Makefile.ipsend build >> TOP=../.. "CC=gcc" 'CFLAGS=-I$(TOP) -D_BSD_SOURCE -DSOLARIS2=10 >> -DUSE_INET6' "IPFLOG=-DIPFILTER_LOG" "LOGFAC=-DLOGFAC=LOG_LOCAL0" >> "POLICY=-DIPF_DEFAULT_PASS=FR_PASS" "SOLARIS2=-DSOLARIS2=10" >> "DEBUG=-g" "DCPU=" "LIBBPF=" "CPUDIR=i386-5.10" "IPFBPF=" >> 'STATETOP_CFLAGS=' "BPFILTER=" 'STATETOP_INC=' 'STATETOP_LIB=' >> "BITS=32" "OBJ=i86" "LOOKUP=" "COMPIPF=" "COMPATIPF=" 'SYNC=' >> 'ALLOPTS=-DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SYNC >> -DIPFILTER_CKSUM' 'LIBBPF=' "IPFLKM=-DIPFILTER_LKM"; cd ..) >> gcc -g -I../.. -D_BSD_SOURCE -DSOLARIS2=10 -DUSE_INET6 -c >> ../../ipsend/ipsend.c -o i86/ipsend.o >> In file included from ../../ipsend/ipsend.c:26: >> ../../ipsend/ipsend.h:30:19: tcpip.h: No such file or directory >> *** Error code 1 >> make: Fatal error: Command failed for target `i86/ipsend.o' > Simply changing the ipsend.h line 30 to > > #include "netinet/tcpip.h" > > the compile job finish without warning or errors: is this the correct > way ? Yes. It looks like something that I forgot. Darren