Re: Kernel does not build on 10.0-CURRENT (amd64)

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Fri, 6 Jan 2012 09:30:09 -0800
i thought I had captured these.

just add

options AH_SUPPORT_AR5416

to your kernel.


Adrian

On 6 January 2012 09:14, Rainer Hurling <rhurlin_at_gwdg.de> wrote:
> I am getting the following error when trying to build recent 10.0-CURRENT
> kernel (amd64)?
>
> [..snip..]
> cc -O2 -pipe -O2 -fno-strict-aliasing -pipe -msse3 -Werror -D_KERNEL
> -DKLD_MODULE -nostdinc  -I. -I/usr/src/sys/modules/ath/../../dev/ath
> -I/usr/src/sys/modules/ath/../../dev/ath/ath_hal
> -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/obj/usr/src/sys/RHURLIN/opt_global.h -I. -I_at_ -I_at_/contrib/altq
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000 -fno-common  -fno-omit-frame-pointer
> -I/usr/obj/usr/src/sys/RHURLIN  -mno-sse -mcmodel=kernel -mno-red-zone
> -mno-mmx -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
> -fstack-protector -std=iso9899:1999 -fstack-protector -Wall
> -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
> -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option    -c
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c: In function
> 'ath_tx_aggr_comp_aggr':
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3136: error: 'struct
> ath_tx_status' has no member named 'ts_flags'
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3139: error: 'struct
> ath_tx_status' has no member named 'ts_ba_low'
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3140: error: 'struct
> ath_tx_status' has no member named 'ts_ba_high'
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3156: error: 'struct
> ath_tx_status' has no member named 'ts_tid'
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3158: error: 'struct
> ath_tx_status' has no member named 'ts_tid'
> *** Error code 1
> Stop in /usr/src/sys/modules/ath.
> *** Error code 1
>
>
> I observe this behaviour on three boxes. Any help is really appreciated.
>
> Thanks in advance,
> Rainer Hurling
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Fri Jan 06 2012 - 16:30:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:23 UTC