kernel: build fails in most recent sources in ath

O. Hartmann ohartman at zedat.fu-berlin.de
Fri Jan 6 22:56:48 UTC 2012


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120106/74270be8/signature.pgp


More information about the freebsd-current mailing list