Date: Tue, 27 Jan 2004 23:25:07 -0800 (PST) From: Don Lewis <truckman@FreeBSD.org> To: current@FreeBSD.org Subject: kernel build error with ACPI_DEBUG option Message-ID: <200401280725.i0S7P77E083040@gw.catspoiler.org>
next in thread | raw e-mail | index | archive | help
My kernel build failed with the following error when I used the ACPI_DEBUG kernel option: cc -O -pipe -mcpu=pentiumpro -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -DACPI_DEBUG -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -include /usr/obj/usr/src/sys/ACPI_DEBUG/opt_global.h -I. -I@ -I@/../include -finline-limit=15000 -fno-common -g -I/usr/obj/usr/src/sys/ACPI_DEBUG -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/dev/acpica/acpi.c /usr/src/sys/dev/acpica/acpi.c: In function `acpi_Startup': /usr/src/sys/dev/acpica/acpi.c:208: error: `_Dbg' undeclared (first use in this function) /usr/src/sys/dev/acpica/acpi.c:208: error: (Each undeclared identifier is reported only once /usr/src/sys/dev/acpica/acpi.c:208: error: for each function it appears in.) *** Error code 1 I'm also getting the following warnings both with and without ACPI_DEBUG: cc -O -pipe -mcpu=pentiumpro -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -include /usr/obj/usr/src/sys/ACPI_DEBUG/opt_global.h -I. -I@ -I@/../include -finline-limit=15000 -fno-common -g -I/usr/obj/usr/src/sys/ACPI_DEBUG -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/src/sys/contrib/dev/acpica/utglobal.c /usr/src/sys/contrib/dev/acpica/utglobal.c: In function `AcpiUtGetRegionName': /usr/src/sys/contrib/dev/acpica/utglobal.c:489: warning: cast discards qualifiers from pointer target type /usr/src/sys/contrib/dev/acpica/utglobal.c: In function `AcpiUtGetEventName': /usr/src/sys/contrib/dev/acpica/utglobal.c:527: warning: cast discards qualifiers from pointer target type /usr/src/sys/contrib/dev/acpica/utglobal.c: In function `AcpiUtGetTypeName': /usr/src/sys/contrib/dev/acpica/utglobal.c:597: warning: cast discards qualifiers from pointer target type /usr/src/sys/contrib/dev/acpica/utglobal.c:600: warning: cast discards qualifiers from pointer target type /usr/src/sys/contrib/dev/acpica/utglobal.c: In function `AcpiUtGetDescriptorName': /usr/src/sys/contrib/dev/acpica/utglobal.c:703: warning: cast discards qualifiers from pointer target type /usr/src/sys/contrib/dev/acpica/utglobal.c:706: warning: cast discards qualifiers from pointer target type
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401280725.i0S7P77E083040>