IPfilter
[Top] [All Lists]

Re: IPFilter 5.0.0 - feedback?

To: darrenr@reed.wattle.id.au
Subject: Re: IPFilter 5.0.0 - feedback?
From: "Corey Johnston" <coreyj@gmail.com>
Date: Mon, 15 Jan 2007 17:12:43 +1100
Cc: ipfilter@coombs.anu.edu.au
Delivered-to: sp-com-lists@consult.net
Delivered-to: ipfilter-list@securepoint.com
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NcD3vW94ysiOhd7xhnPVL81qhxF74WoY8xBnizLrXnDEj9lieUvEYY4wANkkYZGNbaZz3a8hme1uu7fX1EZOOvqBIQQFJ0Dqy8s42TiXBiVOuErJmNQEUt+xwed7Z9F1Hw/zhJIyXRhENbOdGck2sX7MV+p0Jszlt/sSkBm7lhc=
In-reply-to: <45AAA564.5030206@reed.wattle.id.au>
References: <200701141249.NAA14462@ultra.ap.krakow.pl> <45AAA564.5030206@reed.wattle.id.au>
Sender: owner-ipfilter@coombs.anu.edu.au
Not sure if version 5 is meant to run on Solaris 10, but it doesn't
seem to with either the recent release of gcc (3.4.6) or Studio 11's
cc:

For example, make solaris with gcc it fails at the definition of
u_int8_t in ip_compat.h:

MAKE="make" MAKEFLAGS="" BPFILTER= \
      CC="gcc -Wstrict-prototypes -Wmissing-prototypes -Wunused
-Wuninitialized" DEBUG="-g" ./buildsunos
make ok
(cd SunOS5/i386-5.10; make build TOP=../.. "CC=gcc"  'CFLAGS=-I$(TOP)
-D_BSD_SOURCE  -DSOLARIS2=10  '  "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=."
"LOOKUP=-DIPFILTER_LOOKUP -DIPFILTER_SCAN" "COMPIPF="  'SYNC='
'ALLOPTS=-DIPFILTER_LOG -DIPFILTER_LOOKUP  -DIPFILTER_SCAN
-DIPFILTER_SYNC -DIPFILTER_CKSUM' 'LIBBPF=' "IPFLKM=-DIPFILTER_LKM"
"SOLARIS2=-DSOLARIS2=10" "CPU=-Di86pc -Di386 -D__i386__"; cd ..)
gcc -I. -g -I../.. -D_BSD_SOURCE  -DSOLARIS2=10 -c ../../lib/addicmp.c
-o addicmp.o
In file included from ../../ipf.h:69,
               from ../../lib/addicmp.c:11:
../../netinet/ip_compat.h:2486: error: syntax error before "u_int8_t"
../../netinet/ip_compat.h:2486: warning: no semicolon at end of struct or union
../../netinet/ip_compat.h:2487: warning: data definition has no type
or storage class
../../netinet/ip_compat.h:2488: error: syntax error before "ip6r_type"
../../netinet/ip_compat.h:2488: warning: data definition has no type
or storage class
../../netinet/ip_compat.h:2489: error: syntax error before "ip6r_segleft"
../../netinet/ip_compat.h:2489: warning: data definition has no type
or storage class
../../netinet/ip_compat.h:2490: error: syntax error before "ip6r_reserved"
../../netinet/ip_compat.h:2490: warning: data definition has no type
or storage class
*** Error code 1
make: Fatal error: Command failed for target `addicmp.o'
Current working directory /mydir/ipfilter-compile/ip_fil5.0/SunOS5/i386-5.10
*** Error code 1
make: Fatal error: Command failed for target `sunos5x86'
Current working directory /mydir/ipfilter-compile/ip_fil5.0
*** Error code 1
make: Fatal error: Command failed for target `solaris'

<Prev in Thread] Current Thread [Next in Thread>