Subject: i386 acpi kernel build failure
To: None <current-users@netbsd.org>
From: Sverre Froyen <sverre@viewmark.com>
List: current-users
Date: 04/11/2004 12:20:00
Hi,
A kernel build of current (2.0?) sources from this morning fails with:
# compile ABBOR2/acpi_resource.o
/usr/src/tooldir.i386/bin/i386--netbsdelf-gcc -ffreestanding -O2 -Werror
-Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Di386 -I.
-I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM
-DMSGBUFSIZE=10000000 -DUSB_DEBUG -DUHCI_DEBUG -DACPI_EXTRA_DEBUG
-DACPI_ACAD_DEBUG -DACPI_BUT_DEBUG -DACPI_FDC_DEBUG -DACPI_LID_DEBUG
-DACPI_MADT_DEBUG -DPCMCIADEBUG -DPCMCIACISDEBUG -DACPICA_PEDANTIC
-DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-c /usr/src/sys/dev/acpi/acpi_resource.c
/usr/src/sys/dev/acpi/acpi_resource.c: In function
`acpi_resource_parse_callback':
/usr/src/sys/dev/acpi/acpi_resource.c:102: error: `_Dbg' undeclared
(first use in this function)
/usr/src/sys/dev/acpi/acpi_resource.c:102: error: (Each undeclared
identifier is reported only once
/usr/src/sys/dev/acpi/acpi_resource.c:102: error: for each function it
appears in.)
*** Failed target: acpi_resource.o
Missing header file when acpi debug options are enabled?
Sverre