From owner-freebsd-questions Thu Mar 1 8: 7:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id 94F0237B718 for ; Thu, 1 Mar 2001 08:07:50 -0800 (PST) (envelope-from matt@xena.gsicomp.on.ca) Received: from localhost (matt@localhost) by xena.gsicomp.on.ca (8.11.1/8.9.3) with ESMTP id f21G61c22200; Thu, 1 Mar 2001 11:06:01 -0500 (EST) (envelope-from matt@xena.gsicomp.on.ca) Date: Thu, 1 Mar 2001 11:06:01 -0500 (EST) From: Matthew Emmerton To: tim cheadle Cc: freebsd-questions@FreeBSD.ORG Subject: Re: kernel issues In-Reply-To: <3A9DEBC3.90CF8E5A@gmu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 1 Mar 2001, tim cheadle wrote: > I am trying to configure a custom fbsd kernel for the first time, and > I'm getting an error when I do a make. config doesn't catch any errors, > so I'm pretty confused. I've attached my kernel configuration -- Here's > the exact error: > > touch hack.c > cc -elf -shared -nostdlib hack.c -o hack.So > rm -f hack.c > sh ../../conf/newvers.sh MUNKI > cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual > -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include > -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 > vers.c > 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' If you're including 'device umass' then you *must* include 'device scbus' and 'device da'. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message