From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 16:14:55 2004 Return-Path: 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 A2BA916A4CE for ; Wed, 15 Dec 2004 16:14:55 +0000 (GMT) Received: from av6-2-sn2.hy.skanova.net (av6-2-sn2.hy.skanova.net [81.228.8.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45CF043D54 for ; Wed, 15 Dec 2004 16:14:54 +0000 (GMT) (envelope-from ertr1013@student.uu.se) Received: by av6-2-sn2.hy.skanova.net (Postfix, from userid 502) id 1CBFC37E57; Wed, 15 Dec 2004 17:14:53 +0100 (CET) Received: from smtp2-1-sn2.hy.skanova.net (smtp2-1-sn2.hy.skanova.net [81.228.8.177]) by av6-2-sn2.hy.skanova.net (Postfix) with ESMTP id 0C34D37E43 for ; Wed, 15 Dec 2004 17:14:53 +0100 (CET) Received: from falcon.midgard.homeip.net (h201n1fls24o1048.bredband.comhem.se [212.181.162.201]) by smtp2-1-sn2.hy.skanova.net (Postfix) with SMTP id DCCCE37E47 for ; Wed, 15 Dec 2004 17:14:52 +0100 (CET) Received: (qmail 69275 invoked by uid 1001); 15 Dec 2004 16:14:52 -0000 Date: Wed, 15 Dec 2004 17:14:52 +0100 From: Erik Trulsson To: Fred Patmore Message-ID: <20041215161452.GA68916@falcon.midgard.homeip.net> Mail-Followup-To: Fred Patmore , freebsd-questions@freebsd.org References: <20041215095348.B86F816A4DB@hub.freebsd.org> <41C062F8.9060705@bluebottle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41C062F8.9060705@bluebottle.com> User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: Building custom kernel - 'make' fails in FreeBSD 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 16:14:55 -0000 On Wed, Dec 15, 2004 at 05:14:48PM +0100, Fred Patmore wrote: > Hi, > I've just installed FreeBSD (after removing it due to portupgrade gone > awry), did CVSup and now trying to build a custom kernel. > > make depend was successful > > but I get the following error messages when doing 'make' > > [root@whitemoon /usr/src/sys/i386/compile/C-KERNEL#] make > linking kernel > umass.o(.text+0x1ab3): In function `umass_cam_attach_sim': > : undefined reference to `cam_simq_alloc' > umass.o(.text+0x1b04): In function `umass_cam_attach_sim': > : undefined reference to `cam_sim_alloc' [snip] > > 'make' > > Stop in /usr/src/sys/i386/compile/C-KERNEL. > [root@whitemoon /usr/src/sys/i386/compile/C-KERNEL#] > -------------- > > This is my kernel conf > > # > # GENERIC -- Generic kernel configuration file for FreeBSD/i386 > # > # For more information on this file, please read the handbook section on > # Kernel Configuration Files: > # > # > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > # > # The handbook is also available locally in /usr/share/doc/handbook > # if you've installed the doc distribution, otherwise always see the > # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the > # latest information. > # > # An exhaustive list of options and more detailed explanations of the > # device lines is also present in the ../../conf/NOTES and NOTES files. > # If you are in doubt as to the purpose or necessity of a line, check first > # in NOTES. > # > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.6.2.2 2004/10/24 > 18:02:52 scottl Exp $ > > machine i386 > #cpu I486_CPU > #cpu I586_CPU > cpu I686_CPU > ident C-KERNEL [snip] > device ugen # Generic > #device uhid # "Human Interface Devices" > device ukbd # Keyboard > #device ulpt # Printer > device umass # Disks/Mass storage - Requires scbus and da You see that part about 'Requires scbus and da' ? They do mean it. > device ums # Mouse > #device urio # Diamond Rio 500 MP3 player > #device uscanner # Scanners > # USB Ethernet, requires mii > #device aue # ADMtek USB Ethernet > #device axe # ASIX Electronics USB Ethernet > #device cue # CATC USB Ethernet > #device kue # Kawasaki LSI USB Ethernet > #device rue # RealTek RTL8150 USB Ethernet > > # FireWire support > #device firewire # FireWire bus code > #device sbp # SCSI over FireWire (Requires scbus and da) > #device fwe # Ethernet over FireWire (non-standard!) > > -- > Since I have no SCSI devices, I've removed anything that has something > to do with SCSI from the conf files. Could that be it ? (if you cant > tell by now, I am fairly new to this :-) That is it. -- Erik Trulsson ertr1013@student.uu.se