[Gems-users] Ruby Compilation Error


Date: Thu, 14 Jun 2007 11:08:38 +0530
From: "shyam venkatesh" <shyamvenky@xxxxxxxxx>
Subject: [Gems-users] Ruby Compilation Error
Dear Sir/Madam,
      I am pretty new to GEMS. I have installed GEMS 1.3 and SIMICS 3.0.23 as per the instructions on the help page.
But, when i try to build a ruby module using the  command  ( in the ruby directory )
   
     make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast

i get the following errors. I am not able to figure out the reason for it.

This was the output of the command


Ruby: Building protocol: MOSI_SMP_bcast
Ruby: Making slicc
cd ../slicc; make
make[1]: Entering directory `/newexport/project/btech/ramak/GEMS/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/newexport/project/btech/ramak/GEMS/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory `/newexport/project/btech/ramak/GEMS/slicc'
...
...
...
/bin/sh -ec '/usr/bin/g++ -MM -MG -DGEMS_32_BIT -DADD_ARCH_TO_API -DSIMICS_3_0  -DIS_RUBY -DTARGET_SPARC_V9 -DTARGET_VA_BITS=64 -DTARGET_PA_BITS=64 -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused  -march=i686 -g -ggdb -g3 -O0 -w  -DRUBY_DEBUG=false  -Inetwork/simple -I. -I../common -I../common/gzstream -Ibuffers -Icommon -Islicc_interface -Iprofiler -Iconfig -Ieventqueue -Isystem -Iinterfaces -Isimics -Itester -Irecorder -Ilog_tm -Inuca -Igenerated/MOSI_SMP_bcast -I../common/ioutil -Inetwork -I~/simics3/x86/install/simics- 3.0.23/src/include -I~/simics3/x86/install/simics-3.0.23/src/include/simics -I~/simics3/x86/install/simics-3.0.23/src/include/simics/core -I~/simics3/x86/install/simics-3.0.23/src/include/simics/arch -I~/simics3/x86/install/simics- 3.0.23/src/include/simics/util  tester/getopt.C | sed -e '\''s@^\(.*\)\.o:@x86-linux/generated/MOSI_SMP_bcast/obj/getopt.d:@'\'' | sed -e '\''s@^\(.*\)\.d:@\1.d \1.o:@'\'' > x86-linux/generated/MOSI_SMP_bcast/obj/getopt.d #'
make[1]: *** No rule to make target `global.h', needed by `x86-linux/generated/MOSI_SMP_bcast/obj/DemoPrefetcher.d'.  Stop.
make[1]: Leaving directory `/newexport/project/btech/ramak/GEMS/ruby'
make: *** [all] Error 2



I tried re-installing GEMS several times. But it did'nt work.
OPAL also gives a similiar error.

Thanking You
Shyam















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