hello luca... * Luca Capello [2004-06-07 10:31 +0200]: > -----BEGIN PGP SIGNED MESSAGE----- > > as I'd like to disassemble the latest ASUS M6N DSDT (version 0208A, > which lacks S1, while in the ancient 0205A S1 was present), I downloaded > the ACPI-CA Unix source package from > http://developer.intel.com/technology/iapc/acpi/downloads.htm > > Trying to compile the compiler, I got an error: > ===== > gismo:/usr/src/kernel/dsdt/acpica-unix-20040527/compiler# make > bison -v -d -y -pAslCompiler aslcompiler.y > conflicts: 33 shift/reduce, 47 reduce/reduce > aslcompiler.y:882.7-81: warning: rule never reduced because of > conflicts: TermArg: Type2IntegerOpcode > aslcompiler.y:883.7-81: warning: rule never reduced because of > conflicts: TermArg: Type2StringOpcode > aslcompiler.y:884.7-81: warning: rule never reduced because of > conflicts: TermArg: Type2BufferOpcode > aslcompiler.y:885.7-81: warning: rule never reduced because of > conflicts: TermArg: Type2BufferOrStringOpcode > aslcompiler.y:1473.7-38: warning: rule never reduced because of > conflicts: CaseTermList: CaseTerm > aslcompiler.y:1482.7-38: warning: rule never reduced because of > conflicts: DefaultTermList: CaseTerm > cp y.tab.c aslcompilerparse.c > cp y.tab.h aslcompiler.y.h > cc -Wall -O2 -Wstrict-prototypes -D_LINUX -D_ACPI_ASL_COMPILER > - -I../include -c -o aslcompilerparse.o aslcompilerparse.c > flex -i -PAslCompiler -oaslcompilerlex.c aslcompiler.l > cc -Wall -O2 -Wstrict-prototypes -D_LINUX -D_ACPI_ASL_COMPILER > - -I../include -c -o aslcompilerlex.o aslcompilerlex.c > aslcompiler.l: In function `comment': > aslcompiler.l:837: error: `yytext_ptr' undeclared (first use in this > function) > aslcompiler.l:837: error: (Each undeclared identifier is reported only once > aslcompiler.l:837: error: for each function it appears in.) > make: *** [aslcompilerlex.o] Error 1 > > gismo:/usr/src/kernel/dsdt/acpica-unix-20040527# gcc -v > Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.3/specs > Configured with: ../src/configure -v > - --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr > - --mandir=/usr/share/man --infodir=/usr/share/info > - --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared > - --with-system-zlib --enable-nls --without-included-gettext > - --enable-__cxa_atexit --enable-clocale=gnu --enable-debug > - --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux > Thread model: posix > gcc version 3.3.3 (Debian 20040422) > ===== > > Can someone at Intel correct this, please? apart from the guys at intel fixing this, debian users should be able to compile the iasl with the packages "flex-old" and "bison-1.35" if i recall correctly. hth, sebastian -- ::: .O. ::: ..O ::: OOO ::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import