* iasl refuses to compile
@ 2005-11-19 11:00 Simon Bridge
[not found] ` <1132398006.7629.11.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Simon Bridge @ 2005-11-19 11:00 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Yes - yet another instance.
The output of the makefile is as follows:
simon@infrared:~/custom/acpica-unix-20050930/compiler$ make
conflicts: 61 shift/reduce, 18 reduce/reduce
aslcompiler.y:915.7-81: warning: rule never reduced because of
conflicts: TermArg: Type2IntegerOpcode
aslcompiler.y:916.7-81: warning: rule never reduced because of
conflicts: TermArg: Type2StringOpcode
aslcompiler.y:917.7-81: warning: rule never reduced because of
conflicts: TermArg: Type2BufferOpcode
aslcompiler.y:918.7-81: warning: rule never reduced because of
conflicts: TermArg: Type2BufferOrStringOpcode
aslcompiler.y:964.7-82: warning: rule never reduced because of
conflicts: OptionalParameterTypePackage: ','
aslcompiler.y:983.37-48: warning: rule never reduced because of
conflicts: ParameterTypesPackageList: /* empty */
aslcompiler.y:984.7-46: warning: rule never reduced because of
conflicts: ParameterTypesPackageList: ObjectTypeKeyword
aslcompiler.y:988.7-989.69: warning: rule never reduced because of
conflicts: ParameterTypesPackageList: ParameterTypesPackage ','
ParameterTypesPackage
aslcompiler.y:994.7-82: warning: rule never reduced because of
conflicts: OptionalParameterTypesPackage: ','
aslcompiler.y:1585.7-38: warning: rule never reduced because of
conflicts: CaseTermList: CaseTerm
aslcompiler.y:1594.7-38: warning: rule never reduced because of
conflicts: DefaultTermList: CaseTerm
aslcompiler.y:3077.37-48: warning: rule never reduced because of
conflicts: OptionalResourceType: /* empty */
aslcompilerlex.c: In function ‘AslCompiler_init_buffer’:
aslcompilerlex.c:3641: warning: implicit declaration of function
‘fileno’
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
simon@infrared:~/custom/acpica-unix-20050930/compiler$ less iaslmake.txt
simon@infrared:~/custom/acpica-unix-20050930/compiler$ rm iaslmake.txt
simon@infrared:~/custom/acpica-unix-20050930/compiler$
Normally I'd suspect missing kernel headers or source but both are
installed on this system. Library missing? I've been puzzling through
the archive and many similar topics there only to be frustrated when the
poor user finally discloses the nature of the problem, or dosn't do so
and post "hey I solved this now thanks" later, also with no
explaination.
Downloaded the intel ASL compiler/decompiler from
http://developer.intel.com/technolo...i/downloads.htm
... selected the unix tarball (acpica-unix-20050930.tar.gz) and followed
the instructions in the readme and the intel site. I had to install
bison, flex, kernel headers and sources - which I did via apt-get for
bison and flex, and synaptic for the headers and sources.
You can see I've enabled the -ansi flag (readme specified an ansi c
compiler), but I get much the same output without it (warning instead of
conflicts and the same errors.) I have been wondering about the
likelyhood of errors in the code - I doubted it only to find in the
archive to this list that it has happened ... perhaps running a debug
tool? Man I havn't used C since djgpp in dos 6.
The system is:
Ubuntu 5.10, fully updated - std repos enabled, inlcl. multiverse.
kernel 2.6.12-9-686
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
g++ (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
bison (GNU Bison) 2.0
flex 2.5.31
I've also posted this question to:
http://www.linuxquestions.org/questions/showthread.php?s=&threadid=384570
Thanks in advance.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id\x16845&op=click
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-11-19 13:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-19 11:00 iasl refuses to compile Simon Bridge
[not found] ` <1132398006.7629.11.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-11-19 11:36 ` Sebastian Henschel
[not found] ` <20051119113613.GA533-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-11-19 13:32 ` Mattia Dongili
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox