From owner-freebsd-questions Wed Aug 7 11:30:30 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 DA9ED37B400 for ; Wed, 7 Aug 2002 11:30:24 -0700 (PDT) Received: from lyceum.netmojo.ca (lyceum.pims.sfu.ca [142.58.49.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2602543E70 for ; Wed, 7 Aug 2002 11:30:24 -0700 (PDT) (envelope-from brent@lyceum.netmojo.ca) Received: (from brent@localhost) by lyceum.netmojo.ca (8.11.6/8.11.6) id g77IYoF33511 for questions@freebsd.org; Wed, 7 Aug 2002 11:34:50 -0700 (PDT) (envelope-from brent) Date: Wed, 7 Aug 2002 11:34:50 -0700 From: Brent Kearney To: questions@freebsd.org Subject: kernel build fails Message-ID: <20020807113450.A33453@kearneys.ca> Reply-To: brent@kearneys.ca Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-URL: http://brent.kearneys.ca 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 Hello, I installed FreeBSD 4.5 from CD, created a custom kernel config, ran 'config MYNEWKERNEL', 'cd ../../compile/MYNEWKERNEL ; make depend ; make', and the build fails. I updated the sources using cvsup, then tried again, (after a 'make clean'), and got the same results. It does this consistently, and using the 'make buildkernel KERNEL=MYNEWKERNEL' method gives the same results (last part of the output is below). Something must be missing... Any constructive suggestions are most welcome. Thanks, Brent cc -c -O -pipe -march=pentium -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 config.c cc -c -O -pipe -march=pentium -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 setdef1.c touch hack.c cc -elf -shared -nostdlib hack.c -o hack.So rm -f hack.c sh ../../conf/newvers.sh MYNEWKERNEL cc -c -O -pipe -march=pentium -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+0x13af): undefined reference to `cam_simq_alloc' umass.o(.text+0x13d5): undefined reference to `cam_sim_alloc' umass.o(.text+0x13ee): undefined reference to `xpt_bus_register' umass.o(.text+0x13fe): undefined reference to `cam_simq_free' umass.o: In function `umass_cam_rescan_callback': umass.o(.text+0x141c): undefined reference to `xpt_free_path' umass.o: In function `umass_cam_rescan': umass.o(.text+0x1469): undefined reference to `xpt_periph' umass.o(.text+0x1473): undefined reference to `xpt_create_path' umass.o(.text+0x1487): undefined reference to `xpt_setup_ccb' umass.o(.text+0x14a2): undefined reference to `xpt_action' umass.o: In function `umass_cam_detach_sim': umass.o(.text+0x1564): undefined reference to `xpt_bus_deregister' umass.o(.text+0x1581): undefined reference to `cam_sim_free' umass.o: In function `umass_cam_detach': umass.o(.text+0x15c8): undefined reference to `xpt_create_path' umass.o(.text+0x15e8): undefined reference to `xpt_async' umass.o(.text+0x15f1): undefined reference to `xpt_free_path' umass.o: In function `umass_cam_action': umass.o(.text+0x1919): undefined reference to `xpt_done' umass.o(.text+0x1929): undefined reference to `xpt_done' umass.o: In function `umass_cam_cb': umass.o(.text+0x1a2d): undefined reference to `xpt_done' umass.o: In function `umass_cam_sense_cb': umass.o(.text+0x1aa8): undefined reference to `xpt_done' umass.o(.text+0x1ab9): undefined reference to `xpt_done' *** Error code 1 Stop in /usr/src/sys/compile/MYNEWKERNEL. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message