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


Date: Thu, 30 Jul 2009 21:13:38 -0700 (PDT)
From: Muhammad abid Mughal <mabidm_pieas@xxxxxxxxx>
Subject: Re: [Gems-users] Ruby and Opal Compile Problem
hi,

Please set SIMICS_INCLUDE_ROOT  in gems_installation_directory/common/Makefile.common
to point to include  directory of simics (e.g SIMICS_INCLUDE_ROOT := /opt/virtutech/simics-3.0.31/src/include).
Before doing this you must know location of simics installation and version of simics (3.0 or 2.2.x)


Note : please kindly go through this link 


Best,
Muhammad abid



From: Julia Lu <hlu@xxxxxxxxxx>
To: gems-users@xxxxxxxxxxx
Cc: hlu@xxxxxxxxxx
Sent: Friday, July 31, 2009 11:03:33
Subject: Re: [Gems-users] Ruby and Opal Compile Problem

Hi,

I set the gcc and command g++ to their correct path and compile the make file
again. The system (x86_64-redhat-linux) information is:

(compile ruby)
[hlu@ee214lnx1 ruby]$ make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast
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'
make[2]: `amd64-linux/bin/slicc.exec' is up to date.
make[2]: Leaving directory `/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/slicc'
make[1]: Leaving directory `/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/slicc'
Ruby: Running slicc
make generated/MOSI_SMP_bcast/generated
make[1]: Entering directory `/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/ruby'
make[1]: `generated/MOSI_SMP_bcast/generated' is up to date.
make[1]: Leaving directory `/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/ruby'
Ruby: Generating ruby objects
make amd64-linux/generated/MOSI_SMP_bcast/bin/tester.exec
make[1]: Entering directory `/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/ruby'
make[1]: Circular amd64-linux/generated/MOSI_SMP_bcast/obj/init.o <-
default_param.h dependency dropped.
make[1]: *** No rule to make target `simics/api.h', needed by `amd64-
linux/generated/MOSI_SMP_bcast/obj/attrparse.o'.  Stop.
make[1]: Leaving directory `/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/ruby'
make: *** [all] Error 2
------------------------------------------------------------------------------
(compile opal)
[hlu@ee214lnx1 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'
make[1]: *** No rule to make target `simics/api.h', needed by `amd64-
linux/obj/ccops.o'.  Stop.
make[1]: Leaving directory `/home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/opal'
make: *** [module] Error 2


They have similar problem: *** No rule to make target `simics/api.h', needed
by `amd64-linux/obj/ccops.o'.  Stop.

Do you have any idea for how can I solve this error?
Thanks a lot.

Best regards,
Julia



-----Original Message-----

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




_______________________________________________
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.



Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com.
[← Prev in Thread] Current Thread [Next in Thread→]