Date: Wed, 20 Jul 2011 08:48:39 +0800 From: Adrian Chadd <adrian@freebsd.org> To: fidaj <fidaj@ukr.net> Cc: FreeBSD Current <freebsd-current@freebsd.org>, "Hartmann, O." <ohartman@zedat.fu-berlin.de> 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: <CAJ-Vmonb4dqQCKq0FscOcguoJsjouFZDsfoG-M8KL42kfGKdjg@mail.gmail.com> In-Reply-To: <E1QjIYK-000828-I7@ffe6.ukr.net> References: <4E25D444.1030506@zedat.fu-berlin.de> <E1QjIYK-000828-I7@ffe6.ukr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
just committed that. Sorry, I thought that version of the patch had compiled right. Sorry ;( adrian 2011/7/20 fidaj <fidaj@ukr.net>: > =9A --- =EF=D2=C9=C7=A6=CE=C1=CC=D8=CE=C5 =D0=CF=D7=A6=C4=CF=CD=CC=C5=CE= =CE=D1 --- > =9A =F7=A6=C4 =CB=CF=C7=CF: "Hartmann, O." <ohartman@zedat.fu-berlin.de> > =9A =EB=CF=CD=D5: "FreeBSD Current" <freebsd-current@freebsd.org> > =9A =E4=C1=D4=C1: 19 =CC=C9=D0=CE=D1 2011, 22:00:20 > =9A =F4=C5=CD=C1: Re: FreeBSD 9.0 CURRENT: > =9A /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:16: > =9A error: use of undeclared identifier 'vap' > > > > =9A =9A FreeBSD 9.0-CURRENT/amd64 stopps building kernel with the followi= ng > =9A =9A error in module wlan: > > > > =9A =9A clang -O3 -mtune=3Dnative -fno-strict-aliasing -pipe -march=3Dnat= ive > =9A =9A -D_KERNEL -DKLD_MODULE -nostdinc =9A -DHAVE_KERNEL_OPTION_HEADERS= -include > =9A =9A /usr/obj/usr/src/sys/THOR/opt_global.h -I. -I@ -I@/contrib/altq > =9A =9A -fno-common =9A-fno-omit-frame-pointer -I/usr/obj/usr/src/sys/THO= R > =9A =9A -mno-aes -mno-avx -mcmodel=3Dkernel -mno-red-zone -mno-mmx -msoft= -float > =9A =9A -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > =9A =9A -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls > =9A =9A -Wnested-externs -Wstrict-prototypes =9A-Wmissing-prototypes > =9A =9A -Wpointer-arith -Winline -Wcast-qual =9A-Wundef -Wno-pointer-sign > =9A =9A -fformat-extensions =9A-Wmissing-include-dirs -fdiagnostics-show-= option -c > =9A =9A /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c > =9A =9A /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:1= 6: > =9A =9A error: use of undeclared identifier 'vap' > =9A =9A =9A =9A =9A =9A =9ATAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A^ > =9A =9A @/sys/queue.h:521:8: note: expanded from: > =9A =9A =9A =9A =9A =9A =9Afor ((var) =3D TAILQ_FIRST((head)); =9A =9A = =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A \ > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A^ > =9A =9A /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:1= 6: > =9A =9A error: use of undeclared identifier 'vap' > =9A =9A =9A =9A =9A =9A =9ATAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A^ > =9A =9A @/sys/queue.h:522:7: note: expanded from: > =9A =9A =9A =9A =9A =9A =9A =9A =9A(var); =9A =9A =9A =9A =9A =9A =9A =9A= =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A = =9A\ > =9A =9A =9A =9A =9A =9A =9A =9A =9A ^ > =9A =9A /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:1= 6: > =9A =9A error: use of undeclared identifier 'vap' > =9A =9A =9A =9A =9A =9A =9ATAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A^ > =9A =9A @/sys/queue.h:523:7: note: expanded from: > =9A =9A =9A =9A =9A =9A =9A =9A =9A(var) =3D TAILQ_NEXT((var), field)) > =9A =9A =9A =9A =9A =9A =9A =9A =9A ^ > =9A =9A /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:1= 6: > =9A =9A error: use of undeclared identifier 'vap' > =9A =9A =9A =9A =9A =9A =9ATAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A^ > =9A =9A @/sys/queue.h:523:26: note: expanded from: > =9A =9A =9A =9A =9A =9A =9A =9A =9A(var) =3D TAILQ_NEXT((var), field)) > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A = =9A^ > =9A =9A @/sys/queue.h:597:34: note: expanded from: > =9A =9A #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A = =9A ^ > =9A =9A /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1542:7= : > =9A =9A error: use of undeclared identifier 'vap' > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Aif (vap->iv_state =3D=3D IEEE8= 0211_S_CSA) > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A^ > =9A =9A /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1543:4= : > =9A =9A error: use of undeclared identifier 'vap' > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9Avap->iv_bss->n= i_chan =3D ic->ic_curchan; > =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A =9A^ > =9A =9A 6 errors generated. > =9A =9A *** Error code 1 > > =9A =9A Stop in /usr/src/sys/modules/wlan. > > > > =9A =9A Regards, > =9A =9A Oliver > > =9A =9A _______________________________________________ =9A =9A freebsd-c= urrent@freebsd.org =9A =9A =9Amailing list =9A =9A http://lists.freebsd.org= /mailman/listinfo/freebsd-current =9A =9A To unsubscribe, send any mail to = " =9A =9A freebsd-current-unsubscribe@freebsd.org =9A =9A " > > > > =9A --- ieee80211_proto.c.orig =9A =9A2011-07-20 01:06:17.000000000 +0300 > =9A +++ ieee80211_proto.c =9A =9A2011-07-20 01:10:54.000000000 +0300 > =9A @@ -1533,6 +1533,8 @@ > =9A =9Avoid > =9A =9Aieee80211_csa_completeswitch(struct ieee80211com *ic) > =9A =9A{ > =9A + =9A =9Astruct ieee80211vap *vap; > =9A + > =9A IEEE80211_LOCK_ASSERT(ic); > > =9A 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= " >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmonb4dqQCKq0FscOcguoJsjouFZDsfoG-M8KL42kfGKdjg>