[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipfilter
Subject:    Re: IPFilter 5.1.1 make failed on solaris 10
From:       Darren Reed <darrenr () reed ! wattle ! id ! au>
Date:       2012-02-09 21:51:21
Message-ID: 5911_1328824263_4F343FC6_5911_7559_1_4F344BB8.3080600 () reed ! wattle ! id ! au
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic