public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Intel ACPI-CA compiler: 'make' error
@ 2004-06-06  7:50 Luca Capello
       [not found] ` <40C2CCCC.4050409-wlebWZzHoyE@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Capello @ 2004-06-06  7:50 UTC (permalink / raw)
  To: ML ACPI-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

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?

Thx, bye,
Gismo / Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFAwszLVAp7Xm10JmkRApGJAJ0Zu8KXrKKgsGempnpfVBWLHszPJgCeNYTC
EdTeIeJijjbfmMVSV6isFZE=
=gSwl
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Intel ACPI-CA compiler: 'make' error
       [not found] ` <40C2CCCC.4050409-wlebWZzHoyE@public.gmane.org>
@ 2004-06-07 13:09   ` Sebastian Henschel
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Henschel @ 2004-06-07 13:09 UTC (permalink / raw)
  To: ML ACPI-devel

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

hello luca...

* Luca Capello <luca-wlebWZzHoyE@public.gmane.org> [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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-07 13:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-06  7:50 Intel ACPI-CA compiler: 'make' error Luca Capello
     [not found] ` <40C2CCCC.4050409-wlebWZzHoyE@public.gmane.org>
2004-06-07 13:09   ` Sebastian Henschel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox