From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c6036abd535b4dc8,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-03-09 10:45:28 PST Path: bga.com!news.sprintlink.net!uunet!newsfeed.ACO.net!fuw.edu.pl!cyfronet!galaxy.uci.agh.edu.pl!grzes From: grzes@twins.pk.edu.pl (system PRIVILEGED account) Newsgroups: comp.unix.osf.osf1 Subject: Can't config kernel with PACKETFILTER option Date: 9 Mar 1995 18:30:43 GMT Organization: Cracow University of Technology, L-5 Institute Message-ID: <3jnhgj$t33@galaxy.uci.agh.edu.pl> Reply-To: grzes@twins.pk.edu.pl NNTP-Posting-Host: alpha.twins.pk.edu.pl X-Newsreader: TIN [version 1.2 PL2] Hi, I'm trying to reconfig kernel with PACKETFILTER option, but I can't do it due to strange error (I'm running OSF/1 1.3) My /sys/conf/ALPHA file is as follows: O \/____________cut_here______________________________________________________ /\ O ident "ALPHA" options GENERIC # # 9.03.95 packetfilters added for etherman(1) # options PACKETFILTER # options UERF options OSF options _LMF_ options ULT_BIN_COMPAT options BIN_COMPAT options COMPAT_43 options MACH options MACH_IPC_TCACHE options MACH_IPC_WWA options MACH_IPC_XXXHACK options STREAMS options BUFCACHE_STATS options INOCACHE_STATS options STAT_TIME options VAGUE_STATS options UFS options NFS options STRSC options STRNULL options STRECHO options STRPASS options STRTMUX options STRKINFO options INET options UIPC options SYSV_COFF options SYSV_ELF options TIMOD options TIRDWR options QUOTA options SVTT options LABELS options RT options DLI options STRIFNET options DLPI options XTISO options CDFS makeoptions CDEBUGOPTS="-g3" makeoptions PROFOPTS="-DPROFILING -DPROFTYPE=4" makeoptions LOADADDR="fffffc0000250000" # # Special options (see configuring the kernel chapter # in the Guide to System Administration) # timezone 0 dst 0 processors 1 dfldsiz 134217728 maxdsiz 1073741824 dflssiz 2097152 maxssiz 33554432 cpu "DEC3000_500" maxusers 32 machine alpha config vmunix swap generic bus tc0 at nexus? callout after_c "../bin/mktcdata" bus tcds0 at tc0 slot 6 vector tcdsintr controller asc0 at tcds0 slot 0 vector ascintr device disk rz3 at asc0 drive 24 device disk rz4 at asc0 drive 32 controller asc1 at tcds0 slot 1 vector ascintr controller scc0 at tc0 slot 7 vector sccintr controller bba0 at tc0 slot 7 vector bbaintr controller ln0 at tc0 slot 7 vector lnintr controller px0 at tc0 slot 1 vector pxintr scs_sysid 1 pseudo-device strthreads 1 pseudo-device strheap 384 pseudo-device sysv_hab pseudo-device sysvid_three_hab pseudo-device svr_four_hab pseudo-device soe_two_hab pseudo-device rt_hab pseudo-device cpus 1 pseudo-device pty 255 pseudo-device lv 2 pseudo-device ether pseudo-device sl 2 pseudo-device loop pseudo-device strpush 16 pseudo-device netthreads 2 pseudo-device mbclusters 1024 pseudo-device xcons pseudo-device ws O \/____________cut_here______________________________________________________ /\ O The error message I've got follows: *** WARNING *** An error has occurred during system configuration. A partial listing of the error log file (./errs) follows: cc -c -O2 -g3 -DLANGUAGE_C -g3 -G 4 -I -I. -I.. -I../include -DIDENT=ALPHA_PKT -DDEC3000_500 -DSWAPTYPE=1 -DPACKETFILTER -DUERF -DOSF -DCOMPAT_43 -DMACH -DUFS -DRT -DKERNEL -D_KERNEL -D_BSD -signed -no_excpt -Wb,-static -Wco,-nofloat -Ol imit 1000 -D__alpha -Umips -UMIPS ../data/pv_data.c cc -c -O2 -g3 -DLANGUAGE_C -g3 -G 4 -I -I. -I.. -I../include -DIDENT=ALPHA_PKT -DDEC3000_500 -DSWAPTYPE=1 -DPACKETFILTER -DUERF -DOSF -DCOMPAT_43 -DMACH -DUFS -DRT -DKERNEL -D_KERNEL -D_BSD -signed -no_excpt -Wb,-static -Wco,-nofloat -Ol imit 1000 -D__alpha -Umips -UMIPS ../data/steal_mem.c rm -f param.o cc -c -O2 -g3 -DLANGUAGE_C -g3 -G 4 -I -I. -I.. -I../include -DIDENT=ALPHA_PKT -DDEC3000_500 -DSWAPTYPE=1 -DPACKETFILTER -DUERF -DOSF -DCOMPAT_43 -DMACH -DUFS -DRT -DKERNEL -D_KERNEL -D_BSD -signed -no_excpt -Wb,-static -Wco,-nofloat -Ol imit 1000 -D__alpha -Umips -UMIPS param.c rm -f ioconf.o cc -c -O2 -g3 -DLANGUAGE_C -g3 -G 4 -I -I. -I.. -I../include -DIDENT=ALPHA_PKT -DDEC3000_500 -DSWAPTYPE=1 -DPACKETFILTER -DUERF -DOSF -DCOMPAT_43 -DMACH -DUFS -DRT -DKERNEL -D_KERNEL -D_BSD -signed -no_excpt -Wb,-static -Wco,-nofloat -Ol imit 1000 -D__alpha -Umips -UMIPS ioconf.c rm -f conf.o cc -c -O2 -g3 -DLANGUAGE_C -g3 -G 4 -I -I. -I.. -I../include -DIDENT=ALPHA_PKT -DDEC3000_500 -DSWAPTYPE=1 -DPACKETFILTER -DUERF -DOSF -DCOMPAT_43 -DMACH -DUFS -DRT -DKERNEL -D_KERNEL -D_BSD -signed -no_excpt -Wb,-static -Wco,-nofloat -Ol imit 1000 -D__alpha -Umips -UMIPS conf.c cc -c -O2 -g3 -DLANGUAGE_C -g3 -G 4 -I -I. -I.. -I../include -DIDENT=ALPHA_PKT -DDEC3000_500 -DSWAPTYPE=1 -DPACKETFILTER -DUERF -DOSF -DCOMPAT_43 -DMACH -DUFS -DRT -DKERNEL -D_KERNEL -D_BSD -signed -no_excpt -Wb,-static -Wco,-nofloat -Ol imit 1000 -D__alpha -Umips -UMIPS ../arch/alpha/swapgeneric.c sh ../conf/newvers.sh ../conf/copyright `cat ../conf/version.type ../conf/ver sion.major ../conf/version.minor ../conf/version.variant ../conf/version.buil d ../conf/version.patch` "`cat ../conf/version.banner`" cc -I -I. -I.. -I../include -DIDENT=ALPHA_PKT -DDEC3000_500 -DSWAPTYPE=1 -DPACKE TFILTER -DUERF -DOSF -DCOMPAT_43 -DMACH -DUFS -DRT -DKERNEL -D_KERNEL -D_BSD -c vers.c rm -f vmunix vmunix.sys loading vmunix.sys ld: conf.o: pfactive: multiply defined conf.o: pfilt_filter: multiply defined conf.o: pfilt_attach: multiply defined conf.o: pfilt_newaddress: multiply defined *** Exit 1 Stop. As I remove the 'options PACKETFILTER' line, everything goes OK. Does anyone know, what's the problem? How to fix it? Thanks for any help, Grzesiek grzes@twins.pk.edu.pl