From owner-freebsd-hackers Fri Apr 25 04:03:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA07848 for hackers-outgoing; Fri, 25 Apr 1997 04:03:30 -0700 (PDT) Received: from smtp.enteract.com (qmailr@char-star.rdist.org [206.54.252.22]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id EAA07841 for ; Fri, 25 Apr 1997 04:03:28 -0700 (PDT) Received: (qmail 14692 invoked from network); 25 Apr 1997 11:03:26 -0000 Received: from enteract.com (mrfoine@206.54.252.1) by char-star.rdist.org with SMTP; 25 Apr 1997 11:03:26 -0000 Date: Fri, 25 Apr 1997 06:03:26 -0500 (CDT) From: Wayne Baety To: Darren Reed cc: chris@dilbert.bb.cc.wa.us, hackers@FreeBSD.ORG, ipfilter@postbox.anu.edu.au Subject: Re: IPFILTER In-Reply-To: <199704251044.UAA20506@plum.cyber.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 25 Apr 1997, Darren Reed wrote: > In some mail I received from Wayne Baety, sie wrote > > > > > > > > I couldnt even get it to compile under freebsd current... > > after unpacking the ip_fil3.2a4 package i did... > > > > make freebsd22 > > > > and got this output: > > > > alaska /root/tmp/ipfil % cd ip_fil3.2a4 > > alaska /root/tmp/ipfil/ip_fil3.2a4 % make freebsd22 > > if [ ! -d BSD/`uname -m` ] ; then mkdir BSD/`uname -m`; fi > > Can't find ioconf.h > > *** Error code 1 > > Hmm...this is a bit of a problem...you *must* have a directory somewhere > that is the result of a "config XYZ" (for a new kernel) - preferably one > which is the same as your current and future kernel. Will add this to the > documentation. > > Darren > Ok i figured that part out (just before reading this email :-) I moved the ipfil package to /sys and did a make freebsd30....but i got this error: alaska /usr/sys.bisdn/ip_fil3.2a4 % cd .. alaska /usr/sys.bisdn % cd ip_fil ip_fil: No such file or directory. alaska /usr/sys.bisdn % cd ip* alaska /usr/sys.bisdn/ip_fil3.2a4 % make freebsd30 if [ ! -d BSD/`uname -m` ] ; then mkdir BSD/`uname -m`; fi rm -f BSD/`uname -m`/ioconf.h ln -s `uname -v|sed -e 's@^.*:\(/[^: ]*\).*@\1@'`/ioconf.h BSD/`uname -m` make bsd if [ ! -d BSD/`uname -m` ] ; then mkdir BSD/`uname -m`; fi rm -f BSD/`uname -m`/Makefile BSD/`uname -m`/Makefile.ipsend ln -s ../Makefile BSD/`uname -m`/Makefile ln -s ../Makefile.ipsend BSD/`uname -m`/Makefile.ipsend (cd BSD/`uname -m`; make build "TOP=../.." "BINDEST=/usr/local/ip_fil3.1.1/bin" "SBINDEST=/usr/local/ip_fil3.1.1/sbin" "MANDIR=/usr/local/ip_fil3.1.1/man" "CC=gcc" 'CFLAGS=-I$(TOP) ' "IPFLKM=-DIPFILTER_LKM" "IPFLOG=-DIPFILTER_LOG" "LOGFAC=-DLOGFAC=LOG_LOCAL0" "POLICY=-DIPF_DEFAULT_PASS=FR_PASS" "SOLARIS2=" "DEBUG=-g" "DCPU=`uname -m`" ; cd ..) gcc -g -I../.. -c ../../ipf.c -o ipf.o In file included from ../../ipf.c:25: /usr/include/net/if.h:69: field `ifi_lastchange' has incomplete type *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. now what?.......this is on -current by the way