Latest acpica
acpica-unix-20050902.tar.gz
is now available under:
http://developer.intel.com/technology/iapc/acpi/downloads.htm
Thanks.
There is one concern:
This has been discussed some weeks ago.
The compiler throws dozens of errors on some DSDTs:
DSDT.dsl 777: , AddressRangeMemory, TypeStatic)
Error 1084 - Missing ResourceSource string (required) ^
I cannot find the mail now, but IIRC Len said this was added to identify how many DSDTs violate specs (is it optional or not?) and should be removed again later.
The patch attached lowers the error to a warning, so that you get a compiled DSDT as output.
Not sure, maybe the error/warning case should be reverted totally?
Thomas
aslrestype2.c renamed from aslrestype2.c.orig +10 -10
@@ -331,7 +331,7 @@*/ else if (ResSourceIndex) { -AslError (ASL_ERROR ,ASL_MSG_RESOURCE_SOURCE , +AslError (ASL_WARNING ,ASL_MSG_RESOURCE_SOURCE , InitializerOp,NULL ); }break ;
@@ -545,7 +545,7 @@*/ else if (ResSourceIndex) { -AslError (ASL_ERROR ,ASL_MSG_RESOURCE_SOURCE , +AslError (ASL_WARNING ,ASL_MSG_RESOURCE_SOURCE , InitializerOp,NULL ); }break ;
@@ -757,7 +757,7 @@*/ else if (ResSourceIndex) { -AslError (ASL_ERROR ,ASL_MSG_RESOURCE_SOURCE , +AslError (ASL_WARNING ,ASL_MSG_RESOURCE_SOURCE , InitializerOp,NULL ); }break ;
@@ -1430,7 +1430,7 @@*/ else if (ResSourceIndex) { -AslError (ASL_ERROR ,ASL_MSG_RESOURCE_SOURCE , +AslError (ASL_WARNING ,ASL_MSG_RESOURCE_SOURCE , InitializerOp,NULL ); }break ;
@@ -1639,7 +1639,7 @@*/ else if (ResSourceIndex) { -AslError (ASL_ERROR ,ASL_MSG_RESOURCE_SOURCE , +AslError (ASL_WARNING ,ASL_MSG_RESOURCE_SOURCE , InitializerOp,NULL ); }break ;
@@ -1846,7 +1846,7 @@*/ else if (ResSourceIndex) { -AslError (ASL_ERROR ,ASL_MSG_RESOURCE_SOURCE , +AslError (ASL_WARNING ,ASL_MSG_RESOURCE_SOURCE , InitializerOp,NULL ); }break ;
@@ -2034,7 +2034,7 @@*/ else if (ResSourceIndex) { -AslError (ASL_ERROR ,ASL_MSG_RESOURCE_SOURCE , +AslError (ASL_WARNING ,ASL_MSG_RESOURCE_SOURCE , InitializerOp,NULL ); }break ;
@@ -2234,7 +2234,7 @@*/ else if (ResSourceIndex) { -AslError (ASL_ERROR ,ASL_MSG_RESOURCE_SOURCE , +AslError (ASL_WARNING ,ASL_MSG_RESOURCE_SOURCE , InitializerOp,NULL ); }break ;
@@ -2431,7 +2431,7 @@*/ else if (ResSourceIndex) { -AslError (ASL_ERROR ,ASL_MSG_RESOURCE_SOURCE , +AslError (ASL_WARNING ,ASL_MSG_RESOURCE_SOURCE , InitializerOp,NULL ); }break ;
@@ -2592,7 +2592,7 @@*/ else if (HasResSourceIndex) { -AslError (ASL_ERROR ,ASL_MSG_RESOURCE_SOURCE , +AslError (ASL_WARNING ,ASL_MSG_RESOURCE_SOURCE , InitializerOp,NULL ); }break ;
A message that is not in the archive (sent off-list or not yet received): [email protected]
I am having problems compiling this compiler on AMD64. It throws the following error message:
[compiler] $ make
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
This is not a new error though, I have had it for at least the 20050309 and 20050513 release. It happens with GCC 3.3, 3.4 and 4.0... anybody an idea? It can't be happening only to me, can it?
Thanks,
Frank
Quoted 4 lines
acpica-unix-20050902.tar.gz
is now available under:
http://developer.intel.com/technology/iapc/acpi/downloads.htm
Thanks.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
A message that is not in the archive (sent off-list or not yet received): 200509081859.57340.hugelmopf-S0/[email protected]
Quoted 12 lines · Frank
I am having problems compiling this compiler on AMD64. It throws the following error message:
[compiler] $ make
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../include -c -o aslcompilerlex.oaslcompilerlex.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
Quoted 1 line
This is not a new error though, I have had it for at least the 20050309 and 20050513 release. It happens with GCC 3.3, 3.4 and 4.0... anybody an idea? It can't be happening only to me, can it?
I had no problems compiling the code on x86_64.
Maybe you have to update lex/yacc packages?
Quoted 3 lines
Thanks,
Frank
Thomas
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Quoted 11 lines · Frank
I am having problems compiling this compiler on AMD64. It throws the following error message:
[compiler] $ make
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../include -c -o aslcompilerlex.oaslcompilerlex.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
Are you on Debian? I think this means you need to install flex-old.
Do Intel have any plans to make this compatible with versions of GNU flex after 2.5.4a?
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
A message that is not in the archive (sent off-list or not yet received): [email protected]
Thanks a lot, this solved it. Maybe a note on the download page might be helpful?
Am Donnerstag, 8. September 2005 20:38 schrieb Matthew Wilcox:
Quoted 5 lines · Frank
Quoted 2 lines
I am having problems compiling this compiler on AMD64. It throws the following error message:
Are you on Debian? I think this means you need to install flex-old.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
A message that is not in the archive (sent off-list or not yet received): 200509082149.57483.hugelmopf-S0/[email protected]
hello Frank...
Quoted 2 lines · Frank
Thanks a lot, this solved it. Maybe a note on the download page might be helpful?
done: http://acpi.sf.net/download.html
i always wanted to do that, but it always slipped out of my mind. :)
cheers,
Sebastian
Quoted 6 lines
Am Donnerstag, 8. September 2005 20:38 schrieb Matthew Wilcox:
Quoted 5 lines · Frank
Quoted 2 lines
I am having problems compiling this compiler on AMD64. It throws the following error message:
Are you on Debian? I think this means you need to install flex-old.
Signature · 3 lines
Oo......................................................................oO Jeden Tag eine Erisische Tat! Oo. OpenPGP key ID: 0x7A62F9B4 Geekcode: GCSd-s:a-C++ULB+++W++M+PS+++ .oO