Hello,
I am trying to build Gems 1.4 w/ Simics 3.0.17 on an amd64 machine
running Ubuntu Edgy.
I have followed the instructions on:
http://www.cs.wisc.edu/gems/doc/wiki/moin.cgi/Setup_for_Simics_3.0.X
and
http://www.cs.wisc.edu/gems/doc/wiki/moin.cgi/QuickStart
to get Ruby to compile.
Most of the problems where related to SIMICS_VERSION not being defined
in some Makefiles (even though I have defined it in
common/Makefile.simics_version), also the host seems to not be
detected
properly in some makefiles.
However, I've gotten as far as this:
cd /home/grannas/src/gems/simics; make ruby
make[1]: Entering directory `/home/grannas/src/gems/
simics_3_workspace'
=== Building module "ruby" ===
make[2]: Entering directory `/home/grannas/src/gems/
simics_3_workspace/amd64-linux/obj/modules/ruby'
Using the Simics 3.0 API for ruby module
make[2]: Leaving directory `/home/grannas/src/gems/
simics_3_workspace/amd64-linux/obj/modules/ruby'
make[1]: *** [ruby] Error 2
make[1]: Leaving directory `/home/grannas/src/gems/simics_3_workspace'
make: *** [all] Error 2
This doesn't say much, so I did a --dry-run. It seems to fail on this:
make -C "/home/grannas/src/gems/simics_3_workspace/amd64-linux/obj/
modules/ruby" \
-f "/home/grannas/src/gems/simics_3_workspace/modules/ruby/
Makefile" \
MOD_MAKEFILE="/home/grannas/src/gems/simics_3_workspace/modules/
ruby/Makefile" \
HOST_TYPE=amd64-linux \
SRC_BASE="/home/grannas/src/gems/simics_3_workspace/modules" \
MODULE_MAKEFILE="/home/grannas/bilbo/.version/simics-3.0.17/config/
module.mk" \
TARGET=ruby
So I issued it manually, and added PROTOCOL=MOESI_CMP_directory to
the commandline. The output then becomes:
make: Entering directory `/home/grannas/src/gems/simics_3_workspace/
amd64-linux/obj/modules/ruby'
/home/grannas/src/gems/simics_3_workspace/modules/../../ruby/amd64-
linux/generated/MOESI_CMP_directory/obj/AbstractCacheEntry.o:1:
warning: NUL character seen; rest of line ignored
/home/grannas/src/gems/simics_3_workspace/modules/../../ruby/amd64-
linux/generated/MOESI_CMP_directory/obj/AbstractCacheEntry.o:1: ***
missing separator. Stop.
make: Leaving directory `/home/grannas/src/gems/simics_3_workspace/
amd64-linux/obj/modules/ruby'
Any ideas about what's wrong?
--
Marius Grannæs
_______________________________________________
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.