Date: Thu, 18 Apr 2002 15:20:24 +0100 From: Daniel Bye <dan@slightlystrange.org> To: freebsd-questions@FreeBSD.ORG Subject: Re: Building kernel on a i386 with FBSD 4.4 Message-ID: <20020418142024.GA16147@icarus.slightlystrange.org> In-Reply-To: <20020418132007.VQSN22769.fepC.post.tele.dk@there> References: <20020418132007.VQSN22769.fepC.post.tele.dk@there>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 18, 2002 at 03:20:10PM +0200, Daniel Blankensteiner wrote: > Hi > > When I try to build my kernel, I get this error message: > rafter# make > linking kernel > umass.o: In function `umass_cam_attach_sim': > umass.o(.text+0x1257): undefined reference to `cam_simq_alloc' > umass.o(.text+0x127d): undefined reference to `cam_sim_alloc' > umass.o(.text+0x1296): undefined reference to `xpt_bus_register' > umass.o(.text+0x12a6): undefined reference to `cam_simq_free' > umass.o: In function `umass_cam_rescan_callback': > umass.o(.text+0x12bf): undefined reference to `xpt_free_path' > umass.o: In function `umass_cam_rescan': > umass.o(.text+0x1309): undefined reference to `xpt_periph' > umass.o(.text+0x1312): undefined reference to `xpt_create_path' > umass.o(.text+0x1325): undefined reference to `xpt_setup_ccb' > umass.o(.text+0x1340): undefined reference to `xpt_action' > umass.o: In function `umass_cam_detach_sim': > umass.o(.text+0x13f7): undefined reference to `xpt_bus_deregister' > umass.o(.text+0x1415): undefined reference to `cam_sim_free' > umass.o: In function `umass_cam_detach': > umass.o(.text+0x1456): undefined reference to `xpt_create_path' > umass.o(.text+0x1477): undefined reference to `xpt_async' > umass.o(.text+0x147f): undefined reference to `xpt_free_path' > umass.o: In function `umass_cam_action': > umass.o(.text+0x179d): undefined reference to `xpt_done' > umass.o(.text+0x17ad): undefined reference to `xpt_done' > umass.o: In function `umass_cam_cb': > umass.o(.text+0x18a1): undefined reference to `xpt_done' > umass.o: In function `umass_cam_sense_cb': > umass.o(.text+0x1918): undefined reference to `xpt_done' > umass.o(.text+0x1929): undefined reference to `xpt_done' > *** Error code 1 > Stop in /usr/src/sys/compile/DBKERNEL. > > Will someone please tell me what is going on and how do I fix it? > > br > db This is code for USB disk support. For this to work (if you need it), you need to enable "device scbus" and "device da". I have just built a test kernel with "device umass" but without scbus and da, and got exaclty the same sequence of errors. If you don't need umass, comment it out of your config and try again. HTH, Dan 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?20020418142024.GA16147>