From owner-freebsd-current@FreeBSD.ORG Tue Jul 19 22:33:39 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 BDA8D106564A for ; Tue, 19 Jul 2011 22:33:39 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from ffe6.ukr.net (ffe6.ukr.net [195.214.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id 523B58FC13 for ; Tue, 19 Jul 2011 22:33:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Date:Message-Id:From:To:References:In-Reply-To:Subject:Cc:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=9JN0gGkasfjJ7GID64x6FMEe3F+BCILa4M1NOrfDrBk=; b=mZIsueMgPax5iCJUHVTuAjqxJpnr01At/3eNBfY0dSElpjDmv7GGIAfDEReK98jmOWLhwvZvYbitNNapK+kwMEAU0m9k9FthtZuqUTQDkMt09ysMPaT0WxZAGFc0wrYJOiy6OCsgTL0wP7VNDyJOmj7iHvmug+tyPRAk7gHZCh4=; Received: from mail by ffe6.ukr.net with local ID 1QjIYK-000828-I7 ; Wed, 20 Jul 2011 01:14:08 +0300 MIME-Version: 1.0 In-Reply-To: <4E25D444.1030506@zedat.fu-berlin.de> References: <4E25D444.1030506@zedat.fu-berlin.de> To: "Hartmann, O." From: "fidaj " X-Mailer: freemail.ukr.net 4.0 X-Originating-Ip: [178.137.139.144] X-Browser: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20100101 Firefox/5.0 Message-Id: Date: Wed, 20 Jul 2011 01:14:08 +0300 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: binary Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Current 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: Tue, 19 Jul 2011 22:33:39 -0000 --- Оригінальне повідомлення --- Від кого: "Hartmann, O." Кому: "FreeBSD Current" Дата: 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"));