From owner-freebsd-questions@FreeBSD.ORG Sun Jun 24 03:22:22 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A24B916A400 for ; Sun, 24 Jun 2007 03:22:22 +0000 (UTC) (envelope-from benwy@clear.net.nz) Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64]) by mx1.freebsd.org (Postfix) with ESMTP id 7250413C448 for ; Sun, 24 Jun 2007 03:22:22 +0000 (UTC) (envelope-from benwy@clear.net.nz) Received: from [10.1.1.3] (121-72-73-29.dsl.telstraclear.net [121.72.73.29]) by smtp3.clear.net.nz (CLEAR Net Mail) with ESMTPA id <0JK400C18EORI130@smtp3.clear.net.nz> for freebsd-questions@freebsd.org; Sun, 24 Jun 2007 15:22:03 +1200 (NZST) Date: Sun, 24 Jun 2007 15:22:01 +1200 From: Ben Washington-Yule To: freebsd-questions@freebsd.org Message-id: <467DE359.50505@clear.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit User-Agent: Thunderbird 2.0.0.0 (X11/20070612) Subject: GENERIC kernel build fails at ACPI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2007 03:22:22 -0000 6-STABLE. Here's the relative part from the script file. Thanks. =============================================================== cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_ec.c cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/GENERIC -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c: In function `acpi_hpet_table_probe': /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: error: `ACPI_TABLE_HPET' undeclared (first use in this function) /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: error: for each function it appears in.) /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:89: error: `hpet' undeclared (first use in this function) /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:96: error: `ACPI_SIG_HPET' undeclared (first use in this function) /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:96: warning: passing arg 3 of `AcpiGetTable' from incompatible pointer type /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi_hpet.c:104: error: syntax error before ')' token *** Error code 1 Stop in /usr/src/sys/modules/acpi/acpi. *** Error code 1 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src.