Hello Jayaram, I switched to GEMS-2.0, compiled ruby successfully. Modified commands.C to add in my codes and commented out TransactionMemory.h.
It then gives me this error message
make[1]: Entering directory `/home/carolewu/GEMS-
2.0/simics-2.2.19/x86-linux/lib' === Building module "ruby" using the 2.0 API === Linking ruby.so /home/carolewu/GEMS-2.0/simics-2.2.19/x86-linux/lib/ruby.so: /home/carolewu/GEMS-2.0/simics-2.2.19/x86-linux/lib/ruby.so: undefined symbol: ruby_xact_visualizer_file
gmake[2]: *** [/home/carolewu/GEMS-2.0/simics-2.2.19/x86-linux/lib/ruby.so] Error 1 gmake[2]: *** Deleting file `/home/carolewu/GEMS-2.0/simics-2.2.19/x86-linux/lib/ruby.so' make[1]: *** [ruby] Error 2 make[1]: Leaving directory `/home/carolewu/GEMS-
2.0/simics-2.2.19/x86-linux/lib' make: *** [all] Error 2
any clues?
thanks, Carole
On 10/20/07, Carole-Jean Wu <
carolewu@xxxxxxxxxxxxx> wrote:Hello Jayaram, I am using GEMS-1.4. I tried to remove
TransactionManager.h, but it didn't help.
- Carole
On 10/20/07, Jayaram Bobba
<
bobba@xxxxxxxxxxx> wrote:
Which version of GEMS are you using?
If you are using GEMS 2.0, please check/ensure that $GEMS/ruby/simics/commands.C or $GEMS/ruby/simics/commands.h does not include TransactionManager.h Do a 'make clean' and try recompiling after that.
Jayaram
Carole-Jean Wu wrote: > Hello, > > I've successfully compile ruby for PROTOCOL=MOSI_SMP_directory_1level. > Then I modified ruby/simics/commands.C. When I tried to compile again,
> it is giving this error > > /bin/sh -ec '/usr/bin/g++ -MM -MG -DSPARC -DSIMICS22X -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 -O2 -finline-functions -DNO_VECTOR_BOUNDS_CHECKS > -DMULTIFACET_NO_OPT_WARN -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 -Igenerated/MOSI_SMP_directory_1level > -I../common/ioutil -Inetwork -I../simics/x86-linux/obj/include/ > -I../simics/x86-linux/obj/include/simics -I../simics/x86-linux/config
> generated/MOSI_SMP_directory_1level/attrparse.c | sed -e > '\''s@^\(.*\)\.o:@x86-linux/generated/MOSI_SMP_directory_1level/obj/attrparse.d:@'\'' > | sed -e '\''s@^\(.*\)\.d:@\1.d \1.o:@'\'' >
> x86-linux/generated/MOSI_SMP_directory_1level/obj/attrparse.d #' > make[1]: Leaving directory `/home/carolewu/GEMS-2.0/ruby' > make[1]: Entering directory `/home/carolewu/GEMS-2.0/ruby'
> make[1]: *** No rule to make target `TransactionManager.h', needed by > `x86-linux/generated/MOSI_SMP_directory_1level/obj/commands.d'. Stop. > make[1]: Leaving directory `/home/carolewu/GEMS-2.0
/ruby' > make: *** [all] Error 2 > > Any clues? > > Thanks, > Carole > ------------------------------------------------------------------------ > > _______________________________________________
> 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. >
>
_______________________________________________ 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.
|