Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2006 18:48:39 +0100
From:      Mathieu Prevot <freebsd-stable@club-internet.fr>
To:        ianchov@mail.bg
Cc:        freebsd-stable@freebsd.org
Subject:   Re: kernel compile error - ata_modify_if_48bit
Message-ID:  <20060221174839.GA1273@scienceclue.ath.cx>
In-Reply-To: <1139223019.08a34af8adbfc@mail.bg>
References:  <1139223019.08a34af8adbfc@mail.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060221174839.GA1273>