From owner-freebsd-questions Mon Jul 29 22:45:21 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 E4AB737B401 for ; Mon, 29 Jul 2002 22:45:14 -0700 (PDT) Received: from web14703.mail.yahoo.com (web14703.mail.yahoo.com [216.136.224.120]) by mx1.FreeBSD.org (Postfix) with SMTP id 62CDE43E3B for ; Mon, 29 Jul 2002 22:45:14 -0700 (PDT) (envelope-from wayneclubin@yahoo.com) Message-ID: <20020730054514.29149.qmail@web14703.mail.yahoo.com> Received: from [64.131.161.101] by web14703.mail.yahoo.com via HTTP; Mon, 29 Jul 2002 22:45:14 PDT Date: Mon, 29 Jul 2002 22:45:14 -0700 (PDT) From: Wayne Lubin Subject: kernel compiling errors To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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. 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