From owner-freebsd-current Thu Dec 5 19:27:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72A0737B401 for ; Thu, 5 Dec 2002 19:27:25 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0568443ECD for ; Thu, 5 Dec 2002 19:27:25 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id gB63RJlA003541; Thu, 5 Dec 2002 21:27:19 -0600 (CST) (envelope-from dan) Date: Thu, 5 Dec 2002 21:27:19 -0600 From: Dan Nelson To: Marcel Moolenaar Cc: current@FreeBSD.ORG Subject: Re: Build failure: ata_boot_attach() references ata_raid_attach() Message-ID: <20021206032719.GB34916@dan.emsphone.com> References: <20021206012334.GA1274@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021206012334.GA1274@athlon.pn.xcllnt.net> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Dec 05), Marcel Moolenaar said: > Gang, > > Anyone seen the following build failure? > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I/nfs/freebsd/5.x/src/sys -I/nfs/freebsd/5.x/src/sys/dev -I/nfs/freebsd/5.x/src/sys/contrib/dev/acpica -I/nfs/freebsd/5.x/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -fno-common -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata -ffreestanding -Werror vers.c > linking kernel.debug > ata-all.o: In function `ata_boot_attach': > /nfs/freebsd/5.x/src/sys/dev/ata/ata-all.c:614: undefined reference to `ata_raid_attach' > *** Error code 1 > > Stop in /usr/obj/nfs/freebsd/5.x/src/sys/ITANIUM. > *** Error code 1 Soeren knows about this; the fix is to wrap the call to ata_raid_attach inside an #ifdef DEV_ATADISK. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message