From owner-freebsd-questions@FreeBSD.ORG Wed Aug 27 20:32:43 2003 Return-Path: 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 40DAA16A4BF for ; Wed, 27 Aug 2003 20:32:43 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 704024400B for ; Wed, 27 Aug 2003 20:32:42 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h7S3Wf208722; Wed, 27 Aug 2003 20:32:41 -0700 From: Kent Stewart To: "li wei" , freebsd-questions@freebsd.org Date: Wed, 27 Aug 2003 20:32:40 -0700 User-Agent: KMail/1.5.3 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200308272032.40584.kstewart@owt.com> Subject: Re: A problem about building kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 03:32:43 -0000 On Wednesday 27 August 2003 07:49 pm, li wei wrote: > Hi,Everybody: > i want to build a custom kernel.That's my configuration You have=20 device umass # Disks/Mass storage - Requires scbus=20 and da And you commented out scbus and da. Add them back in or comment out=20 umass.=20 Kent > > Then i run > #config MYKERNEL > #cd ../compile/MYKERNEL > #make depend > #make > It's report Error here . The output info is like below: > > umass.o: In function `umass_cam_attach_sim': > umass.o(.text+0x17c7): undefined reference to `cam_simq_alloc' > umass.o(.text+0x1818): undefined reference to `cam_sim_alloc' > umass.o(.text+0x1827): undefined reference to `cam_simq_free' > umass.o(.text+0x1847): undefined reference to `xpt_bus_register' > umass.o: In function `umass_cam_rescan_callback': > umass.o(.text+0x1883): undefined reference to `xpt_free_path' > umass.o: In function `umass_cam_rescan': > umass.o(.text+0x18f5): undefined reference to `xpt_periph' > umass.o(.text+0x1904): undefined reference to `xpt_create_path' > umass.o(.text+0x1920): undefined reference to `xpt_setup_ccb' > umass.o(.text+0x193d): undefined reference to `xpt_action' > umass.o: In function `umass_cam_detach_sim': > umass.o(.text+0x1a2c): undefined reference to `xpt_bus_deregister' > umass.o(.text+0x1a48): undefined reference to `cam_sim_free' > umass.o: In function `umass_cam_action': > umass.o(.text+0x1ebd): undefined reference to `xpt_done' > umass.o: In function `umass_cam_cb': > umass.o(.text+0x202b): undefined reference to `xpt_done' > umass.o: In function `umass_cam_sense_cb': > umass.o(.text+0x2191): undefined reference to `xpt_done' > umass.o: In function `umass_cam_quirk_cb': > umass.o(.text+0x21bb): undefined reference to `xpt_done' > *** Error code 1 > > I don't understand those message means. So help me ! > > > > =E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80k= kndguy@hotmail.com > =E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80= =E3=80=80=E3=80=802003-08-28 > > _________________________________________________________________ > =E5=85=8D=E8=B4=B9=E4=B8=8B=E8=BD=BD MSN Explorer: http://explorer.msn.= com/lccn/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" =2D-=20 Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html