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

Reply via email to