iASL fails to compile
Downloaded the intel ASL compiler/decompiler from
http://developer.intel.com/technolog.../downloads.htm ... selected the unix tarball (acpica-unix-20050930.tar.gz) and followed the instructions in the readme and the intel site. I had to install bison, flex, kernel headers and sources - which I did via apt-get for bison and flex, and synaptic for the headers and sources. Make output follows: Code:
simon@infrared:~/custom/acpica-unix-20050930/compiler$ make You can see I've enabled the -ansi flag, but I get the same output without it. This won't be an error in the code or google would be all over it(!) so debug tools don't seem to apply. OTOH: it's been ages since I did anything with gcc... The system is: Ubuntu 5.10, fully updated - std repos enabled, inlcl. multiverse. kernel 2.6.12-9-686 gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) g++ (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) bison (GNU Bison) 2.0 flex 2.5.31 I can't be the only person with this problem ... I need the package to debug my dsdt and so get acpi working. Anyone with ubuntu on a laptop will want to do this or suffer acpi performance loss. Of course, if there is an ubuntu .deb package available, that would solve my problem also :) Equally "of course", if anyone knows where to find the fixed dsdt for the acer aspire 3003LC - that would be neet too. (Note: not on the sourceforge acpi list. Close but no bananas.) Should I be able to fix this, I'll be able to stick the fixed tale in the official list for others and post a howto on LQ into the bargain. (Yes, I've read the gentoo one...) Thanks in advance. |
Solution found:
The problem is a buggy intel code after all - actually, only buggy with regard to the flex version. The workaround is: sudo apt-get install flex-old this removes the previous flex package (the new one) and replaces with a depreciated package. It only takes 30-40secs on a 56k dialup so it was no biggie after all. |
All times are GMT -5. The time now is 05:31 AM. |