Subject: Re: ipfilter4.1.3 compiling kernel stop
To: None <netbsd-users@netbsd.org>
From: Caloro Maurizio <mauric@gmx.ch>
List: netbsd-users
Date: 10/20/2004 11:50:57
Hello,

>This configuration (1.6.1+4.1.3) has not been tested. What's
>wrong with the builtin ipfilter that comes with 1.6.1?
>christos

and thanks for your feedback, 
i have checked now the ipfilter on a netbsd sparc 1.6.1
and netbsd i386 1.6.2 machine and i cant compile on both 
machine not sucessfull the kernel :-) what i do wrong ??

my ideea was i want a new version of IPFilter :-)
on my nice machine .....

i have following informations common now


ipfilter\make netbsd 	    	= OK	(on both machines)
ipfilter\make install-bsd   	= OK	(on both machines)

ipfilter\NetBSD-1.2\minstall 	= comes with following question

[snip]
...
--------------------------
|*** sys/conf/files-ORIG        Mon May 20 08:03:42 1996
|--- sys/conf/files     Mon May 27 13:44:27 1996
--------------------------
Patching file sys/conf/files using Plan A...
Hunk #1 failed at 257.
1 out of 1 hunks failed--saving rejects to sys/conf/files.rej
done
Hmm...  Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** sys/conf/files.oldconf-ORIG        Sun May 26 07:40:50 1996
|--- sys/conf/files.oldconf     Mon May 27 15:23:35 1996
--------------------------
File to patch: files.c
No file found--skip this patch? [n] z
File to patch: y
No file found--skip this patch? [n] y
Skipping patch...
Hunk #1 ignored at 184.
1 out of 1 hunks ignored--saving rejects to y.rej
done
/usr/src/sys/arch/sparc/conf/MYKERNEL not found
Kernel configuration to update [MYKERNEL] STONE
STONE already contains "options         IPFILTER_LKM"...
You will now need to build a new kernel.

***************--->

and if i want start to compile my new kernel 
i become fast a stop msg ...... 

i need help please, to finish my fwall

***************--->
cc  -mno-fpu -ffreestanding  -O2 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-uninitialized  -I.  -I../../../../arch
-I../../../.. -nostdinc -DRASTERCONSOLE -DLKM -DIPFILTER_LKM -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT   -c
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/fil.c
cc  -mno-fpu -ffreestanding  -O2 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-uninitialized  -I.  -I../../../../arch
-I../../../.. -nostdinc -DRASTERCONSOLE -DLKM -DIPFILTER_LKM -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT   -c
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/in_proto.c
cc  -mno-fpu -ffreestanding  -O2 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-uninitialized  -I.  -I../../../../arch
-I../../../.. -nostdinc -DRASTERCONSOLE -DLKM -DIPFILTER_LKM -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT   -c
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ip_auth.c
cc  -mno-fpu -ffreestanding  -O2 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-uninitialized  -I.  -I../../../../arch
-I../../../.. -nostdinc -DRASTERCONSOLE -DLKM -DIPFILTER_LKM -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT   -c
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ip_fil.c
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ip_fil.c:32:
warning: `_KERNEL' redefined
*Initialization*:1: warning: this is the location of the previous definition
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ip_fil.c:60:
stdio.h: No such file or directory
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ip_fil.c:61:
string.h: No such file or directory
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ip_fil.c:62:
stdlib.h: No such file or directory
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ip_fil.c:63:
ctype.h: No such file or directory
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ip_fil.c:64:
fcntl.h: No such file or directory
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ip_fil.c:107:
unistd.h: No such file or directory
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ip_fil.c:108:
syslog.h: No such file or directory
In file included from
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ip_fil.c:142:
/usr/src/sys/arch/sparc/compile/STONE/../../../../netinet/ipt.h:21: fcntl.h:
No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/sparc/compile/STONE

thanks in advance
Maurizio Caloro




-- 
+++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++
Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl