Subject: Re: problems in the compilation of current
To: None <current-users@netbsd.org>
From: Daniel Dias Gonçalves <f22@proveritauna.com.br>
List: current-users
Date: 01/03/2003 18:11:34
I placed "cpu * at mainbus" in my kernel config and compiled 
normally.

On Fri, 3 Jan 2003 18:51:27 +0000, Andreas Rohde <supergrassnbsd@gmx.net> 
wrote :

> On Fri, Jan 03, 2003 at 04:57:19PM -0000, Daniel Dias Gonçalves wrote:
> > the following problem is occurring when compiling current:
> > 
> > devel# make
> > making sure the compat library is up to date...
> > `libcompat.a' is up to date.
> > making sure the kern library is up to date...
> > `libkern.o' is up to date.
> > ld -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e 
start -X -
> > o netbsd ${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 `proc_trampoline':
> > locore.o(.text+0x2fe): undefined reference to `cpu_info_primary'
> > locore.o: In function `kcopy':
> > locore.o(.text+0x37f): undefined reference to `cpu_info_primary'
> > locore.o(.text+0x3b8): undefined reference to `cpu_info_primary'
> > locore.o(.text+0x3e6): more undefined references to `cpu_info_primary' 
> > follow
> > gdt.o: In function `setgdt':
> > gdt.o(.text+0x30): undefined reference to `cpu_info_list'
> > gdt.o: In function `gdt_init':
> > gdt.o(.text+0x13d): undefined reference to `cpu_info_primary'
> > gdt.o(.text+0x152): undefined reference to `cpu_info_primary'
> > gdt.o(.text+0x166): undefined reference to `cpu_info_primary'
> > gdt.o: In function `gdt_grow':
> > gdt.o(.text+0x26e): undefined reference to `cpu_info_list'
> > i8259.o: In function `i8259_reinit_irqs':
> > i8259.o(.text+0xba): undefined reference to `cpu_info_primary'
> > intr.o: In function `intr_allocate_slot_cpu':
> > intr.o(.text+0x31a): undefined reference to `cpu_info_primary'
> > intr.o(.text+0x325): undefined reference to `cpu_info_primary'
> > intr.o(.text+0x34e): undefined reference to `cpu_info_primary'
> > intr.o(.text+0x353): undefined reference to `cpu_info_primary'
> > intr.o(.text+0x35a): more undefined references to `cpu_info_primary' 
follow
> > intr.o: In function `intr_allocate_slot':
> > intr.o(.text+0x5a8): undefined reference to `cpu_info_list'
> > intr.o(.text+0x5fd): undefined reference to `cpu_info_primary'
> > intr.o(.text+0x61b): undefined reference to `cpu_info_primary'
> > intr.o(.text+0x626): undefined reference to `cpu_info_primary'
> > intr.o(.text+0x6b9): undefined reference to `cpu_info_primary'
> > intr.o(.text+0x6c0): undefined reference to `cpu_info_primary'
> > intr.o(.text+0xab3): more undefined references to `cpu_info_primary' 
follow
> > pmap.o: In function `pmap_tlb_shootdown':
> > pmap.o(.text+0x24d6): undefined reference to `cpu_info_list'
> > pmap.o(.text+0x2518): undefined reference to `cpu_info_primary'
> > pmap.o(.text+0x2585): undefined reference to `cpu_info_primary'
> > pmap.o(.text+0x2613): undefined reference to `cpu_info_primary'
> > pmap.o(.text+0x261c): undefined reference to `cpu_info_primary'
> > pmap.o(.text+0x2634): undefined reference to `cpu_info_primary'
> > pmap.o(.text+0x2650): more undefined references to `cpu_info_primary' 
follow
> > *** Error code 1
> > 
> > Stop.
> > make: stopped in /sys/arch/i386/compile/ATHENAS
> > devel#
> > 
> > Any idea ?
> send me your kernel CONFIG Files (ATHENAS) 
> bye 
> andreaS
> 
> > 
> > -- 
> > Daniel Dias Gonçalves
> > f22@netbsd.com.br, f22@proveritauna.com.br
> > Public Key: http://www.proveritauna.com.br/~f22/f22.pub
> 
> -- 
> 
> -------
> CYCLING
> -------
> www.janullrich.de
> www.mariocipollini.com
> www.lavuelta.com
> 
> 
> 

-- 
Daniel Dias Gonçalves
f22@netbsd.com.br, f22@proveritauna.com.br
Public Key: http://www.proveritauna.com.br/~f22/f22.pub