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


Date: Thu, 30 Jul 2009 23:03:33 -0400
From: Julia Lu <hlu@xxxxxxxxxx>
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




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