From owner-freebsd-questions Mon Apr 26 2:22:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-11.mail.demon.net (finch-post-11.mail.demon.net [194.217.242.39]) by hub.freebsd.org (Postfix) with ESMTP id DC90B1514A for ; Mon, 26 Apr 1999 02:22:22 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-11.mail.demon.net with smtp (Exim 2.12 #1) id 10bhal-0001nU-0B; Mon, 26 Apr 1999 09:22:20 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from support-3.uk.radan.com (support-3 [193.114.228.220]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id KAA01597; Mon, 26 Apr 1999 10:22:10 +0100 Received: from uk.radan.com by support-3.uk.radan.com (SMI-8.6/SMI-SVR4) id KAA04503; Mon, 26 Apr 1999 10:22:10 +0100 Message-ID: <37243007.DD7565B4@uk.radan.com> Date: Mon, 26 Apr 1999 10:21:11 +0100 From: Mark Ovens Organization: Radan Computational Ltd X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 4.1.3_U1 sun4m) X-Accept-Language: en-GB MIME-Version: 1.0 To: Zheng Bokui Cc: freebsd-questions@freebsd.org Subject: Re: error recompile kernel References: <3724F75C.EFF92504@sin.photronics.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Zheng Bokui wrote: > > Hi, > I just tried to customize my kernel (3.1-stable). After editing the > configuration file, I did: > > # /usr/sbin/config MYKERNEL # MYKERNEL is the new configuration file > # cd ../../compile/MYKERNEL > # make depend > # make > > After aroud 20Mins, I got an error. Following is the last few lines: > > dpt_scsi.o(.text+0x8c0): undefined reference to `xpt_done' > dpt_scsi.o: In function `dpt_action': > dpt_scsi.o(.text+0x8f7): undefined reference to `xpt_print_path' > dpt_scsi.o(.text+0xa10): undefined reference to `xpt_freeze_simq' > dpt_scsi.o(.text+0xc5c): undefined reference to `xpt_freeze_simq' > dpt_scsi.o(.text+0xe65): undefined reference to `xpt_done' > dpt_scsi.o: In function `dpt_attach': > dpt_scsi.o(.text+0x1672): undefined reference to `cam_simq_alloc' > dpt_scsi.o(.text+0x1692): undefined reference to `xpt_bus_deregister' > dpt_scsi.o(.text+0x16a9): undefined reference to `cam_sim_free' > dpt_scsi.o(.text+0x16de): undefined reference to `cam_sim_alloc' > dpt_scsi.o(.text+0x16ec): undefined reference to `xpt_bus_register' > dpt_scsi.o(.text+0x170a): undefined reference to `xpt_create_path' > dpt_scsi.o: In function `dpt_intr': > dpt_scsi.o(.text+0x1a22): undefined reference to `xpt_done' > dpt_scsi.o: In function `dptprocesserror': > dpt_scsi.o(.text+0x1bf0): undefined reference to `xpt_done' > dpt_scsi.o: In function `dpttimeout': > dpt_scsi.o(.text+0x1c12): undefined reference to `xpt_print_path' > dpt_scsi.o(.text+0x1c3c): undefined reference to `xpt_print_path' > *** Error code 1 > > Stop. > > What's going wrong? Actually I don't need any SCSI support in my kernel. > You appear to have *some* SCSI stuff in your kernel config file. I *think* the messages you are seeing are caused by ``device dpt0''. Post your kernel config file if you still have problems. > Thanks in advance, > Bokui > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message