Most Linux distributions include getopt as part of
the system. You can either add getopt to your Linux system,
or just compile getopt.C with Ruby/Opal by copying the file and adding it
to the Makefile
Older versions of these files are
in our download directory:
--Mike
----- Original Message -----
Sent: Thursday, June 14, 2007 12:38
AM
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
_______________________________________________ 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.
|