Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 17:14:52 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Fred Patmore <freefred@bluebottle.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Building custom kernel - 'make' fails in FreeBSD 5.3
Message-ID:  <20041215161452.GA68916@falcon.midgard.homeip.net>
In-Reply-To: <41C062F8.9060705@bluebottle.com>
References:  <20041215095348.B86F816A4DB@hub.freebsd.org> <41C062F8.9060705@bluebottle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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. 


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041215161452.GA68916>