Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2001 11:06:01 -0500 (EST)
From:      Matthew Emmerton <matt@gsicomp.on.ca>
To:        tim cheadle <tcheadle@gmu.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: kernel issues
Message-ID:  <Pine.BSF.4.21.0103011105000.22128-100000@xena.gsicomp.on.ca>
In-Reply-To: <3A9DEBC3.90CF8E5A@gmu.edu>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0103011105000.22128-100000>