From owner-freebsd-questions Wed Aug 7 11:43: 7 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 0470237B400 for ; Wed, 7 Aug 2002 11:43:04 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06DBC43E42 for ; Wed, 7 Aug 2002 11:43:03 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g77IgqB17140; Wed, 7 Aug 2002 13:42:56 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020807134250.02d62db8@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Wed, 07 Aug 2002 13:42:50 -0500 To: brent@kearneys.ca, questions@FreeBSD.ORG From: "Jack L. Stone" Subject: Re: kernel build fails In-Reply-To: <20020807113450.A33453@kearneys.ca> 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 At 11:34 AM 8.7.2002 -0700, Brent Kearney wrote: > >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. > This "KERNEL=MYNEWKERNEL" should be KERNCONF=MYNEWKERNEL methinks.....?? Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message