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 ?

If you need, this is /etc/release:
 Solaris 10 10/08 s10x_u6wos_07b X86
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 27 October 2008

Hope this helps.
--
ing. Sergio Rabellino

Università degli Studi di Torino
Dipartimento di Informatica
ICT Services Director
Tel +39-0116706701  Fax +39-011751603
C.so Svizzera , 185 - 10149 - Torino

Reply via email to