Subject: Re: Kernel fails to compile with new ieee80211
To: Peter Postma <>
From: Marcin Jessa <>
List: current-users
Date: 07/28/2005 19:30:49
On Thu, 28 Jul 2005 18:06:53 +0200
Peter Postma <> wrote:

> On Thu, Jul 28, 2005 at 05:51:04PM +0200, Marcin Jessa wrote:
> > 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.
> > 
> Ok, I've updated the patch.
> -- 
> Peter Postma

Hi Peter.

Still no love with following options in the kernel:
options         ALTQ            # Manipulate network interfaces' output queues
options         ALTQ_BLUE       # Stochastic Fair Blue
options         ALTQ_CBQ        # Class-Based Queueing
options         ALTQ_CDNR       # Diffserv Traffic Conditioner
options         ALTQ_FIFOQ      # First-In First-Out Queue
options         ALTQ_FLOWVALVE  # RED/flow-valve (red-penalty-box)
options         ALTQ_HFSC       # Hierarchical Fair Service Curve
options         ALTQ_LOCALQ     # Local queueing discipline
options         ALTQ_PRIQ       # Priority Queueing
options         ALTQ_RED        # Random Early Detection
options         ALTQ_RIO        # RED with IN/OUT
options         ALTQ_WFQ        # Weighted Fair Queueing

pseudo-device   pf              # PF packet filter
pseudo-device   pflog           # PF log if

#   compile  DEVEL/altq_cdnr.o
/usr/src/obj/tooldir.NetBSD-3.99.6-i386/bin/i386--netbsdelf-gcc -ffreestanding -O2 -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 -DLKM -DALTQ_BLUE -DALTQ_CBQ -DALTQ_CDNR -DALTQ_FIFOQ -DALTQ_FLOWVALVE -DALTQ_HFSC -DALTQ_LOCALQ -DALTQ_PRIQ -DALTQ_RED -DALTQ_RIO -DALTQ_WFQ -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/pf -c /usr/src/sys/altq/altq_cdnr.c
/usr/src/sys/altq/altq_cdnr.c: In function `altq_cdnr_input':
/usr/src/sys/altq/altq_cdnr.c:151: warning: `cb' might be used uninitialized in this function

*** Failed target:  altq_cdnr.o
*** Failed command: echo '# ' "compile DEVEL/altq_cdnr.o"; echo /usr/src/obj/tooldir.NetBSD-3.99.6-i386/bin/i386--netbsdelf-gcc -ffreestanding -O2 -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 -DLKM -DALTQ_BLUE -DALTQ_CBQ -DALTQ_CDNR -DALTQ_FIFOQ -DALTQ_FLOWVALVE -DALTQ_HFSC -DALTQ_LOCALQ -DALTQ_PRIQ -DALTQ_RED -DALTQ_RIO -DALTQ_WFQ -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/pf -c /usr/src/sys/altq/altq_cdnr.c; /usr/src/obj/tooldir.NetBSD-3.99.6-i386/bin/i386--netbsdelf-gcc -ffreestanding -O2 -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/s
*** Error code 1

nbmake: stopped in /usr/obj/sys/arch/i386/compile/DEVEL

ERROR: Failed to make all in /usr/src/sys/arch/i386/compile/obj/DEVEL