Subject: ipf compiling stop
To: None <netbsd-users@netbsd.org>
From: Maurizio Caloro <mauric@gmx.ch>
List: netbsd-users
Date: 10/09/2004 00:38:05
Hello Everyone,
i want compile ipf on my netbsd 1.6.2 machine
and it maks 2 error,
please help, i dont see any solution to fix this problem
thanks in advance
Maurizio=A8
----
make netsd
if [ ! -f netinet/done ] ; then (cd netinet; ln -s ../*.h .; ln -s
=2E../ip_*_pxy.c .;); (cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); touc=
h
netinet/done; fi
(cd netinet; ln -s ../ip_rules.h ip_rules.h)
ln: ip_rules.h: File exists
*** Error code 1 (ignored)
if [ ! -f net/done ] ; then (cd net; ln -s ../radix_ipf.h .; ); touch
net/done; fi
make setup "TARGOS=3DBSD" "CPUDIR=3D`uname -s|sed -e 's@/@@g'`-`uname
-r`-`uname -m`"
if [ ! -d BSD/NetBSD-1.6.2-i386 ] ; then mkdir BSD/NetBSD-1.6.2-i386; fi
rm -f BSD/NetBSD-1.6.2-i386/Makefile BSD/NetBSD-1.6.2-i386/Makefile.ipsend
ln -s ../Makefile BSD/NetBSD-1.6.2-i386/Makefile
ln -s ../Makefile.ipsend BSD/NetBSD-1.6.2-i386/Makefile.ipsend
if [ -f BSD/Makefile.common ] ; then rm -f
BSD/NetBSD-1.6.2-i386/Makefile.common; ln -s ../Makefile.common
BSD/NetBSD-1.6.2-
i386/Makefile.common; fi
(cd BSD/`uname -s|sed -e 's@/@@g'`-`uname -r`-`uname -m`; make build TOP
=3D../.. 'CFLAGS=3D-I$(TOP) -D_BSD_SOURCE ' "IPFLOG=3D-
DIPFILTER_LOG" "LOGFAC=3D-DLOGFAC=3DLOG_LOCAL0" "POLICY
=3D-DIPF_DEFAULT_PASS=3DFR_PASS" "SOLARIS2=3D" "DEBUG=3D-g"
"DCPU=3D`uname -m`" "LIBBPF=3D" "CPUDIR=3D`uname -s|sed -e 's@/@@g'`-`unam=
e
-r`-`uname -m`" "IPFBPF=3D" 'STATETOP_CFLAGS=3D' "BPFILTER=3D"
'STATETOP_INC=3D' 'STATETOP_LIB=3D' "BITS=3D" "OBJ=3D." "LOOKUP=3D-DIPFILT=
ER_LOOKUP
-DIPFILTER_SCAN" "COMPIPF=3D" 'SYNC=3D' 'ALLOPTS=3D-
DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -DIPFILTER_SYNC
-DIPFILTER_CKSUM' 'LIBBPF=3D' "IPFLKM=3D-DIPFILTER_LKM"
'DLKM=3D-D_LKM' "ML=3Dmln_ipl.c" LKMR=3D "MLR=3Dmln_rule.o"; cd ..)
make: "/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/Makefile" line 16: warning:
Couldn't read shell's output for "/usr/bin/lsvfs 2>&1 | sed -n 's/.*devfs.
=2E.
ar cq ./libipf.a ./addicmp.o ./addipopt.o ./addkeep.o ./bcopywrap.o
=2E./binprint.o ./buildopts.o ./checkrev.o ./count6bits.o ./count4bits..=
o
=2E./debug.o
=2E./extras.o ./facpri.o ./flags.o ./fill6bits.o ./genmask.o ./gethost.=
o
=2E./getifname.o ./getline.o ./getnattype.o ./getport.o ./getportproto..=
o
=2E./getproto.o
=2E./getsumd.o ./hexdump.o ./hostmask.o ./hostname.o ./hostnum.o
=2E./icmpcode.o ./inet_addr.o ./initparse.o ./ionames.o ./ipoptsec.o
=2E./ipf_dotuning.o
=2E./ipft_ef.o ./ipft_hx.o ./ipft_pc.o ./ipft_sn.o ./ipft_td.o
=2E./ipft_tx.o ./kmem.o ./kmemcpywrap.o ./kvatoname.o ./load_hash.o
=2E./load_hashnode.o
=2E./load_pool.o ./load_poolnode.o ./loglevel.o ./make_range.o
=2E./mutex_emul.o ./nametokva.o ./nat_setgroupmap.o ./ntomask.o
=2E./optname.o
=2E./optprint.o ./optprintv6.o ./optvalue.o ./portname.o ./portnum.o
=2E./ports.o ./print_toif.o ./printactivenat.o ./printaps.o ./printbuf..=
o
=2E./printhash.o
=2E./printhashnode.o ./printip.o ./printpool.o ./printpoolnode.o
=2E./printfr.o ./printfraginfo.o ./printhostmap.o ./printifname.o
=2E./printhostmask.o ./printlog.o
=2E./printmask.o ./printnat.o ./printportcmp.o ./printpacket.o
=2E./printpacket6.o ./printsbuf.o ./printstate.o ./printtunable.o
=2E./ratoi.o ./ratoui.o
=2E./remove_hash.o ./remove_hashnode.o ./remove_pool.o ./remove_poolnode.=
o
=2E./resetlexer.o ./rwlock_emul.o ./tcpflags.o ./tcp_flags.o
=2E./to_interface.o ./var.o ./verbose.o ./v6ionames.o ./v6optvalue.o
ranlib ./libipf.a
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ../../tools/ipf.c -o ipf.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ../../tools/ipfcomp.c -o ipfcomp.o
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipf_y.c)
yacc -d ipf_y.y
yacc: 7 shift/reduce conflicts.
sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.c/' -e 's/"ipf_y.y"/"..
\/tools\/ipf_y.y"/' y.tab.c >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipf_y.c
sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' y.tab.h >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipf_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipf_l.h)
sed -e 's/yy/ipf_yy/g' lexer.h >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipf_l.h
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ipf_y.c -o ipf_y.o
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipf_l.c)
sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' -e 's/lexer.h/ipf_l.h/'
lexer.c > /usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipf_l.c
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -I. -c ipf_l.c -o ipf_l.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE ipf.o ipfcomp.o ipf_y.o ipf_l.o -o ipf -L. -lipf -ll
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ../../tools/ipfs.c -o ipfs.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE ipfs.o -o ipfs
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ../../tools/ipfstat.c -o ipfstat.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE ipfstat.o -o ipfstat -L. -lipf -lkvm
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ../../tools/ipftest.c -o ipftest.o
=2E./ipf -cc -nf ../../rules/ip_rules
if [ ! -f ../../ip_rules.h ] ; then /bin/mv -f ip_rules.h ../..; else
touch ../../ip_rules.h; fi
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -D_RADIX_H_ -c ../../fil.c -o fil_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_frag.c -o ip_frag_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_state.c -o ip_state_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_nat.c -o ip_nat_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_proxy.c -o ip_proxy_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_auth.c -o ip_auth_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_htable.c -o ip_htable_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_lookup.c -o ip_lookup_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_pool.c -o ip_pool_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_scan.c -o ip_scan_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_sync.c -o ip_sync_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ip_rules.c -o ip_rules_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_fil.c -o ip_fil_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../ip_log.c -o ip_log_u.o
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ippool_l.h)
sed -e 's/yy/ippool_yy/g' lexer.h >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ippool_l.h
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ippool_y.c)
yacc -d ippool_y.y
sed -e 's/yy/ippool_yy/g' -e 's/"ippool_y.y"/"..\/tools\/ippool_y.y"/'
y.tab.c > /usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ippool_y.c
sed -e 's/yy/ippool_yy/g' y.tab.h >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ippool_y.h
/bin/rm -f y.tab.c y.tab.h
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ippool_y.c -o ippool_y.o
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ippool_l.c)
sed -e 's/yy/ippool_yy/g' -e 's/y.tab.h/ippool_y.h/' -e
's/lexer.h/ippool_l.h/' lexer.c >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ippool_l.c
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -I. -c ippool_l.c -o ippool_l.o
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipnat_y.c)
yacc -d ipnat_y.y
yacc: 1 rule never reduced
yacc: 4 shift/reduce conflicts.
sed -e 's/yy/ipnat_yy/g' -e 's/y.tab.c/ipnat_y.c/' -e s/\"ipnat_y.y\"/\"..
\\/tools\\/ipnat_y.y\"/ y.tab.c >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipnat_y.c
sed -e 's/yy/ipnat_yy/g' -e 's/y.tab.h/ipnat_y.h/' y.tab.h >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipnat_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipnat_l.h)
sed -e 's/yy/ipnat_yy/g' lexer.h >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipnat_l.h
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ipnat_y.c -o ipnat_y.o
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipnat_l.c)
sed -e 's/yy/ipnat_yy/g' -e 's/y.tab.h/ipnat_y.h/' -e
's/lexer.h/ipnat_l.h/' lexer.c >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipnat_l.c
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -I. -c ipnat_l.c -o ipnat_l.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../md5.c -o md5_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../radix.c -o radix_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LOG -DIPFILTER_LOOKUP -DIPFILTER_SCAN -
DIPFILTER_SYNC -DIPFILTER_CKSUM -c ../../bpf_filter.c -o bpf_filter_u.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE ipftest.o fil_u.o ip_frag_u.o ip_state_u.o ip_nat_u.o
ip_proxy_u.o
ip_auth_u.o ip_htable_u.o ip_lookup_u.o ip_pool_u.o ip_scan_u.o
ip_sync_u.o ip_rules_u.o ip_fil_u.o ip_log_u.o ippool_y.o ippool_l.o
ipf_y.o ipf_l.o
ipnat_y.o ipnat_l.o md5_u.o radix_u.o bpf_filter_u.o -o ipftest -L. -lipf
-ll
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DLOGFAC=3DLOG_LOCAL0 -c ../../tools/ipmon.c -o ipmon..o
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipmon_y.c)
yacc -d ipmon_y.y
sed -e 's/yy/ipmon_yy/g' -e 's/"ipmon_y.y"/"..\/tools\/ipmon_y.y"/'
y.tab.c > /usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipmon_y.c
sed -e 's/yy/ipmon_yy/g' y.tab.h >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipmon_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipmon_l.h)
sed -e 's/yy/ipmon_yy/g' lexer.h >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipmon_l.h
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ipmon_y.c -o ipmon_y.o
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipmon_l.c)
sed -e 's/yy/ipmon_yy/g' -e 's/y.tab.h/ipmon_y.h/' -e
's/lexer.h/ipmon_l.h/' lexer.c >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipmon_l.c
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -I. -c ipmon_l.c -o ipmon_l.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE ipmon.o ipmon_y.o ipmon_l.o -o ipmon -L. -lipf -ll
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ../../tools/ipnat.c -o ipnat.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE ipnat.o ipnat_y.o ipnat_l.o -o ipnat -L. -lipf -lkvm -ll
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ../../tools/ippool.c -o ippool.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -g -I. -I../..
-D_BSD_SOURCE ippool_y.o ippool_l.o kmem.o ippool.o -o ippool -ll -lkvm
-L. -lipf
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipscan_y.c)
yacc -d ipscan_y.y
sed -e 's/yy/ipscan_yy/g' -e 's/"ipscan_y.y"/"..\/tools\/ipscan_y.y"/'
y.tab.c > /usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipscan_y.c
sed -e 's/yy/ipscan_yy/g' y.tab.h >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipscan_y.h
/bin/rm -f y.tab.c y.tab.h
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipscan_l.h)
sed -e 's/yy/ipscan_yy/g' lexer.h >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipscan_l.h
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ipscan_y.c -o ipscan_y.o
(cd ../../tools; make "DEST=3D/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386"
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipscan_l.c)
sed -e 's/yy/ipscan_yy/g' -e 's/y.tab.h/ipscan_y.h/' -e
's/lexer.h/ipscan_l.h/' lexer.c >
/usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386/ipscan_l.c
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -I. -c ipscan_l.c -o ipscan_l.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -g ipscan_y.o ipscan_l.o -o
ipscan -ll -L. -lipf -lkvm
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ../../tools/ipsyncm.c -o ipsyncm.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE ipsyncm.o -o ipsyncm -L. -lipf
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -c ../../tools/ipsyncs.c -o ipsyncs.o
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE ipsyncs.o -o ipsyncs -L. -lipf
/bin/rm -f ip_fil.c
ln -s ../../ip_fil_`uname -s|tr A-Z a-z`.c ip_fil.c
cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
-D_BSD_SOURCE -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP -
DIPFILTER_SCAN -Di386 -D__i386__ -DINET -DKERNEL -D_KERNEL -I/usr/include
-I/sys -I/sys/sys -I/sys/arch -D_LKM -c ip_fil.c -o ip_fil.o
In file included from ip_fil.c:28:
/usr/include/sys/systm.h:341: lib/libkern/libkern.h: No such file or
directory
In file included from /usr/include/uvm/uvm_pmap.h:90,
from /usr/include/uvm/uvm_extern.h:453,
from ../../netinet/ip_compat.h:1403,
from ip_fil.c:49:
/usr/include/machine/pmap.h:460: lib/libkern/libkern.h: No such file or
directory
*** Error code 1
Stop.
make: stopped in /usr/ip_fil4.1.3/BSD/NetBSD-1.6.2-i386
*** Error code 1
Stop.
make: stopped in /usr/ip_fil4.1.3