Skip to contentSkip to conversation

problem compiling intel ASL compiler

DISCUSSION John L Fjellstad 2 participants 2 messages Apr 24, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

I'm trying to compile Intel's ASL compiler dated 20060331, but have problems. Get this error message:

aslcompiler.l: In function ‘comment’:
aslcompiler.l:848: error: ‘yytext_ptr’ undeclared (first use in this function) aslcompiler.l:848: error: (Each undeclared identifier is reported only once aslcompiler.l:848: error: for each function it appears in.)
make: *** [aslcompilerlex.o] Error 1

gcc version: gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5) flex version: flex 2.5.31
bison version: bison (GNU Bison) 2.1

Don't really know enough about flex to fix the problem. Anyone have an idea?

Signature · 7 lines
John L. Fjellstad
web: http://www.fjellstad.org/          Quis custodiet ipsos custodes

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

On Mon, April 24, 2006 6:19 am, John L Fjellstad said:
[...]

Quoted 2 lines

gcc version: gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5) flex version: flex 2.5.31

try with flex-old (you can eventually steal the iasl package from the Debian repository).

bye

Signature · 2 lines
mattia
:wq!