Re: [PATCH] ACPICA 20051021 import

From: Nate Lawson <nate_at_root.org>
Date: Wed, 26 Oct 2005 23:57:37 -0700
dawnshade wrote:
> 
> -----Original Message-----
> From: Jung-uk Kim <jkim_at_FreeBSD.org>
> To: freebsd-acpi_at_FreeBSD.org, freebsd-current_at_FreeBSD.org
> Date: Wed, 26 Oct 2005 18:14:29 -0400
> Subject: [PATCH] ACPICA 20051021 import
> 
> 
>>This patch is merge from ACPICA 20051021 release:
>>
>>http://people.freebsd.org/~jkim/acpica-import-20051021.diff.gz
>>
>>There are new files added in this release.  So, you need `-p' option 
>>when applying this patch.
>>
>>Please test and/or review.
> 
> 
> doesn't compile on 6.0RC1:
> 
> cc -O -pipe -march=pentium-m -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -DHAVE_KERNEL_OPTION_HEADERS -include /usr/src/sys/i386/compile/36/opt_global.h -I. -I_at_ -I_at_/contrib/altq -I_at_/../include -finline-limit=8000 -fno-common  -I/usr/src/sys/i386/compile/36 -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/../../../contrib/dev/acpica/evgpeblk.c
> /usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica/evgpeblk.c: In function `AcpiEvMatchPrwAndGpe':
> /usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica/evgpeblk.c:482: error: `METHOD_NAME__PRW' undeclared (first use in this function)
> /usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica/evgpeblk.c:482: error: (Each undeclared identifier is reported only once
> /usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica/evgpeblk.c:482: error: for each function it appears in.)
> *** Error code 1

I haven't tested this yet, but perhaps this is due to obrien's -I 
change?  Perhaps acpica_prep.sh wasn't run with all the header 
substitions enabled since they are commented out currently.  Jung-uk, 
can you check if includes are not "file.h" but 
<sys/contrib/dev/acpica/file.h>?
Received on Thu Oct 27 2005 - 04:57:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC