RE: Latest acpica

Moore, Robert
2005-10-18T20:31:25Z

[-- Attachment #1: Type: text/plain, Size: 2464 bytes --]

It is my understanding that only flex-old will work to build iASL,
because the new flex is not compatible with lex in some important areas.

I don't know any more than this.

Bob

-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Andrew
Grover
Sent: Tuesday, October 18, 2005 1:24 PM
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Moore, Robert
Subject: Re: [ACPI] Latest acpica

Yeah I wish I knew enough flex to fix it, too. How hard can it be? :) --
Andy

On 10/18/05, Mattia Dongili <malattia-k2GhghHVRtY@public.gmane.org
<mailto:malattia-k2GhghHVRtY@public.gmane.org> > wrote:

On Wed, Oct 12, 2005 at 10:37:59AM -0700, Andrew Grover wrote:
> I am using GNU flex 2.5.31. I was able to get it to build (on x86_64
even)
> with the attached patch. I have also attached the warnings, in case
those
> are of interest.

I tried building my DSDT with a patched iasl built with the latest flex
available in debian (2.5.31) but it seems the -l flag is doing more bad
than good. I get a bunch of (meaningless) errors:

DSDT.dsl 34: Scope (\_GPE)
Error 1094 - ^ syntax error, unexpected
PARSEOP_NAMESEG, expecting ')'

DSDT.dsl 38: Notify (\_SB.PCI0.USB1, 0x02)
Error 1094 - ^ syntax error, unexpected
PARSEOP_NAMESEG, expecting ','

DSDT.dsl 38: Notify (\_SB.PCI0.USB1, 0x02)
Error 1094 - ^ Invalid character (0x2E),
expecting ASL keyword or name

DSDT.dsl 43: Notify (\_SB.PCI0.USB2, 0x02)
Error 1094 - ^ syntax error, unexpected
PARSEOP_NAMESEG, expecting ','
...
...
ASL Input: DSDT.dsl - 3597 lines, 124899 bytes, 20 keywords
Compilation complete. 15 Errors, 0 Warnings, 0 Remarks, 2 Optimizations

while building with flex-old I only get:

DSDT.dsl 1347: Field (ECR, AnyAcc, Lock, Preserve)
Error 1073 - ^ Host Operation Region
requires ByteAcc access

ASL Input: DSDT.dsl - 3896 lines, 131852 bytes, 1959 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 388 Optimizations

So I'll probably simply build-depend on flex-old by now and I'll try to
learn
more of flex soon :)

--
mattia
:wq!

[-- Attachment #2: Type: text/html, Size: 6564 bytes --]