Re: Latest acpica

Andrew Grover
2005-10-19T03:38:26Z

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

Debian may be OK using flex-old but distros less concerned with backwards
compatibility, such as Red Hat Fedora, no longer ship it. "flex -l" got it
compiling but produced compilation errors (see Mattia's email), so I'd think
it probably just needs a few more nudges to start working.

Once it compiles, then we can package it and get it added to the Fedora
Extras repo. Then FC users can type "yum install iasl" and have it
automatically installed and ready to go, which I think would make getting
started with iasl a lot easier.

Regards -- Andy

On 10/18/05, Moore, Robert <robert.moore-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
>
> 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 > 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: 6966 bytes --]