kern/133892: /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const
struct ath_rx_status' has no member named 'rs_flags'
Ruslan Ermilov
ru at FreeBSD.org
Tue Apr 21 14:40:03 UTC 2009
The following reply was made to PR kern/133892; it has been noted by GNATS.
From: Ruslan Ermilov <ru at FreeBSD.org>
To: =?koi8-r?Q?Jo=E3o?= Rocha Braga Filho <goffredo at gmail.com>
Cc: Sam Leffler <sam at FreeBSD.org>, bug-followup at FreeBSD.org
Subject: Re: kern/133892: /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const
struct ath_rx_status' has no member named 'rs_flags'
Date: Tue, 21 Apr 2009 17:49:29 +0400
On Tue, Apr 21, 2009 at 01:11:05PM +0000, João Rocha Braga Filho wrote:
> >Number: 133892
> >Category: kern
> >Synopsis: /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags'
> >Confidential: no
> >Severity: critical
> >Priority: medium
> >Responsible: freebsd-bugs
> >State: open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class: sw-bug
> >Submitter-Id: current-users
> >Arrival-Date: Tue Apr 21 13:20:00 UTC 2009
> >Closed-Date:
> >Last-Modified:
> >Originator: João Rocha Braga Filho
> >Release: FreeBSD 7.1 AMD64
> >Organization:
> Paraty.com
> >Environment:
> FreeBSD super.paraty.com 7.1-STABLE FreeBSD 7.1-STABLE #1: Wed Feb 11 18:11:05 BRST 2009 root at super.paraty.com:/usr/obj/usr/src/sys/SUPER amd64
>
> >Description:
> I've made csup to the latest version, RELENG_7, "made buildkernel", and happened this:
>
> "
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=athlon64 -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/SUPER.
> *** Error code 1
>
I've reported this to Sam a while ago. The solution exists, but is not
immediate (not in SVN/CVS yet). In the mean time you can do:
rm -rf /usr/obj
Then your buildkernel will complete successfully.
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
More information about the freebsd-bugs
mailing list