Subject: Problem building a current macppc kernel
To: None <current-users@netbsd.org, port-macppc@netbsd.org>
From: John Klos <john@ziaspace.com>
List: current-users
Date: 02/17/2004 15:54:38
Hi,
Building a macppc kernel fails, and the stuff it's trying to link isn't
even in my kernel config file. I've commented out all cardbus and pcmcia
stuff (and double checked).
Here are the errors:
# compile ANDROMEDA/vers.o
cc -msoft-float -ffreestanding -O2 -Wreturn-type -Werror -Wall
-Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes
-Wno-sign-compare -Dmacppc=macppc -I. -I../../../../arch -I../../../..
-nostd
inc -DZS_CONSOLE_ABORT -DMAXUSERS=256 -D_KERNEL -D_KERNEL_OPT -c vers.c
# link ANDROMEDA/netbsd
ld -N -Ttext 0x100000 -e __start -S -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ}
vers.o
pccbb.o(.text+0x1b4): In function `pccbbattach':
: undefined reference to `rbus_pccbb_parent_io'
pccbb.o(.text+0x1c4): In function `pccbbattach':
: undefined reference to `rbus_pccbb_parent_mem'
pccbb.o(.text+0x4fc): In function `pccbb_pci_callback':
: undefined reference to `rbus_space_alloc'
pccbb.o(.text+0xd78): In function `pccbbintr':
: undefined reference to `cardslot_event_throw'
pccbb.o(.text+0xff4): In function `pci113x_insert':
: undefined reference to `cardslot_event_throw'
pccbb.o(.text+0x1968): In function `pccbb_pcmcia_io_alloc':
: undefined reference to `rbus_space_alloc'
pccbb.o(.text+0x1a10): In function `pccbb_pcmcia_io_free':
: undefined reference to `rbus_space_free'
pccbb.o(.text+0x200c): In function `pccbb_pcmcia_socket_enable':
: undefined reference to `pcmcia_card_gettype'
pccbb.o(.text+0x225c): In function `pccbb_pcmcia_mem_alloc':
: undefined reference to `rbus_space_alloc'
pccbb.o(.text+0x22b8): In function `pccbb_pcmcia_mem_free':
: undefined reference to `rbus_space_free'
pccbb.o(.text+0x2758): In function `pccbb_rbus_cb_space_alloc':
: undefined reference to `rbus_space_alloc'
pccbb.o(.text+0x284c): In function `pccbb_rbus_cb_space_free':
: undefined reference to `rbus_space_free'
*** Error code 1
Ideas?
John Klos
--
Strength was the virtue of paganism; obedience is the virtue of Christianity.