Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 23:57:37 -0700
From:      Nate Lawson <nate@root.org>
To:        dawnshade <h-k@mail.ru>
Cc:        freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org, Jung-uk Kim <jkim@FreeBSD.org>
Subject:   Re: [PATCH] ACPICA 20051021 import
Message-ID:  <43607A61.4040504@root.org>
In-Reply-To: <E1EV1eF-000GtH-00.h-k-mail-ru@f24.mail.ru>
References:  <E1EV1eF-000GtH-00.h-k-mail-ru@f24.mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
dawnshade wrote:
> 
> -----Original Message-----
> From: Jung-uk Kim <jkim@FreeBSD.org>
> To: freebsd-acpi@FreeBSD.org, freebsd-current@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@ -I@/contrib/altq -I@/../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>?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43607A61.4040504>