From owner-freebsd-stable@FreeBSD.ORG Tue Feb 21 17:47:37 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCA3616A420 for ; Tue, 21 Feb 2006 17:47:37 +0000 (GMT) (envelope-from root@scienceclue.ath.cx) Received: from scienceclue.ath.cx (l01v-212-195-193-30.d4.club-internet.fr [212.195.193.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91D3C43D8C for ; Tue, 21 Feb 2006 17:47:25 +0000 (GMT) (envelope-from root@scienceclue.ath.cx) Received: from scienceclue.ath.cx (localhost [127.0.0.1]) by scienceclue.ath.cx (8.13.4/8.13.4) with ESMTP id k1LHmj7a001352; Tue, 21 Feb 2006 18:48:46 +0100 (CET) (envelope-from root@scienceclue.ath.cx) Received: (from root@localhost) by scienceclue.ath.cx (8.13.4/8.13.4/Submit) id k1LHmerx001351; Tue, 21 Feb 2006 18:48:40 +0100 (CET) (envelope-from root) Date: Tue, 21 Feb 2006 18:48:39 +0100 From: Mathieu Prevot To: ianchov@mail.bg Message-ID: <20060221174839.GA1273@scienceclue.ath.cx> References: <1139223019.08a34af8adbfc@mail.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1139223019.08a34af8adbfc@mail.bg> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD-AMD64 6.1-PRERELEASE X-URL: http://scienceclue.ath.cx Cc: freebsd-stable@freebsd.org Subject: Re: kernel compile error - ata_modify_if_48bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mathieu Prevot List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2006 17:47:37 -0000 On Mon, Feb 06, 2006 at 12:50:19PM +0200, ianchov@mail.bg wrote: > > ------------------->>>>>>> > w -mno-sse -mno-sse2 -ffreestanding -Werror ata_if.c > cc -c -O2 -pipe -fno-strict-aliasing -march=pentium3 -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. > -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath > -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm > -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include > opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 > --param large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -ffreestanding -Werror /usr/src/sys/dev/ata/ata-all.c > /usr/src/sys/dev/ata/ata-all.c: In function `ata_modify_if_48bit': > /usr/src/sys/dev/ata/ata-all.c:812: error: `ATA_READ_NATIVE_MAX_ADDDRESS48' > undeclared (first use in this function) > /usr/src/sys/dev/ata/ata-all.c:812: error: (Each undeclared identifier is > reported only once > /usr/src/sys/dev/ata/ata-all.c:812: error: for each function it appears in.) > /usr/src/sys/dev/ata/ata-all.c:815: error: `ATA_SET_MAX_ADDRESS48' undeclared > (first use in this function) > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/TMS. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > ........................>>>>>> > that`s a snippet from the error. i have tried for 2 weeks to cvsup and then > build again but noting; > > i have done many time make clean && make cleandir before doing buildkernel and > nothing.... > > > > Could someone help? Thanks > > > ps. one remark here - when i installed freebsd i made a custom kernel with the > same conf. that breaks now Yes, I think you have removed too many things in your KERNCONF file. Attach your file or try intermediate KERNCONF files. zdrasti, Mathieu