[FUG-BR] Bug ao compilar o kernel atualizado

Zhu Sha Zang zhushazang em yahoo.com.br
Terça Abril 21 12:00:31 BRT 2009


Joao Rocha Braga Filho escreveu:
> Fui compilar o kernel e tive o seguinte erro:
> 
> "
> 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
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> "
> 
> Acho que estamos com problemas no driver da Atheros.
> 
> Vou fazer cvsup e ver o que acontece, se continua. Se continuar
> acho que vou fazer um BUG Report.
> 
> 
> João Rocha.
> 
> 

The following reply was made to PR kern/133892; it has been noted by GNATS.

From: Ruslan Ermilov <ru em FreeBSD.org>
To: =?koi8-r?Q?Jo=E3o?= Rocha Braga Filho <goffredo em gmail.com>
Cc: Sam Leffler <sam em FreeBSD.org>, bug-followup em 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 em 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 em FreeBSD.org
 FreeBSD committer
_______________________________________________
freebsd-bugs em freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe em freebsd.org"

__________________________________________________
Faça ligações para outros computadores com o novo Yahoo! Messenger 
http://br.beta.messenger.yahoo.com/ 


Mais detalhes sobre a lista de discussão freebsd