Re: [Gems-users] Ruby and Opal Compile Problem


Date: Wed, 29 Jul 2009 14:32:40 -0500
From: "Berkin Ozisikyilmaz" <boz283@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] Ruby and Opal Compile Problem
Hi,

Do you have the gcc path set correctly in the makefiles? The log says that
it cant find the g++ at /s/gcc-3.4.1/bin/g++: location.

Berkin

-----Original Message-----
From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx]
On Behalf Of Julia Lu
Sent: 2009-07-29 14:25
To: gems-users@xxxxxxxxxxx
Cc: hlu@xxxxxxxxxx
Subject: [Gems-users] Ruby and Opal Compile Problem

Hi, I am a new user to GEMS, and I am now trying to set up Simics 3.0.31 and

GEMS 2.1 on Linux RedHat Enterprise 5.0 following the instruction from
"Setup 
for Simics 3.0.X.
 
But when I complile Ruby, I encounterred some problems that I don't know how

to solve. I have similar problem for compiling the Ruby and Opal.
Here is the information about the system for compiling Ruby and Opal:

-------------
hlu ~...GEMS/gems-2.1/opal >make module DESTINATION=MOSI_SMP_bcast
Opal: building module
make generated/generated
make[1]: Entering directory
`/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/opal'
make[1]: `generated/generated' is up to date.
make[1]: Leaving directory
`/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/opal'
make BUILD_FLAGS=-DSIMICS module_go
make[1]: Entering directory
`/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/opal'
/s/gcc-3.4.1/bin/g++ -o amd64-linux/obj/ccops.o -c sparc/ccops.c -DSPARC -
stopcompile  -DTARGET_SPARC_V9 -DTARGET_ULTRA -DTARGET_VA_BITS=64 -
DTARGET_PA_BITS=64 -DYY_NO_UNPUT -Wall -W -Wwrite-strings -Woverloaded-
virtual -
Wno-unused  -ggdb -g3 -O2 -fPIC -finline-functions -DSIMICS -DIS_OPAL -
DVERIFY_SIMICS -DDEBUG_FILTER -DRETIRE_ZERO_TOLERANCE -DREDECODE_EACH -
Icommon -
Ifetch -Ipower -Isparc -Isystem -Imodule -Itrace -Itester -I../common -
I../common/ioutil -Igenerated -Ibenchmark/tester   
make[1]: /s/gcc-3.4.1/bin/g++: Command not found
make[1]: *** [amd64-linux/obj/ccops.o] Error 127
make[1]: Leaving directory
`/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/opal'
make: *** [module] Error 2


-------------
hlu ~...GEMS/gems-2.1/ruby >make PROTOCOL=MOSI_SMP_bcast 
DESTINATION=MOSI_SMP_bcast
ls: generated/MOSI_SMP_bcast/*.C: No such file or directory
Ruby: Building protocol: MOSI_SMP_bcast
Ruby: Making slicc
cd ../slicc; make
make[1]: Entering directory
`/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory
`/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory
`/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/slicc'
SLICC: Building slicc executable
make amd64-linux/bin/slicc.exec
make[2]: Entering directory
`/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/slicc'
/s/gcc-3.4.1/bin/g++ -o amd64-linux/obj/parser.o -c generated/parser.c -
DYY_NO_UNPUT -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused  -m64
-
march=opteron -fPIC -g -ggdb -g3 -O2 -finline-functions -
DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN   -I. -I../common -
Igenerated -Isymbols -Igenerator -Iast    
make[2]: /s/gcc-3.4.1/bin/g++: Command not found
make[2]: *** [amd64-linux/obj/parser.o] Error 127
make[2]: Leaving directory
`/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/slicc'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/slicc'
make: *** [all] Error 2

-------------


Do you have any idea for how can I solve this problem?
I would apprecite for your response.
Thanks a lot.

Best,
Julia



_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding
"site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.


[← Prev in Thread] Current Thread [Next in Thread→]