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

List:       ipfilter
Subject:    Can anyone help me to get any release of 3.2.11 to work with
From:       Daniel Frazier <dfrazier () op ! net>
Date:       1999-06-22 14:43:44
[Download RAW message or body]

I know the easy solution would be to go back to FreeBSD 2.8 and use
IPFilter 3.2.10, but that seems like a cop out to me.  I'll do it if I
can't get this to work, but it's a last resort.  I have read other posts
regarding FreeBSD 3.x, and as per those posts, this is what I do...

# make freebsd30

if [ ! -f netinet/done ] ; then (cd netinet; ln -s ../*.h .; ln -s
../ip_ftp_pxy.c .; ln -s ../ip_rcmd_pxy.c .; ln -s ../ip_raudio_pxy.c .);
(cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); touch netinet/done; fi
make setup "TARGOS=BSD" "CPUDIR=`uname -s|sed -e
's@/@@g'`-`uname -r`-`uname -m`"
if [ ! -d BSD/FreeBSD-3.2-RELEASE-i386 ] ; then mkdir
BSD/FreeBSD-3.2-RELEASE-i386; fi
rm -f BSD/FreeBSD-3.2-RELEASE-i386/Makefile
BSD/FreeBSD-3.2-RELEASE-i386/Makefile.ipsend
ln -s ../Makefile BSD/FreeBSD-3.2-RELEASE-i386/Makefile
ln -s ../Makefile.ipsend BSD/FreeBSD-3.2-RELEASE-i386/Makefile.ipsend
rm -f BSD/`uname -s|sed -e 's@/@@g'`-`uname -r`-`uname -m`/ioconf.h
make freebsd
if [ ! -f netinet/done ] ; then (cd netinet; ln -s ../*.h .; ln -s
../ip_ftp_pxy.c .; ln -s ../ip_rcmd_pxy.c .; ln -s ../ip_raudio_pxy.c .);
(cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); touch netinet/done; fi
make setup "TARGOS=BSD" "CPUDIR=`uname -s|sed -e
's@/@@g'`-`uname -r`-`uname -m`"
if [ ! -d BSD/FreeBSD-3.2-RELEASE-i386 ] ; then mkdir
BSD/FreeBSD-3.2-RELEASE-i386; fi
rm -f BSD/FreeBSD-3.2-RELEASE-i386/Makefile
BSD/FreeBSD-3.2-RELEASE-i386/Makefile.ipsend
ln -s ../Makefile BSD/FreeBSD-3.2-RELEASE-i386/Makefile
ln -s ../Makefile.ipsend BSD/FreeBSD-3.2-RELEASE-i386/Makefile.ipsend
(cd BSD/`uname -s|sed -e 's@/@@g'`-`uname -r`-`uname -m`; make build
TOP=../.. "BINDEST=/usr/local/bin" "SBINDEST=/sbin" "MANDIR=/usr/local/man"
'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`" "CPUDIR=`uname -s|sed -e
's@/@@g'`-`uname -r`-`uname -m`" "ML=mlf_ipl.c"; cd ..)
cc -Wall -Wuninitialized -Wstrict-prototypes -Werror -O -g -I../.. -c
../../ipf.c -o ipf.o
cc -Wall -Wuninitialized -Wstrict-prototypes -Werror -O -g -I../.. -c
../../parse.c -o parse.o
cc1: warnings being treated as errors
In file included from ../../parse.c:33:
../../ip_fil.h:404: warning: `struct ifnet' declared inside parameter list
../../ip_fil.h:404: warning: its scope is only this definition or
declaration,
../../ip_fil.h:404: warning: which is probably not what you want.
../../ip_fil.h:405: warning: `struct ifnet' declared inside parameter list
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

Now, I'm not enough of a unix guru to know what this means or how to
correct it.  If anyone could help or even let me know what you did to get
it to work, I'll be very grateful.

Thanks,

Daniel Frazier
Sys Admin
PC Age, Inc.

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

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