Date: Wed, 20 Jul 2011 08:10:52 +0200 From: "Hartmann, O." <ohartman@zedat.fu-berlin.de> To: Adrian Chadd <adrian@freebsd.org> Cc: fidaj <fidaj@ukr.net>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: FreeBSD 9.0 CURRENT: /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:16: error: use of undeclared identifier 'vap' Message-ID: <4E26716C.7090306@zedat.fu-berlin.de> In-Reply-To: <CAJ-Vmonb4dqQCKq0FscOcguoJsjouFZDsfoG-M8KL42kfGKdjg@mail.gmail.com> References: <4E25D444.1030506@zedat.fu-berlin.de> <E1QjIYK-000828-I7@ffe6.ukr.net> <CAJ-Vmonb4dqQCKq0FscOcguoJsjouFZDsfoG-M8KL42kfGKdjg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
No problem, I just mentioned it to make people aware ... Oliver On 07/20/11 02:48, Adrian Chadd wrote: > just committed that. > > Sorry, I thought that version of the patch had compiled right. Sorry ;( > > > adrian > > 2011/7/20 fidaj<fidaj@ukr.net>: >> --- Ориг╕нальне пов╕домлення --- >> В╕д кого: "Hartmann, O."<ohartman@zedat.fu-berlin.de> >> Кому: "FreeBSD Current"<freebsd-current@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@ -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 -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) >> ^ >> @/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) >> ^ >> @/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) >> ^ >> @/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) >> ^ >> @/sys/queue.h:523:26: note: expanded from: >> (var) = TAILQ_NEXT((var), field)) >> ^ >> @/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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to " freebsd-current-unsubscribe@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 >> @@ -1533,6 +1533,8 @@ >> 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@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E26716C.7090306>