public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Henschel <acpi-1rjuZeEg9oEb1SvskN2V4Q@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Error compiling iasl
Date: Wed, 15 Sep 2004 14:21:49 +0200	[thread overview]
Message-ID: <20040915122149.GB30389@fuchi> (raw)
In-Reply-To: <4145CAE7.90709-3+EeCmRbAIqyvGiigdSjEg@public.gmane.org>

[-- 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 --]

      parent reply	other threads:[~2004-09-15 12:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040915122149.GB30389@fuchi \
    --to=acpi-1rjuzeeg9oeb1svskn2v4q@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox