From owner-freebsd-current@FreeBSD.ORG Thu Oct 27 06:57:21 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D19E416A41F; Thu, 27 Oct 2005 06:57:21 +0000 (GMT) (envelope-from nate@root.org) Received: from ylpvm15.prodigy.net (ylpvm15-ext.prodigy.net [207.115.57.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61AA943D46; Thu, 27 Oct 2005 06:57:21 +0000 (GMT) (envelope-from nate@root.org) Received: from pimout7-ext.prodigy.net (pimout7-int.prodigy.net [207.115.4.147]) by ylpvm15.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j9R6w7H4014598; Thu, 27 Oct 2005 02:58:07 -0400 X-ORBL: [71.139.0.107] Received: from [10.0.0.242] (ppp-71-139-0-107.dsl.snfc21.pacbell.net [71.139.0.107]) by pimout7-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j9R6vIF9032064; Thu, 27 Oct 2005 02:57:19 -0400 Message-ID: <43607A61.4040504@root.org> Date: Wed, 26 Oct 2005 23:57:37 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dawnshade References: In-Reply-To: Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org, freebsd-current@FreeBSD.org, Jung-uk Kim Subject: Re: [PATCH] ACPICA 20051021 import X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 06:57:22 -0000 dawnshade wrote: > > -----Original Message----- > From: Jung-uk Kim > 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 ?