The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 ipfilter 3.4.9
Author: john 
Date:   30-08-00 02:52

Hey all:

need help.

i'm running Freebsd 4.1. i want to install ipfilter. when i run the make i get this error. please help!

i did see the osreldate.h file in /usr/include/ but i'm pretty sure its not making reference to this.

prophet# make freebsd4 IPFILKERN=SMAKEY
if [ ! -f netinet/done ] ; then (cd netinet; ln -s ../*.h .; ln -s ../ip_ftp_px
y.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
if [ xNET6 = x ] ; then echo "#undef INET6" > opt_inet6.h; else echo "#define
INET6" > opt_inet6.h; fi
make setup "TARGOS=BSD" "CPUDIR=`uname -s|sed -e 's@/@@g'`-`uname -r`-`uname -m`
"
if [ ! -d BSD/FreeBSD-4.1-RELEASE-i386 ] ; then mkdir BSD/FreeBSD-4.1-RELEASE-i3
86; fi
rm -f BSD/FreeBSD-4.1-RELEASE-i386/Makefile BSD/FreeBSD-4.1-RELEASE-i386/Makefil
e.ipsend
ln -s ../Makefile BSD/FreeBSD-4.1-RELEASE-i386/Makefile
ln -s ../Makefile.ipsend BSD/FreeBSD-4.1-RELEASE-i386/Makefile.ipsend
(cd BSD/`uname -s|sed -e 's@/@@g'`-`uname -r`-`uname -m`; make build TOP=../.. '
CFLAGS=-I$(TOP) -g ' "IPFLOG=-DIPFILTER_LOG" "LOGFAC=-DLOGFAC=LOG_LOCAL0" "PO
LICY=-DIPF_DEFAULT_PASS=FR_PASS" "SOLARIS2=" "DEBUG=-g" "DCPU=`uname -m`" "CPU
DIR=`uname -s|sed -e 's@/@@g'`-`uname -r`-`uname -m`" 'STATETOP_CFLAGS=' 'STATE
TOP_INC=' 'STATETOP_LIB=' "BITS=" "OBJ=" "IPFLKM=-DIPFILTER_LKM" "ML=mlfk_ipl.
c" "MLD=mlfk_ipl.c" "LKM=ipf.ko" "DLKM=-DKLD_MODULE -I/sys"; cd ..)
cc -Wall -Wuninitialized -Wstrict-prototypes -Werror -O -g -I../.. -g -DIPFIL
TER_LKM -DIPFILTER_LOG -Di386 -D__i386__ -DINET -DKERNEL -D_KERNEL -I/usr/includ
e -I/sys -I/sys/sys -I/sys/arch -DKLD_MODULE -I/sys -c ../../ip_log.c -o ip_log
.o
../../ip_log.c:24: sys/osreldate.h: No such file or directory
*** Error code 1

Stop in /usr/ports/security/ip_fil3.4.9/BSD/FreeBSD-4.1-RELEASE-i386.
*** Error code 1

Stop in /usr/ports/security/ip_fil3.4.9.


FreeBSD prophet 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Thu Jul 27 04:44:16 GMT 2000 root@usw4.freebsd.org:/usr/src/sys/compile/GENERIC i386



Reply To This Message
 
 RE: ipfilter 3.4.9
Author: ron 
Date:   01-09-00 04:36

I had the same problem. Saw in one of the mailing lists... don't remember which one... to make freebsd3 vs. make freebsd4 then proceed as normal for freebsd 4.1. Seemed to work for me but I'm still not confident that this was the right way to go about it.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org