kernel: problems compiling if_ath.c

Dan Langille dan at langille.org
Sun Apr 12 03:12:29 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Langille wrote:
> I did a cvsup for RELENG_7 earlier today.
> 
> # uname -a
> FreeBSD polo.example.org 7.1-STABLE FreeBSD 7.1-STABLE #8: Sat Apr 11
> 18:50:17 EDT 2009     dan at polo.example.org:/usr/obj/usr/src/sys/PHENOM
> amd64
> 
> No idea what went wrong here.  Clues please.
> 
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
> -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
> -I/usr/src/sys/contrib/altq -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
> -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
> -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
> -Werror  /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'
> has no member named 'rs_flags'
> /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status'
> has no member named 'rs_flags'
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/PHENOM.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 

Fixed.  The above was based upon an old GENERIC.  Sorry.

- --
Dan Langille

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknhXA8ACgkQCgsXFM/7nTwBfQCaA3UWngIxYgm34CIL8+Nersd+
b40AniDxutvGFxjvyoALjxafXn+R+uY3
=ATAk
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list