Re: FreeBSD 9.0 CURRENT: /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:16: error: use of undeclared identifier 'vap'

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Wed, 20 Jul 2011 08:48:39 +0800
just committed that.

Sorry, I thought that version of the patch had compiled right. Sorry ;(


adrian

2011/7/20 fidaj <fidaj_at_ukr.net>:
> š --- ๏าษวฆฮมฬุฮล ะฯืฆฤฯอฬลฮฮั ---
> š ๗ฆฤ หฯวฯ: "Hartmann, O." <ohartman_at_zedat.fu-berlin.de>
> š ๋ฯอี: "FreeBSD Current" <freebsd-current_at_freebsd.org>
> š ไมิม: 19 ฬษะฮั 2011, 22:00:20
> š ๔ลอม: Re: FreeBSD 9.0 CURRENT:
> š /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:16:
> š error: use of undeclared identifier 'vap'
>
>
>
> š š 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,
> š š Oliver
>
> š š _______________________________________________ š š 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 š š "
>
>
>
> š --- ieee80211_proto.c.orig š š2011-07-20 01:06:17.000000000 +0300
> š +++ ieee80211_proto.c š š2011-07-20 01:10:54.000000000 +0300
> š _at__at_ -1533,6 +1533,8 _at__at_
> š švoid
> š šieee80211_csa_completeswitch(struct ieee80211com *ic)
> š š{
> š + š šstruct ieee80211vap *vap;
> š +
> š IEEE80211_LOCK_ASSERT(ic);
>
> š KASSERT(ic->ic_flags & IEEE80211_F_CSAPENDING, ("csa not pending"));
> _______________________________________________
> 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 Tue Jul 19 2011 - 22:48:41 UTC

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