[Soekris] OBSD 3.6 + OpenSoekris failure
Neal Rauhauser
neal at lists.rauhauser.net
Tue Nov 30 04:14:04 UTC 2004
This evening I did a binary upgrade from OBSD 3.4 to 3.6, blew away /usr/src
and /usr/ports and installed the new stuff from CD, then wiped out
/usr/Opensoekris so I'd have a clean start there.
I did a basic config for the NET4511 and when it came time to build the kernel
it fussed about NMBCLUSTERS being redefined. I tracked down and commented out
the one entry I could see via grep; it looks like there is a command line
redefinition of this parameter which was fine under 3.4 but not under 3.6.
Once this fix was in place I received the following cascade of errors when I
tried to compile my new kernel. My C skills are rusty++ and I can't believe I'm
the first to try OpenSoekris 1.0.12 + OBSD 3.6 - anyone else have a suggestion
on what I might be doing incorrectly here?
ld -Ttext 0xD0100120 -e start -N -x -o bsd ${SYSTEM_OBJ} vers.o
locore.o(.text+0x40b): In function `kcopy':
: undefined reference to `cpu_info_primary'
locore.o(.text+0x44a): In function `kcopy':
: undefined reference to `cpu_info_primary'
locore.o(.text+0x47e): In function `kcopy':
: undefined reference to `cpu_info_primary'
locore.o(.text+0x51b): In function `copyout':
: undefined reference to `cpu_info_primary'
locore.o(.text+0x553): In function `copyin':
: undefined reference to `cpu_info_primary'
locore.o(.text+0x59c): more undefined references to `cpu_info_primary' follow
kern_sysctl.o(.text+0x692): In function `kern_sysctl':
: undefined reference to `cpu_info_list'
kern_synch.o(.text+0xe): In function `ltsleep':
: undefined reference to `cpu_info_primary'
sched_bsd.o(.text+0x67): In function `roundrobin':
: undefined reference to `cpu_info_primary'
sched_bsd.o(.text+0xa8): In function `roundrobin':
: undefined reference to `cpu_info_primary'
sched_bsd.o(.text+0x1d3): In function `schedcpu':
: undefined reference to `cpu_info_primary'
sched_bsd.o(.text+0x32a): In function `yield':
: undefined reference to `cpu_info_primary'
sched_bsd.o(.text+0x38a): more undefined references to `cpu_info_primary' follow
gdt.o(.text+0x37): In function `setgdt':
: undefined reference to `cpu_info_list'
gdt.o(.text+0x79): In function `gdt_init':
: undefined reference to `cpu_info_primary'
gdt.o(.text+0x206): In function `gdt_grow':
: undefined reference to `cpu_info_list'
gdt.o(.text+0x298): In function `gdt_get_slot':
: undefined reference to `cpu_info_primary'
gdt.o(.text+0x328): In function `gdt_get_slot':
: undefined reference to `cpu_info_primary'
gdt.o(.text+0x35b): In function `gdt_put_slot':
: undefined reference to `cpu_info_primary'
gdt.o(.text+0x3a0): In function `gdt_put_slot':
: undefined reference to `cpu_info_primary'
machdep.o(.text+0x9c): In function `cpu_startup':
: undefined reference to `cpu_info_primary'
machdep.o(.text+0xab): more undefined references to `cpu_info_primary' follow
pmap.o(.text+0x2de2): In function `pmap_tlb_shootdown':
: undefined reference to `cpu_info_list'
pmap.o(.text+0x2e11): In function `pmap_tlb_shootdown':
: undefined reference to `cpu_info_primary'
pmap.o(.text+0x2e8f): In function `pmap_tlb_shootdown':
: undefined reference to `cpu_info_primary'
trap.o(.text+0xb): In function `trap':
: undefined reference to `cpu_info_primary'
trap.o(.text+0x66a): In function `trap':
: undefined reference to `cpu_info_primary'
trap.o(.text+0x71b): In function `trapwrite':
: undefined reference to `cpu_info_primary'
trap.o(.text+0x7d2): more undefined references to `cpu_info_primary' follow
*** Error code 1
Stop in /usr/src/sys/arch/i386/compile/NET4511 (line 337 of Makefile).
More information about the Soekris-tech
mailing list