Subject: Re: Kernel fails to compile with new ieee80211
To: None <>
From: Marcin Jessa <>
List: current-users
Date: 07/28/2005 17:51:04
On Thu, 28 Jul 2005 17:27:17 +0200
Marcin Jessa <> wrote:

Sorry, this seems to be caused by the ALTQ patch for CURRENT of Peter Postma.

> Hi guys.
> Current fails to compile which I assume is due to changes brought to net80211 by David Young.
> #   compile  WIFIBSD_RUN/ieee80211_input.o
> /usr/src/obj/tooldir.NetBSD-3.99.6-i386/bin/i386--netbsdelf-gcc -ffreestanding -Os -mcpu=i486 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DTIMER_FREQ=1189200 -DDUMMY_NOPS -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/net80211/ieee80211_input.c
> /usr/src/sys/net80211/ieee80211_input.c: In function `ieee80211_input':
> /usr/src/sys/net80211/ieee80211_input.c:553: error: `len' undeclared (first use in this function)
> /usr/src/sys/net80211/ieee80211_input.c:553: error: (Each undeclared identifier is reported only once
> /usr/src/sys/net80211/ieee80211_input.c:553: error: for each function it appears in.)
> *** Failed target:  ieee80211_input.o
> *** Failed command: echo '# ' "compile WIFIBSD_RUN/ieee80211_input.o"; echo /usr/src/obj/tooldir.NetBSD-3.99.6-i386/bin/i386--netbsdelf-gcc -ffreestanding -Os -mcpu=i486 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DTIMER_FREQ="1189200" -DDUMMY_NOPS -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/net80211/ieee80211_input.c; /usr/src/obj/tooldir.NetBSD-3.99.6-i386/bin/i386--netbsdelf-gcc -ffreestanding -Os -mcpu=i486 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DTIMER_FREQ="1189200" -DDUMMY_NOPS -DMAXUSERS=32 -D_KERNEL -D_KERNEL_
>  T -c /usr/src/sys/net80211/ieee80211_input.c
> *** Error code 1
> Stop.
> nbmake: stopped in /usr/obj/sys/arch/i386/compile/WIFIBSD_RUN
> ERROR: Failed to make all in /usr/src/sys/arch/i386/compile/obj/WIFIBSD_RUN
> Cheers,
> Marcin Jessa.