Date: Wed, 28 Feb 2001 22:52:23 -0800 From: Kent Stewart <kstewart@urx.com> To: tim cheadle <tcheadle@gmu.edu> Cc: freebsd-questions@FreeBSD.org Subject: Re: kernel issues Message-ID: <3A9DF1A7.170BAE0C@urx.com> References: <3A9DEBC3.90CF8E5A@gmu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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'
>
<snip>
> #device stg # TMC 18C30/18C50
>
> # SCSI peripherals
> #device scbus # SCSI bus (required)
> #device da # Direct Access (disks)
> #device sa # Sequential Access (tape etc)
> #device cd # CD
<snip>
> device ukbd # Keyboard
> device ulpt # Printer
> device umass # Disks/Mass storage - Requires scbus and da
^^^^^^^^^^^^
Read the above and then look at your line for scbus and da
Kent
--
Kent Stewart
Richland, WA
mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/
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?3A9DF1A7.170BAE0C>
