From owner-freebsd-current@FreeBSD.ORG Tue Jul 19 19:00:27 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 B4C0A106564A for ; Tue, 19 Jul 2011 19:00:27 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 740978FC17 for ; Tue, 19 Jul 2011 19:00:27 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1QjFWs-0004R6-1X>; Tue, 19 Jul 2011 21:00:26 +0200 Received: from e178038004.adsl.alicedsl.de ([85.178.38.4] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1QjFWr-0002yq-Ue>; Tue, 19 Jul 2011 21:00:26 +0200 Message-ID: <4E25D444.1030506@zedat.fu-berlin.de> Date: Tue, 19 Jul 2011 21:00:20 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110712 Thunderbird/5.0 MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.38.4 Subject: 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 19:00:27 -0000 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