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


Date: Fri, 31 Jul 2009 23:52:41 -0400
From: Julia Lu <hlu@xxxxxxxxxx>
Subject: Re: [Gems-users] Ruby and Opal Compile Problem
Hi,

I checked my gems_installation_directory/common/Makefile.common file but it is 
already set to the collect SIMICS_INCLUDE_ROOT path. I tried install the 
simics-3.0.31 both 
inside the $(GEMS_ROOT) as $(GEMS_ROOT)/simics-3.0.31/src/include 
or
another directory outside $(GEMS_ROOT) as 
/home/ee214lnx4/a/hlu/Project/virtutech/simics-3.0.31/src/include

they both come out the same error message as last time.
----
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
---
I attached my Makefile.common file in this email.
Could you advice me any other potential problems?
really thanks for your help.

Best regards,
Julia


(main modified part of my "$(GEMS_ROOT)/common/Makefile.common" file)
---------------------------
include $(GEMS_ROOT)/common/Makefile.simics_version

HOST_TYPE := $(shell $(GEMS_ROOT)/scripts/calc_host.sh)
SIMICS_ROOT := $(GEMS_ROOT)/simics
SLICC_ROOT := $(GEMS_ROOT)/slicc
PROTOCOL_ROOT := $(GEMS_ROOT)/protocols
OPAL_ROOT := $(GEMS_ROOT)/opal

ifeq ($(SIMICS_VERSION),2.2.X)
  SIMICS_ROOT := $(GEMS_ROOT)/simics
  SIMICS_EXEC_ROOT := /dev/null22
  SIMICS_INCLUDE_ROOT := /dev/null22
else
ifeq ($(SIMICS_VERSION),3.0)
  SIMICS_ROOT :=   /home/ee214lnx4/a/hlu/Project/GEMS/gems-2.1/simics   
#/dev/null30
  SIMICS_EXEC_ROOT := $(GEMS_ROOT)/simics
  # NOTE: This variable must be updated to point to the src/include directory
  # of your Simics 3.0 installation
  SIMICS_INCLUDE_ROOT := /home/ee214lnx4/a/hlu/Project/virtutech/simics-
3.0.31/src/include
  #SIMICS_INCLUDE_ROOT := $(GEMS_ROOT)/simics-3.0.31/src/include 
---------------------------








-------------------------Original Mail--------------------------
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 
http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/Setup_for_Simics_3.0.X



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


_______________________________________________
Gems-users mailing list



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