From owner-freebsd-questions Mon Jul 29 22:55:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0100C37B400 for ; Mon, 29 Jul 2002 22:55:17 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76D5943E6A for ; Mon, 29 Jul 2002 22:55:16 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id WAA02803; Mon, 29 Jul 2002 22:55:14 -0700 Message-ID: <3D462A41.80108@owt.com> Date: Mon, 29 Jul 2002 22:55:13 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Wayne Lubin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: kernel compiling errors References: <20020730054514.29149.qmail@web14703.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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