problems compiling iasl on debian sarge
Hello.
I hope that my question is right on this list...
I just downloaded acpica-unix-20050624.tar.gz from
http://developer.intel.com/technology/iapc/acpi/downloads.htm to fix the acpi implementation of my new laptop and tried to compile iasl.
Running make in the compiler directory results in
--snip--
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_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
--snap--
(gcc-3.3.5, flex 2.5.31, bison 1.875d)
Unfortunately I have no idea of bison and of what's going on in this source code.
I would be glad to receive any assistance.
All the best,
Maximilian Mehnert
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · * widolo87 <[email protected]> [2005-07-23 00:47 +0000]:
I hope that my question is right on this list...
yes.
Quoted 21 lines
I just downloaded acpica-unix-20050624.tar.gz from
http://developer.intel.com/technology/iapc/acpi/downloads.htm to fix the acpi implementation of my new laptop and tried to compile iasl.Running make in the compiler directory results in
--snip--
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER \
-I../include -c -o aslcompilerlex.oaslcompilerlex.caslcompiler.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
--snap--
(gcc-3.3.5, flex 2.5.31, bison 1.875d)
Quoted 5 lines
Unfortunately I have no idea of bison and of what's going on in this source code.
I would be glad to receive any assistance.
try these:
http://thread.gmane.org/gmane.linux.acpi.devel/8442
http://thread.gmane.org/gmane.linux.acpi.devel/8694
http://www.mail-archive.com/[email protected]/msg126687.html
it should boil down to the installation of the package flex-old.
cheers,
Sebastian
Signature · 4 lines
Oo................................................................ Angestellten ist die Nutzung der Toilette ohne Genehmigung untersagt - Das MGT OpenPGP key ID: 0x7A62F9B4 Geekcode: GCSd-s:a-C++ULB+++W++M+PS+++ ................................................................oO