Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 22:55:13 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        Wayne Lubin <wayneclubin@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: kernel compiling errors
Message-ID:  <3D462A41.80108@owt.com>
References:  <20020730054514.29149.qmail@web14703.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Wayne Lubin wrote:

> Hi,
> 
> I am getting an error when I try to compile the
> kernel. The tail end of the msgs I get are shown
> below. Any suggestions would be appreciated.


You didn't pay attention to the requirements on the USB's umass 
device. Comment out umass or add scbus and da.

Kent


> 
> Wayne
> 
> 
> cc -elf -shared -nostdlib hack.c -o hack.So
> rm -f hack.c
> sh ../../conf/newvers.sh MYKERNEL 
> cc -c -O -pipe  -Wall -Wredundant-decls
> -Wnested-externs -Wstrict-prototypes 
> -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-
> -I. -I../.. -I../../../include
> -I../../contrib/ipfilter  -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+0x12bf): undefined reference to
> `cam_simq_alloc'
> umass.o(.text+0x12e5): undefined reference to
> `cam_sim_alloc'
> umass.o(.text+0x12fe): undefined reference to
> `xpt_bus_register'
> umass.o(.text+0x130e): undefined reference to
> `cam_simq_free'
> umass.o: In function `umass_cam_rescan_callback':
> umass.o(.text+0x1327): undefined reference to
> `xpt_free_path'
> umass.o: In function `umass_cam_rescan':
> umass.o(.text+0x1371): undefined reference to
> `xpt_periph'
> umass.o(.text+0x137a): undefined reference to
> `xpt_create_path'
> umass.o(.text+0x138d): undefined reference to
> `xpt_setup_ccb'
> umass.o(.text+0x13a8): undefined reference to
> `xpt_action'
> umass.o: In function `umass_cam_detach_sim':
> umass.o(.text+0x145f): undefined reference to
> `xpt_bus_deregister'
> umass.o(.text+0x147d): undefined reference to
> `cam_sim_free'
> umass.o: In function `umass_cam_detach':
> umass.o(.text+0x14be): undefined reference to
> `xpt_create_path'
> umass.o(.text+0x14df): undefined reference to
> `xpt_async'
> umass.o(.text+0x14e7): undefined reference to
> `xpt_free_path'
> umass.o: In function `umass_cam_action':
> umass.o(.text+0x1805): undefined reference to
> `xpt_done'
> umass.o(.text+0x1815): undefined reference to
> `xpt_done'
> umass.o: In function `umass_cam_cb':
> umass.o(.text+0x1911): undefined reference to
> `xpt_done'
> umass.o: In function `umass_cam_sense_cb':
> umass.o(.text+0x1988): undefined reference to
> `xpt_done'
> umass.o(.text+0x1999): undefined reference to
> `xpt_done'
> *** Error code 1
> 
> Stop in /usr/src/sys/compile/MYKERNEL.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> .
> 
> 


-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


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?3D462A41.80108>