[Gems-users] error compiling Ruby with SIMICS 4.2


Date: Mon, 20 Dec 2010 10:44:29 -0800
From: rajath hegde <rajathsh@xxxxxxxxx>
Subject: [Gems-users] error compiling Ruby with SIMICS 4.2
Hi,

    I am trying to get the Ruby working with Simics 4.2 and I am getting the following error:

vm-partha-01% cd $GEMS/ruby
vm-partha-01% 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 `/net/zeus/users/rhegde/gems/gems-2.1.1/slicc'
SLICC: Running flex and bison
make generated/generated
make[2]: Entering directory `/net/zeus/users/rhegde/gems/gems-2.1.1/slicc'
make[2]: `generated/generated' is up to date.
make[2]: Leaving directory `/net/zeus/users/rhegde/gems/gems-2.1.1/slicc'
SLICC: Building slicc executable
make amd64-linux/bin/slicc.exec
make[2]: Entering directory `/net/zeus/users/rhegde/gems/gems-2.1.1/slicc'
make[2]: `amd64-linux/bin/slicc.exec' is up to date.
make[2]: Leaving directory `/net/zeus/users/rhegde/gems/gems-2.1.1/slicc'
make[1]: Leaving directory `/net/zeus/users/rhegde/gems/gems-2.1.1/slicc'
Ruby: Running slicc
make generated/MOSI_SMP_bcast/generated
make[1]: Entering directory `/net/zeus/users/rhegde/gems/gems-2.1.1/ruby'
make[1]: `generated/MOSI_SMP_bcast/generated' is up to date.
make[1]: Leaving directory `/net/zeus/users/rhegde/gems/gems-2.1.1/ruby'
Ruby: Generating ruby objects
make amd64-linux/generated/MOSI_SMP_bcast/bin/tester.exec
make[1]: Entering directory `/net/zeus/users/rhegde/gems/gems-2.1.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/device-api.h', needed by `amd64-linux/generated/MOSI_SMP_bcast/obj/attrparse.o'.  Stop.
make[1]: Leaving directory `/net/zeus/users/rhegde/gems/gems-2.1.1/ruby'
make: *** [all] Error 2

    There is no simics/device-api.h file that I can find in the Simics install.
    Could anyone please help me out in resolving this error?

Thanks,
Rajath Hegde
[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] error compiling Ruby with SIMICS 4.2, rajath hegde <=