bash-3.1# 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.
# link SHAPAI/netbsd
ld -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
pciide_common.o(.text+0x2de): In function `pciide_mapregs_compat':
: undefined reference to `wdc_init_shadow_regs'
pciide_common.o(.text+0x4de): In function `pciide_mapregs_native':
: undefined reference to `wdc_init_shadow_regs'
pciide_common.o(.text+0x88a): In function `pciide_pci_intr':
: undefined reference to `wdcintr'
pciide_common.o(.text+0x12de): In function `default_chip_map':
: undefined reference to `wdc_allocate_regs'
pciide_common.o(.text+0x14db): In function `default_chip_map':
: undefined reference to `wdcattach'
pciide_common.o(.text+0x14ec): In function `default_chip_map':
: undefined reference to `wdcprobe'
pciide_common.o(.text+0x158f): In function `default_chip_map':
: undefined reference to `wdcprobe'
pciide_common.o(.text+0x829): In function `pciide_compat_intr':
: undefined reference to `wdcintr'
pciide_common.o(.text+0x1177): In function `pciide_mapchan':
: undefined reference to `wdcattach'
piixide.o(.text+0x2fc): In function `piix_chip_map':
: undefined reference to `wdc_allocate_regs'
piixide.o(.text+0x1135): In function `piixsata_chip_map':
: undefined reference to `wdc_allocate_regs'
fd.o(.text+0x5ae): In function `fdstrategy':
: undefined reference to `fd_cd'
fd.o(.text+0x5b9): In function `fdstrategy':
: undefined reference to `fd_cd'
fd.o(.text+0xb72): In function `fdopen':
: undefined reference to `fd_cd'
fd.o(.text+0xb7d): In function `fdopen':
: undefined reference to `fd_cd'
fd.o(.text+0xc7d): In function `fdclose':
: undefined reference to `fd_cd'
fd.o(.text+0xc84): more undefined references to `fd_cd' follow
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/i386/compile/SHAPAI