Problems with Make while configuring the kernel for FreeBSD 5.0

John Murphy jfm at blueyonder.co.uk
Tue Apr 15 11:26:26 PDT 2003


Jason Griffis <jgriffis at ec.rr.com> wrote:

>Basically everything is working fine until it goes to link the kernel:
>
>linking kernel
>umass.o: In function `umass_cam_attach_sim':
>umass.o(.text+0x1851): undefined reference to `cam_simq_alloc'
>umass.o(.text+0x189c): undefined reference to `cam_sim_alloc'
>umass.o(.text+0x18ad): undefined reference to `cam_simq_free'
>umass.o(.text+0x18c9): undefined reference to `xpt_bus_register'
>umass.o: In function `umass_cam_rescan_callback':
>umass.o(.text+0x1903): undefined reference to `xpt_free_path'
>umass.o: In function `umass_cam_rescan':
>umass.o(.text+0x1975): undefined reference to `xpt_periph'
>umass.o(.text+0x1984): undefined reference to `xpt_create_path'
>umass.o(.text+0x19a0): undefined reference to `xpt_setup_ccb'
>umass.o(.text+0x19bd): undefined reference to `xpt_action'
>umass.o: In function `umass_cam_detach_sim':
>umass.o(.text+0x1b0b): undefined reference to `xpt_bus_deregister'
>umass.o(.text+0x1b29): undefined reference to `cam_sim_free'
>umass.o: In function `umass_cam_detach':
>umass.o(.text+0x1b94): undefined reference to `xpt_create_path'
>umass.o(.text+0x1bb9): undefined reference to `xpt_async'
>umass.o(.text+0x1bc4): undefined reference to `xpt_free_path'
>umass.o: In function `umass_cam_action':
>umass.o(.text+0x1f70): undefined reference to `xpt_done'
>umass.o: In function `umass_cam_cb':
>umass.o(.text+0x20bc): undefined reference to `xpt_done'
>umass.o: In function `umass_cam_sense_cb':
>umass.o(.text+0x2221): undefined reference to `xpt_done'
>umass.o: In function `umass_cam_quirk_cb':
>umass.o(.text+0x2244): undefined reference to `xpt_done'
>*** Error code 1
>
>Stop in /usr/src/sys/i386/compile/TRONDEMON.
>#
>
>Any help would be appreciated as this is my first attempt at anything this 
>critical. I'll also paste the kernel config I'm trying to use.

device umass requires scbus and da

>
<snip>
># SCSI peripherals
>#device         scbus           # SCSI bus (required)
>#device         ch              # SCSI media changers
>#device         da              # Direct Access (disks)

<snip>
>device          umass           # Disks/Mass storage - Requires scbus and da
>device          ums             # Mouse                ^^^^^^^^^^^^^^^^^^^^^
>device          urio            # Diamond Rio 500 MP3 player
>device          uscanner        # Scanners
># USB Ethernet, requires mii
>#device         aue             # ADMtek USB ethernet
>#device         cue             # CATC USB ethernet
>#device         kue             # Kawasaki LSI USB ethernet

HTH
John.


More information about the freebsd-questions mailing list