From owner-freebsd-questions@FreeBSD.ORG Mon Sep 26 18:46:25 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 825D616A420 for ; Mon, 26 Sep 2005 18:46:25 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail22.sea5.speakeasy.net (mail22.sea5.speakeasy.net [69.17.117.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7545B43D55 for ; Mon, 26 Sep 2005 18:46:24 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 27044 invoked from network); 26 Sep 2005 18:46:22 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail22.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 26 Sep 2005 18:46:21 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id D024237; Mon, 26 Sep 2005 14:46:20 -0400 (EDT) Sender: lowell@be-well.ilk.org To: freebsd-questions@freebsd.org References: <16ce2d1c05092512326e6e508f@mail.gmail.com> <20050925194210.GA90189@xor.obsecurity.org> From: Lowell Gilbert Date: 26 Sep 2005 14:46:20 -0400 In-Reply-To: <20050925194210.GA90189@xor.obsecurity.org> Message-ID: <44hdc7d5vn.fsf@be-well.ilk.org> Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Kernel Compiling Problems... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 18:46:25 -0000 Kris Kennaway writes: > On Sun, Sep 25, 2005 at 03:32:25PM -0400, Robert Mendal wrote: > > Hello, I'm trying to make a custom kernel for my system for the first time > > and I'm having some problems. I followed the directions in the FreeBSD > > Handbook and printed my dmesg.boot file for reference as well. I don't > > believe I deleted or commented out anytihng that would be causing the error > > but I'm not really sure. The "configure" and "make depend" processes went > > fine. The error occurs during the "make" process. > > The error I receive is: ERROR code 1 (Undefined references to 'xpt_done') > > The error is repeated for a number of things, most of which speed past the > > screen before I can identify them. > > If anyone can give me some advice as to what I did wrong that would be much > > appreciated. Attached are my kernel conf file and my dmesg.boot file if they > > help any. > > You did omit something important..probably you didn't read the comment > that says that umass requires scsi support. > > Kris > > P.S. This question comes up every few days, so a search of the > archives would surely have answered it for you. I occasionally consider adding dependency information to something in the config(8) chain, but I haven't come up with an easy enough way to do it. The best idea I've had is to export "device" information similarly to "option" values. Then the device's compile stage could test its dependencies and give a clear error message.