Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 12:38:02 +0300
From:      Dennis Melentyev <dennis.melentyev@gmail.com>
To:        Maxim Sobolev <sobomax@sippysoft.com>
Cc:        stable@freebsd.org, Sam Leffler <sam@freebsd.org>, "current@freebsd.org" <current@freebsd.org>
Subject:   Re: kernel compile fails without AH_SUPPORT_AR5416
Message-ID:  <b84edfa10904160238u7a94e4aw4f60372a6b99f2a2@mail.gmail.com>
In-Reply-To: <49E6DB25.2010601@sippysoft.com>
References:  <49E6DB25.2010601@sippysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Max,

Also seen that.
Fixed with careful merging on my kernel config with GENERIC one.
There are additional strings involved:
device ath
device ath_rate_sample

After adding the later one (and probably, the first one too (?)) compiled o=
k.
Could be worth an entry in UPDATING and/or explicitly added to GENERIC.

/dennis

2009/4/16 Maxim Sobolev <sobomax@sippysoft.com>:
> Sam,
>
> What is the reason to have this option in the kernel config if kernel
> compilation fails when this option is enabled? It also affects 7-stable.
>
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing =C2=A0-std=3Dc99 =
-g -Wall
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototyp=
es
> -Wpointer-arith -Winline -Wcast-qual =C2=A0-Wundef -Wno-pointer-sign
> -fformat-extensions -nostdinc =C2=A0-I. -I/usr/src/sys
> -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -inclu=
de
> opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growth=
=3D100
> --param large-function-growth=3D1000 -mcmodel=3Dkernel -mno-red-zone
> =C2=A0-mfpmath=3D387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow =C2=A0-msoft-=
float
> -fno-asynchronous-unwind-tables -ffreestanding -Werror
> =C2=A0/usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath
> /usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap':
> /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' h=
as
> no member named 'rs_flags'
> /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' h=
as
> no member named 'rs_flags'
>
> -Maxim
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



--=20
Dennis Melentyev



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