kernel compile error - ata_modify_if_48bit
Mathieu Prevot
freebsd-stable at club-internet.fr
Tue Feb 21 09:47:37 PST 2006
On Mon, Feb 06, 2006 at 12:50:19PM +0200, ianchov at 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
More information about the freebsd-stable
mailing list