Subject: Kernel compiling in 2.0 [100 lines long]
To: None <netbsd-users@netbsd.org>
From: Mariusz Balewski <M.Balewski@NO.SPAM.wp.pl>
List: netbsd-users
Date: 02/09/2005 11:14:18
Hi,

I got a problem with compiling kernel in NetBSD 2.0.
adjustkernel, config and make depend work correctly, but after make i
got this message:

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  ROMULUS/netbsd
ld -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e start
-X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
cd.o(.text+0x1b): In function `cdmatch':
: undefined reference to `scsipi_inqmatch'
cd.o(.text+0x18a): In function `cddetach':
: undefined reference to `scsipi_kill_pending'
cd.o(.text+0x332): In function `cdopen':
: undefined reference to `scsipi_adapter_addref'
cd.o(.text+0x393): In function `cdopen':
: undefined reference to `scsipi_adapter_delref'
cd.o(.text+0x3e6): In function `cdopen':
: undefined reference to `scsipi_prevent'
cd.o(.text+0x463): In function `cdopen':
: undefined reference to `scsipi_test_unit_ready'
cd.o(.text+0x496): In function `cdopen':
: undefined reference to `scsipi_prevent'
cd.o(.text+0x4f8): In function `cdopen':
: undefined reference to `scsipi_start'
cd.o(.text+0x5e5): In function `cdclose':
: undefined reference to `scsipi_wait_drain'
cd.o(.text+0x5f5): In function `cdclose':
: undefined reference to `scsipi_prevent'
cd.o(.text+0x601): In function `cdclose':
: undefined reference to `scsipi_wait_drain'
cd.o(.text+0x60a): In function `cdclose':
: undefined reference to `scsipi_adapter_delref'
cd.o(.text+0xc4b): In function `cdstart':
: undefined reference to `scsipi_get_xs'
cd.o(.text+0xcd1): In function `cdstart':
: undefined reference to `scsipi_command'
cd.o(.text+0x10e8): In function `cd_interpret_sense':
: undefined reference to `scsipi_periph_timed_thaw'
cd.o(.text+0x110a): In function `cd_interpret_sense':
: undefined reference to `scsipi_periph_freeze'
cd.o(.text+0x1434): In function `cdioctl':
: undefined reference to `scsipi_do_ioctl'
: undefined reference to `scsipi_prevent'
cd.o(.text+0x155b): In function `cdioctl':
: undefined reference to `scsipi_start'
cd.o(.text+0x1875): In function `cdioctl':
: undefined reference to `scsipi_prevent'
cd.o(.text+0x1f0c): In function `cd_size':
: undefined reference to `scsipi_command'
cd.o(.text+0x2090): In function `cd_play':
: undefined reference to `scsipi_command'
cd.o(.text+0x21a7): In function `cd_play_msf':
: undefined reference to `scsipi_command'
cd.o(.text+0x21f1): In function `cd_pause':
: undefined reference to `scsipi_command'
cd.o(.text+0x2224): In function `cd_reset':
: undefined reference to `scsipi_command'
cd.o(.text+0x2297): more undefined references to `scsipi_command' follow
cd.o(.text+0x2d1b): In function `cd_mode_sense':
: undefined reference to `scsipi_mode_sense_big'
cd.o(.text+0x2d4e): In function `cd_mode_sense':
: undefined reference to `scsipi_mode_sense'
cd.o(.text+0x2d96): In function `cd_mode_select':
: undefined reference to `scsipi_mode_select_big'
cd.o(.text+0x2dc8): In function `cd_mode_select':
: undefined reference to `scsipi_mode_select'
cd.o(.text+0x30bb): In function `cd_load_unload':
: undefined reference to `scsipi_command'
pciide_common.o(.text+0x81e): In function `pciide_pci_intr':
: undefined reference to `wdcintr'
pciide_common.o(.text+0x1304): In function `default_chip_map':
: undefined reference to `wdcattach'
pciide_common.o(.text+0x1315): In function `default_chip_map':
: undefined reference to `wdcprobe'
pciide_common.o(.text+0x13b3): In function `default_chip_map':
: undefined reference to `wdcprobe'
pciide_common.o(.text+0x7bd): In function `pciide_compat_intr':
: undefined reference to `wdcintr'
pciide_common.o(.text+0x102f): In function `pciide_mapchan':
: undefined reference to `wdcattach'
auich.o(.text+0x483): In function `auich_finish_attach':
: undefined reference to `audio_attach_mi'
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/i386/compile/ROMULUS



Any suggestion? What is wrong? I dont have SCSI bus, and nothing extra
in my PC.

regards
Mariusz