Subject: kern/30886: azalia.c doesn't build with option AZALIA_DEBUG on -current i386
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <fgonieaux@free.fr>
List: netbsd-bugs
Date: 07/31/2005 20:58:00
>Number:         30886
>Category:       kern
>Synopsis:       azalia.c doesn't build with option AZALIA_DEBUG on -current i386
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 31 20:58:00 +0000 2005
>Originator:     Frédéric Gonieaux
>Release:        NetBSD 3.99.7
>Organization:
>Environment:
NetBSD yiin.kalgan.net 3.99.7 NetBSD 3.99.7 (AZALIA_DEBUG) #0: Sun Jul 31 21:06:46 CEST 2005  fred@yiin.kalgan.net:/usr/obj/sys/arch/i386/compile/AZALIA_DEBUG i386

>Description:

src/sys/dev/pci/azalia.c doesn't build with the option AZALIA_DEBUG set:

#   compile  AZALIA_DEBUG/azalia.o
/usr/src/obj/tooldir.NetBSD-3.99.7-i386/bin/i386--netbsdelf-gcc -ffreestanding -
O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-pro
totypes -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 -DDIAGNOSTIC -DAZALIA_DEBUG -DMAXUSERS=32 -
D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c /usr/src/sys/dev/pci/azalia.c
/usr/src/sys/dev/pci/azalia.c: In function `azalia_codec_add_dacgroup':
/usr/src/sys/dev/pci/azalia.c:1553: error: `group' undeclared (first use in this
 function)
/usr/src/sys/dev/pci/azalia.c:1553: error: (Each undeclared identifier is report
ed only once
/usr/src/sys/dev/pci/azalia.c:1553: error: for each function it appears in.)

*** Failed target:  azalia.o

>How-To-Repeat:

>Fix: