Hi,

You need to build the system with:

options AH_SUPPORT_AR5416

.. even if you're not building _with_ the ath device. This is a
byproduct of how the modules are currently built.

I'm sorry for introducing this breakage. I'm going to try and fix the
driver soon but it's going to require a little more extensive code
shuffling and changes to make it "neat" to do.


Adrian

On 6 January 2012 14:56, O. Hartmann <ohart...@zedat.fu-berlin.de> wrote:
> Hello,
> I receive this error since I reeled in the most recent sources for FBSD
> 10.0-CURRENT/amd64. I build the system with CLANG.
>
>
>
> clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -pipe -O3
> -fno-strict-aliasing -march=native -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/THOR/opt_global.h -I. -I@ -I@/contrib/altq
> -fno-common  -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/THOR
> -mno-aes -mno-avx -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
> -Wno-error-tautological-compare -Wno-error-empty-body
> -Wno-error-parentheses-equality  -c
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_sysctl.c
> clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -pipe -O3
> -fno-strict-aliasing -march=native -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/THOR/opt_global.h -I. -I@ -I@/contrib/altq
> -fno-common  -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/THOR
> -mno-aes -mno-avx -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
> -Wno-error-tautological-compare -Wno-error-empty-body
> -Wno-error-parentheses-equality  -c
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3136:17: error: no
> member named 'ts_flags' in 'struct ath_tx_status'
>        hasba = !! (ts.ts_flags & HAL_TX_BA);
>                    ~~ ^
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3139:13: error: no
> member named 'ts_ba_low' in 'struct ath_tx_status'
>        ba[0] = ts.ts_ba_low;
>                ~~ ^
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3140:13: error: no
> member named 'ts_ba_high' in 'struct ath_tx_status'
>        ba[1] = ts.ts_ba_high;
>                ~~ ^
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3156:16: error: no
> member named 'ts_tid' in 'struct ath_tx_status'
>        if (tid != ts.ts_tid) {
>                   ~~ ^
> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3158:25: error: no
> member named 'ts_tid' in 'struct ath_tx_status'
>                    __func__, tid, ts.ts_tid);
>                                   ~~ ^
> 5 errors generated.
>
>
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to