Subject: Problems building kernel
To: None <current-users@netbsd.org>
From: Julio Merino <jmmv@menta.net>
List: current-users
Date: 10/06/2002 20:56:51
Hello

I'm having problems compiling a new current kernel. I updated my sources,
built and got these problems. Then, I tried removing the build directory,
starting from scratch, but it failed too. At last, I fetched a new source
tree, with the same bad results... Here are the errors:

ld -T /s/src/sys/arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o net
bsd ${SYSTEM_OBJ} vers.o
locore.o: In function `start':
locore.o(.text+0x97): undefined reference to `cpu_info_primary'
locore.o: In function `try586':
locore.o(.text+0x16a): undefined reference to `cpu_info_primary'
locore.o: In function `kcopy':
locore.o(.text+0x373): undefined reference to `cpu_info_primary'
locore.o(.text+0x3ac): undefined reference to `cpu_info_primary'
locore.o(.text+0x3da): undefined reference to `cpu_info_primary'
locore.o(.text+0x41c): more undefined references to `cpu_info_primary' follow
gdt.o: In function `setgdt':
gdt.o(.text+0x37): undefined reference to `cpu_info_list'
gdt.o: In function `gdt_init':
gdt.o(.text+0x14d): undefined reference to `cpu_info_primary'
gdt.o(.text+0x15f): undefined reference to `cpu_info_primary'
gdt.o(.text+0x173): undefined reference to `cpu_info_primary'
gdt.o: In function `gdt_grow':
gdt.o(.text+0x289): undefined reference to `cpu_info_list'
machdep.o: In function `i386_proc0_tss_ldt_init':
machdep.o(.text+0x4a8): undefined reference to `cpu_info_primary'
machdep.o: In function `sendsig':
machdep.o(.text+0x18be): undefined reference to `cpu_info_primary'
machdep.o: In function `initgdt':
machdep.o(.text+0x2622): undefined reference to `cpu_info_primary'
machdep.o: In function `init386':
machdep.o(.text+0x266d): undefined reference to `cpu_info_primary'
machdep.o(.text+0x2677): undefined reference to `cpu_info_primary'
machdep.o(.text+0x268b): more undefined references to `cpu_info_primary' follow
pmap.o: In function `pmap_tlb_shootdown':
pmap.o(.text+0x2729): undefined reference to `cpu_info_list'
pmap.o(.text+0x276c): undefined reference to `cpu_info_primary'
pmap.o(.text+0x27d9): undefined reference to `cpu_info_primary'
sys_machdep.o: In function `i386_set_ldt':
sys_machdep.o(.text+0x23e): undefined reference to `cpu_info_primary'
syscall.o: In function `syscall_plain':
syscall.o(.text+0x37): undefined reference to `cpu_info_primary'
syscall.o(.text+0x147): undefined reference to `cpu_info_primary'
syscall.o(.text+0x163): more undefined references to `cpu_info_primary' follow
*** Error code 1

Stop.
make: stopped in /var/build/kernel/DARKSTAR

Any idea what may happen?

Thank you.

-- 
HispaBSD admin - http://www.HispaBSD.org
For the developer - http://buildtool.sourceforge.net
Julio Merino <jmmv@menta.net>