Subject: kernel build fails
To: NetBSD-current <current-users@NetBSD.org>
From: Marcin Jessa <lists@yazzy.org>
List: current-users
Date: 02/13/2006 14:45:09
This error I get trying to build kernel from fresh today's sources.

#    create  vers.c
sh /usr/src/sys/conf/newvers.sh
#   compile  WIFIBSD_LIVE_CD/vers.o
/usr/tools/bin/i386--netbsdelf-gcc   -ffreestanding   -Os -mcpu=i486
-Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch
-Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare
-fno-zero-initialized-in-bss    -Di386 -I.  -I/usr/src/sys/arch
-I/usr/src/sys -nostdinc -DTIMER_FREQ="1189200" -DVNODE_OP_NOINLINE
-DDUMMY_NOPS -DPPPOE_SERVER -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/string
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string
-c vers.c --- netbsd ---
#      link  WIFIBSD_LIVE_CD/netbsd
/usr/tools/bin/i386--netbsdelf-ld
-T /usr/src/sys/arch/i386/conf/kern.ldscript -Ttext c0100000 -e start
-X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o if_lmc.o: In function
`if_lmc_lkmentry': if_lmc.c:(.text+0x6013): undefined reference to
`lkmdispatch' if_lmc.c:(.text+0x6021): undefined reference to
`lkm_nofunc' if_lmc.c:(.text+0x6031): undefined reference to
`lkmdispatch' if_lmc.c:(.text+0x603f): undefined reference to
`lkm_nofunc' if_lmc.c:(.text+0x6056): undefined reference to
`lkm_nofunc' if_lmc.c:(.text+0x6071): undefined reference to
`lkmdispatch' *** [netbsd] Error code 1 1 error

nbmake: stopped in /usr/obj/sys/arch/i386/compile/WIFIBSD_LIVE_CD