Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2010 10:01:54 GMT
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/152736: Kernel fails to build without AH_SUPPORT_AR5416
Message-ID:  <201012011001.oB1A1ssq098033@red.freebsd.org>
Resent-Message-ID: <201012011010.oB1AA8A8055850@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152736
>Category:       kern
>Synopsis:       Kernel fails to build without AH_SUPPORT_AR5416
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 01 10:10:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     David Demelier
>Release:        8.1-RELEASE-p1
>Organization:
>Environment:
FreeBSD Melon.malikania.fr 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Sun Nov 28 21:07:08 UTC 2010     root@:/usr/obj/usr/src/sys/Melon  amd64

>Description:
As read here :

http://lists.freebsd.org/pipermail/freebsd-current/2009-May/006417.html

We could compile kernel without AH_SUPPORT_AR5416, but here it still fails to build :

cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -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  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror  /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c: In function 'ar5416ProcRxDesc':
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:111: error: 'struct ath_rx_status' has no member named 'rs_flags'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:119: error: 'struct ath_rx_status' has no member named 'rs_rssi_ctl'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:120: error: 'struct ath_rx_status' has no member named 'rs_rssi_ctl'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:121: error: 'struct ath_rx_status' has no member named 'rs_rssi_ctl'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:122: error: 'struct ath_rx_status' has no member named 'rs_rssi_ext'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:123: error: 'struct ath_rx_status' has no member named 'rs_rssi_ext'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:124: error: 'struct ath_rx_status' has no member named 'rs_rssi_ext'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:135: error: 'struct ath_rx_status' has no member named 'rs_isaggr'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:136: error: 'struct ath_rx_status' has no member named 'rs_moreaggr'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:140: error: 'struct ath_rx_status' has no member named 'rs_flags'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:142: error: 'struct ath_rx_status' has no member named 'rs_flags'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:145: error: 'struct ath_rx_status' has no member named 'rs_flags'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:147: error: 'struct ath_rx_status' has no member named 'rs_flags'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:149: error: 'struct ath_rx_status' has no member named 'rs_flags'
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:151: error: 'struct ath_rx_status' has no member named 'rs_flags'
*** Error code 1

Stop in /usr/obj/usr/src/sys/Melon.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src
>How-To-Repeat:

>Fix:
Include AH_SUPPORT_AR5416 by default.

>Release-Note:
>Audit-Trail:
>Unformatted:



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