[Gems-users] Ruby and Opal compilation problem with GEMS 2.1.1, gcc 4.4.5


Date: Mon, 18 Apr 2011 12:05:57 -0400
From: Sivateja Patibandla <patibandlas2@xxxxxxx>
Subject: [Gems-users] Ruby and Opal compilation problem with GEMS 2.1.1, gcc 4.4.5
HI everyone!

I'm using GEMS 2.1.1, Simics 4.2.6 and gcc 4.4.5.
I'm following the documentation listed in GEMS wiki.
I have four questions as follows:

Though these were reported previously, I am not able to figure out. Moreover, SIMICS_INCLUDE_ROOT path is correct.
It is correctly pointing to /home/sivateja/gems/simics-4.2.73/src/include

1.  In $GEMS/common/makefile.common:
     a) What path should the SIMICS_ROOT, SIMICS_EXEC_ROOT be assigned to?
     b) Also, in  $GEMS/common/Makefile.simics_version, what should the SIMICS_VERSION be assigned to?
             Is it my current version that is 4.2.6, or 3.0 as being specified in the installation guidelines.

ifeq ($(SIMICS_VERSION),3.0)
  SIMICS_ROOT := $(GEMS_ROOT)/simics
  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 := $(SIMICS_INSTALL)/src/include

****************************************************************
2. I get this error while compiling ruby: I've no clue how to solve this.

sivateja@sivateja-OptiPlex-980:~/gems/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/sivateja/gems/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/home/sivateja/gems/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory `/home/sivateja/gems/slicc'
SLICC: Building slicc executable
make x86-linux/bin/slicc.exec
make[2]: Entering directory `/home/sivateja/gems/slicc'
make[2]: `x86-linux/bin/slicc.exec' is up to date.
make[2]: Leaving directory `/home/sivateja/gems/slicc'
make[1]: Leaving directory `/home/sivateja/gems/slicc'
Ruby: Running slicc
make generated/MOSI_SMP_bcast/generated
make[1]: Entering directory `/home/sivateja/gems/ruby'
make[1]: `generated/MOSI_SMP_bcast/generated' is up to date.
make[1]: Leaving directory `/home/sivateja/gems/ruby'
Ruby: Generating ruby objects
make x86-linux/generated/MOSI_SMP_bcast/bin/tester.exec
make[1]: Entering directory `/home/sivateja/gems/ruby'
make[1]: Circular x86-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 `x86-linux/generated/MOSI_SMP_bcast/obj/attrparse.o'.  Stop.
make[1]: Leaving directory `/home/sivateja/gems/ruby'
make: *** [all] Error 2


******************************************************************

3. I get this error while compiling OPAL

sivateja@sivateja-OptiPlex-980:~/gems/opal$ make module DESTINATION=MOSI_SMP_bcast
Opal: building module
make generated/generated
make[1]: Entering directory `/home/sivateja/gems/opal'
make[1]: `generated/generated' is up to date.
make[1]: Leaving directory `/home/sivateja/gems/opal'
make BUILD_FLAGS=-DSIMICS module_go
make[1]: Entering directory `/home/sivateja/gems/opal'
make[1]: *** No rule to make target `simics/api.h', needed by `x86-linux/obj/ccops.o'.  Stop.
make[1]: Leaving directory `/home/sivateja/gems/opal'
make: *** [module] Error 2

******************************************************************

4. I saw this in https://lists.cs.wisc.edu/archive/gems-users/2005-July/msg00022.shtml
> cd /afs/ece.cmu.edu/usr/yangdon/vol2/gems/simics/x86-linux
> ../configure
So i tried to do this in my installation by:

sivateja@sivateja-OptiPlex-980:~/gems/simics/x86-linux$ ../configure
bash: ../configure: No such file or directory

*******************************************************************

Can anyone please help me on these issues.

Thanks in advance.

Siva.


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