Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2007 17:30:12 -0700
From:      Nate Lawson <nate@root.org>
To:        Mike Jakubik <mikej@rogers.com>
Cc:        acpi@freebsd.org
Subject:   Re: Buildkernel error in acpi_hpet.c
Message-ID:  <4675D214.4030901@root.org>
In-Reply-To: <4675B49F.1020107@rogers.com>
References:  <4675B49F.1020107@rogers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Jakubik wrote:
> cc -O2 -fno-strict-aliasing -pipe -march=prescott -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/SPAMTOASTER/opt_global.h -I. -I@ -I@/contrib/altq
> -I@/../include -finline-limit=8000 -fno-common 
> -I/usr/obj/usr/src/sys/SPAMTOASTER -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 -march=prescott -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/SPAMTOASTER/opt_global.h -I. -I@ -I@/contrib/altq
> -I@/../include -finline-limit=8000 -fno-common 
> -I/usr/obj/usr/src/sys/SPAMTOASTER -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

Fixed.

-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4675D214.4030901>