From owner-freebsd-questions Mon Apr 26 0:29:59 1999 Delivered-To: freebsd-questions@freebsd.org Received: from redhades.photronics.com (redhades.photronics.com [207.77.140.2]) by hub.freebsd.org (Postfix) with ESMTP id E7E741505A for ; Mon, 26 Apr 1999 00:29:57 -0700 (PDT) (envelope-from bokui@sin.photronics.com) Received: from nimitz.photronics.com (NIMITZ.PHOTRONICS.COM [192.133.56.23]) by redhades.photronics.com (8.8.8+Sun/8.8.8) with ESMTP id AAA09661 for ; Mon, 26 Apr 1999 00:29:57 -0700 (PDT) Received: from mailsin (mailsin.sin.photronics.com [206.220.68.2]) by nimitz.photronics.com (8.8.8+Sun/8.8.8) with SMTP id AAA17461 for ; Mon, 26 Apr 1999 00:29:55 -0700 (PDT) Received: from sin.photronics.com (linux.sin.photronics.com) by mailsin (4.1/SMI-4.1) id AA16558; Mon, 26 Apr 99 15:29:57 SGT Message-Id: <3724F75C.EFF92504@sin.photronics.com> Date: Mon, 26 Apr 1999 15:31:41 -0700 From: Zheng Bokui X-Mailer: Mozilla 4.04 [en] (Win95; I) Mime-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: error recompile kernel Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. Thanks in advance, Bokui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message