Please read the comments in the kernel config file:

device      umass       # Disks/Mass storage - Requires scbus and da

You need to have 'device scbus' and 'device da' in your kernel to enable USB
mass storage (umass) support.

--
Matt Emmerton

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 21, 2002 12:25 AM
Subject: Help With Custom Kernel


> I am building a custom kernel so I can use my sound card.
> I am building it the ``traditional'' way. And when I type
> the second make comand It ends with the fallowing:
>
>  -include opt_global.h -elf  -mpreferred-stack-boundary=2
> vers.c
> linking kernel
> umass.o: In function `umass_cam_attach_sim':
> umass.o(.text+0x137f): undefined reference to
> `cam_simq_alloc'
> umass.o(.text+0x13a5): undefined reference to
> `cam_sim_alloc'
> umass.o(.text+0x13be): undefined reference to
> `xpt_bus_register'
> umass.o(.text+0x13ce): undefined reference to
> `cam_simq_free'
> umass.o: In function `umass_cam_rescan_callback':
> umass.o(.text+0x13e7): undefined reference to
> `xpt_free_path'
> umass.o: In function `umass_cam_rescan':
> umass.o(.text+0x1431): undefined reference to `xpt_periph'
> umass.o(.text+0x143a): undefined reference to
> `xpt_create_path'
> umass.o(.text+0x144d): undefined reference to
> `xpt_setup_ccb'
> umass.o(.text+0x1468): undefined reference to `xpt_action'
> umass.o: In function `umass_cam_detach_sim':
> umass.o(.text+0x151f): undefined reference to
> `xpt_bus_deregister'
> umass.o(.text+0x153d): undefined reference to
> `cam_sim_free'
> umass.o: In function `umass_cam_detach':
> umass.o(.text+0x157e): undefined reference to
> `xpt_create_path'
> umass.o(.text+0x159f): undefined reference to `xpt_async'
> umass.o(.text+0x15a7): undefined reference to
> `xpt_free_path'
> umass.o: In function `umass_cam_action':
> umass.o(.text+0x18c5): undefined reference to `xpt_done'
> umass.o(.text+0x18d5): undefined reference to `xpt_done'
> umass.o: In function `umass_cam_cb':
> umass.o(.text+0x19d1): undefined reference to `xpt_done'
> umass.o: In function `umass_cam_sense_cb':
> umass.o(.text+0x1ad8): undefined reference to `xpt_done'
> umass.o(.text+0x1ae9): undefined reference to `xpt_done'
> umass.o(.text+0x1b03): more undefined references to
> `xpt_done' follow
> *** Error code 1
>
> Any help would geratly be appreceated.
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to