FreeBSD 9.0-CURRENT/amd64 stopps building kernel with the following error in module wlan: clang -O3 -mtune=native -fno-strict-aliasing -pipe -march=native -D_KERNEL -DKLD_MODULE -nostdinc -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 -c /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:16: error: use of undeclared identifier 'vap' TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) ^ _at_/sys/queue.h:521:8: note: expanded from: for ((var) = TAILQ_FIRST((head)); \ ^ /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:16: error: use of undeclared identifier 'vap' TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) ^ _at_/sys/queue.h:522:7: note: expanded from: (var); \ ^ /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:16: error: use of undeclared identifier 'vap' TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) ^ _at_/sys/queue.h:523:7: note: expanded from: (var) = TAILQ_NEXT((var), field)) ^ /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:16: error: use of undeclared identifier 'vap' TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) ^ _at_/sys/queue.h:523:26: note: expanded from: (var) = TAILQ_NEXT((var), field)) ^ _at_/sys/queue.h:597:34: note: expanded from: #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) ^ /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1542:7: error: use of undeclared identifier 'vap' if (vap->iv_state == IEEE80211_S_CSA) ^ /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1543:4: error: use of undeclared identifier 'vap' vap->iv_bss->ni_chan = ic->ic_curchan; ^ 6 errors generated. *** Error code 1 Stop in /usr/src/sys/modules/wlan. Regards, OliverReceived on Tue Jul 19 2011 - 17:00:27 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC