From owner-freebsd-questions Fri Dec 20 21:39:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14A5E37B401 for ; Fri, 20 Dec 2002 21:39:10 -0800 (PST) Received: from tomts13-srv.bellnexxia.net (tomts13.bellnexxia.net [209.226.175.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23CB143EE5 for ; Fri, 20 Dec 2002 21:39:09 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([65.95.186.92]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021221053908.JDJ12997.tomts13-srv.bellnexxia.net@xena.gsicomp.on.ca>; Sat, 21 Dec 2002 00:39:08 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.3/8.11.3) with SMTP id gBL5d5S06208; Sat, 21 Dec 2002 00:39:05 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <001501c2a8b3$499b44c0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: , References: <20021221052532.OVEZ2284.lakemtao07.cox.net@smtp.central.cox.net> Subject: Re: Help With Custom Kernel Date: Sat, 21 Dec 2002 00:39:08 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: To: 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