kernel: build fails in most recent sources in ath

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Fri, 06 Jan 2012 23:56:45 +0100
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_at_ -I_at_/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_at_ -I_at_/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.



Received on Fri Jan 06 2012 - 21:56:48 UTC

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