Subject: Kernel compile problem
To: None <current-users@netbsd.org>
From: Mihai Chelaru <kefren@netbastards.org>
List: current-users
Date: 08/21/2002 19:46:01
Hello,

Anyone encountered this ?

cc -ffreestanding  -I /gigi -Werror -Wall -Wno-main -Wno-format-zero-length 
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized 
-I../../../../../../lib/libkern/arch/i386 -Di386 -I../../. 
-I../../../../../../arch -I../../../../../.. -nostdinc -DLKM -DMAXUSERS=32 
-D_KERNEL -D_KERNEL_OPT    -c 
/data/usr/src/sys/arch/i386/compile/Kefren/lib/kern/../../../../../../lib/libkern/ulmax.c
cc -ffreestanding  -I /gigi -Werror -Wall -Wno-main -Wno-format-zero-length 
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized 
-I../../../../../../lib/libkern/arch/i386 -Di386 -I../../. 
-I../../../../../../arch -I../../../../../.. -nostdinc -DLKM -DMAXUSERS=32 
-D_KERNEL -D_KERNEL_OPT    -c 
/data/usr/src/sys/arch/i386/compile/Kefren/lib/kern/../../../../../../lib/libkern/ulmin.c
cc -x assembler-with-cpp -traditional-cpp -D_LOCORE 
-I../../../../../../lib/libkern/arch/i386 -Di386 -I../../. 
-I../../../../../../arch -I../../../../../.. -nostdinc -DLKM -DMAXUSERS=32 
-D_KERNEL -D_KERNEL_OPT    -c -traditional-cpp -I 
/data/usr/src/sys/arch/i386/compile/Kefren/lib/kern/../../../../../../lib/libkern/arch/i386/byte_swap_2.S
cc: Warning: `-x assembler-with-cpp' after last input file has no effect
cc: No input files
*** Error code 1

Stop.
make: stopped in /data/usr/src/sys/arch/i386/compile/Kefren/lib/kern
*** Error code 1

Stop.
make: stopped in /sys/arch/i386/compile/Kefren


I think the extra -I is the problem but I'm not sure (it's a today kernel).

Thanks,
Mihai