Re: Latest acpica

Mattia Dongili
2005-10-18T20:14:07Z

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!

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl