[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fehler beim Uebersetzen des iasl compilers



Hallo Welt!

Ich versuche den iasl Compiler in Sarge wegen eine Acpi-Sache zu 
kompilieren [1].

Das "gute" dsdt.asl hab ich, muss es "nur" mehr nach dsdt.aml uebersetzen
um's dann mit dem initrd-patch von [3] beim Boot zu laden. Das Erzeugen
des iasl Compilers aber scheitert mit..

# make
bison -v -d -y -pAslCompiler aslcompiler.y
conflicts: 57 shift/reduce, 50 reduce/reduce
aslcompiler.y:916.7-81: warning: rule never reduced because of
conflicts: TermArg: Type2IntegerOpcode
aslcompiler.y:917.7-81: warning: rule never reduced because of
conflicts: TermArg: Type2StringOpcode
aslcompiler.y:918.7-81: warning: rule never reduced because of
conflicts: TermArg: Type2BufferOpcode
aslcompiler.y:919.7-81: warning: rule never reduced because of
conflicts: TermArg: Type2BufferOrStringOpcode
aslcompiler.y:961.7-82: warning: rule never reduced because of
conflicts: OptionalParameterTypePackage: ','
aslcompiler.y:984.7-82: warning: rule never reduced because of
conflicts: OptionalParameterTypesPackage: ','
aslcompiler.y:1575.7-38: warning: rule never reduced because of
conflicts: CaseTermList: CaseTerm
aslcompiler.y:1584.7-38: warning: rule never reduced because of
conflicts: DefaultTermList: CaseTerm
aslcompiler.y:3075.37-48: warning: rule never reduced because of
conflicts: OptionalResourceType: /* empty */
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:847: error: `yytext_ptr' undeclared (first use in this
function)
aslcompiler.l:847: error: (Each undeclared identifier is reported only
once
aslcompiler.l:847: error: for each function it appears in.)
make: *** [aslcompilerlex.o] Error 1

yytext_ptr kann doch nur was mit bison/yacc sein? Hab aber leider keinen
Schimmer davon :( 


Um den iasl zu uebersetzten brauche ich..

--------8<----------
Required Tools
1) The Flex (or Lex) lexical analyzer generator.
2) The Bison (or Yacc) parser generator.
3) An ANSI C compiler.
--------8<----------

ok.

--------8<----------
There are three major source code components that are required to 
generate the compiler:

1) The ASL compiler source.
2) The ACPI CA Core Subsystem source.  In particular, the Namespace
   Manager component is used to create an internal ACPI namespace and 
   symbol table, and the AML Interpreter is used to evaluate constant 
   expressions.
3) The Common source for all ACPI components.
--------8<---------

1 .. ok, 2 .. ?, 3 .. ?
Das scheint alles im .tar zu sein. Oder muss ich da acpi aus der
meiner Kernelsrc verwenden?

[1] http://forums.gentoo.org/viewtopic.php?t=122145 
[2] http://developer.intel.com/technology/iapc/acpi/downloads.htm
[3] http://gaugusch.at/kernel.shtml


Hat jemand ein Idee, was da falsch laeuft?


ritch



Reply to: