public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Error compiling iasl
@ 2004-09-13 16:29 Luís Neves
       [not found] ` <4145CAE7.90709-3+EeCmRbAIqyvGiigdSjEg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Luís Neves @ 2004-09-13 16:29 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi everybody,

I downloaded acpica-unix-20040715.tar.gz in order to compile iasl but I 
got an error compiling:

pln:/usr/src/acpica-unix-20040715/compiler# make
yacc -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 onc
aslcompiler.l:837: error: for each function it appears in.)
make: *** [aslcompilerlex.o] Error 1

Can anyone help me? I have a Debian Sarge (testing), gcc 3.3.4, flex 
2.5.31, bison 1.875a. I need iasl to decompile my HP pavilion zt3240 
DSDT as I currently have no thermal_zone contents in /proc.

Best regards,

Luís Neves


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php

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

* Re: Error compiling iasl
       [not found] ` <4145CAE7.90709-3+EeCmRbAIqyvGiigdSjEg@public.gmane.org>
@ 2004-09-15 12:21   ` Sebastian Henschel
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Henschel @ 2004-09-15 12:21 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

hello luis..

* Luís Neves <lneves-3+EeCmRbAIqyvGiigdSjEg@public.gmane.org> [2004-09-14 09:23 +0200]:
> 
> I downloaded acpica-unix-20040715.tar.gz in order to compile iasl but I 
> got an error compiling:
> 
> pln:/usr/src/acpica-unix-20040715/compiler# make
> yacc -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 onc
> aslcompiler.l:837: error: for each function it appears in.)
> make: *** [aslcompilerlex.o] Error 1
> 
> Can anyone help me? I have a Debian Sarge (testing), gcc 3.3.4, flex 
> 2.5.31, bison 1.875a. I need iasl to decompile my HP pavilion zt3240 
> DSDT as I currently have no thermal_zone contents in /proc.

if i remember correctly, you need older versions of bison and/or flex to
compile iasl successfully on Debian testing.
try the packages flex-old and bison-1.35.

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-09-15 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-13 16:29 Error compiling iasl Luís Neves
     [not found] ` <4145CAE7.90709-3+EeCmRbAIqyvGiigdSjEg@public.gmane.org>
2004-09-15 12:21   ` Sebastian Henschel

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