From owner-freebsd-current@FreeBSD.ORG Wed Jul 20 00:48:41 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E03661065673 for ; Wed, 20 Jul 2011 00:48:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9D8078FC08 for ; Wed, 20 Jul 2011 00:48:41 +0000 (UTC) Received: by gwb15 with SMTP id 15so304716gwb.13 for ; Tue, 19 Jul 2011 17:48:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2LXGJfyN/lGm5IJ0VCZqKZxUdkHkIs+39Of5GCe6doY=; b=if8wamCL8kYo1NyncplQQZ5bRCF3K39co42Wey2WOmLOxZXEhnMaHGNLUtL5QOFKTN pZbSlf5xuIDA+bLesXAeSHj55VgyEKUD14grBSFBk9bfcFCFDuAI0D4Y4IOpAADbT2ku NT2YekpQm/RSe9oQYppm1z24cLZPqVuyynLnU= MIME-Version: 1.0 Received: by 10.150.68.35 with SMTP id q35mr7270625yba.443.1311122919694; Tue, 19 Jul 2011 17:48:39 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.197.5 with HTTP; Tue, 19 Jul 2011 17:48:39 -0700 (PDT) In-Reply-To: References: <4E25D444.1030506@zedat.fu-berlin.de> Date: Wed, 20 Jul 2011 08:48:39 +0800 X-Google-Sender-Auth: TdTrU2hBNm11CjeNOJ1mtxBGgB0 Message-ID: From: Adrian Chadd To: fidaj Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Current , "Hartmann, O." Subject: Re: FreeBSD 9.0 CURRENT: /usr/src/sys/modules/wlan/../../net80211/ieee80211_proto.c:1541:16: error: use of undeclared identifier 'vap' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2011 00:48:42 -0000 just committed that. Sorry, I thought that version of the patch had compiled right. Sorry ;( adrian 2011/7/20 fidaj : > =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." > =9A =EB=CF=CD=D5: "FreeBSD Current" > =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= " >