Subject: Re: Kernel fails to compile with new ieee80211
To: None <peter@pointless.nl, current-users@NetBSD.org>
From: Marcin Jessa <lists@yazzy.org>
List: current-users
Date: 07/28/2005 19:46:57
Just FYI, the kernel compiled fine without
options ALTQ_CDNR
and with all the other options.
On Thu, 28 Jul 2005 19:30:49 +0200
Marcin Jessa <lists@yazzy.org> wrote:
> On Thu, 28 Jul 2005 18:06:53 +0200
> Peter Postma <peter@pointless.nl> 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 <lists@yazzy.org> 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
> ys -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
> *** Error code 1
>
> Stop.
> nbmake: stopped in /usr/obj/sys/arch/i386/compile/DEVEL
>
> ERROR: Failed to make all in /usr/src/sys/arch/i386/compile/obj/DEVEL