Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 1997 06:03:26 -0500 (CDT)
From:      Wayne Baety <mrfoine@enteract.com>
To:        Darren Reed <darrenr@cyber.com.au>
Cc:        chris@dilbert.bb.cc.wa.us, hackers@FreeBSD.ORG, ipfilter@postbox.anu.edu.au
Subject:   Re: IPFILTER
Message-ID:  <Pine.BSI.3.95.970425055933.14309A-100000@enteract.com>
In-Reply-To: <199704251044.UAA20506@plum.cyber.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help


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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.970425055933.14309A-100000>