Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2002 00:39:08 -0500
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        <elarsen2@cox.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Help With Custom Kernel
Message-ID:  <001501c2a8b3$499b44c0$1200a8c0@gsicomp.on.ca>
References:  <20021221052532.OVEZ2284.lakemtao07.cox.net@smtp.central.cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <elarsen2@cox.net>
To: <freebsd-questions@FreeBSD.ORG>
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 majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001501c2a8b3$499b44c0$1200a8c0>