Custom Kernel failes during Make or make buildkernel KERNCONF=JPEC

Dan Nelson dnelson at allantgroup.com
Wed May 14 15:27:07 PDT 2003


In the last episode (May 14), Eric said:
> Ok going either the traditional or the new way my Kernel fails during the
> "make" process:
> Here is the output of the error:
> 
> -------- start error -------------
> touch hack.c
> cc -shared -nostdlib hack.c -o hack.So
> rm -f hack.c
> sh ../../conf/newvers.sh JPEC
> cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extension
> s -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilte
> r -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 vers.c
> linking kernel
> umass.o: In function `umass_cam_attach_sim':
> umass.o(.text+0x140f): undefined reference to `cam_simq_alloc'
...
> # SCSI peripherals
> #device scbus # SCSI bus (required)
> #device da # Direct Access (disks)
...
> device umass # Disks/Mass storage - Requires scbus and da

Uncomment scbus and da.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list