Date: | Thu, 10 Sep 2009 11:15:23 +0530 |
---|---|
From: | Arpit Joshi <ajj986@xxxxxxxxx> |
Subject: | [Gems-users] Error loading ruby |
Hi, I am not able to load ruby module. It is giving error : undefined symbol : magic_instruction_callback here is the trace ***************************************************************************************************** arpit@host:/scratch/arpit/simulator/gems/simics/home/MOSI_SMP_bcast$ ./simics -stall -c ../../../checkpoints/first-sarek.check Checking out a license... done: academic license. +----------------+ Copyright 1998-2007 by Virtutech, All Rights Reserved | Virtutech | Version: Simics 3.0.31 | Simics | Build: 1406 Host: x86-linux +----------------+ www.simics.com "Virtutech" and "Simics" are trademarks of Virtutech AB Use of this software is subject to appropriate license. Type 'copyright' for details on copyright. Type 'help help' for info on the on-line documentation. simics> instruction-fetch-mode instruction-fetch-trace [cpu0 info] Note that on this cpu, instruction-fetch-trace is implemented using instruction-cache-access-trace with a suitable cache line size. simics> istc-disable Turning I-STC off and flushing old data simics> dstc-disable Turning D-STC off and flushing old data simics> cpu-switch-time 1 The switch time will change to 1 cycles (for CPU-0) once all processors have synchronized. simics> load-module ruby Error loading module 'ruby': Failed to load module 'ruby' ('/scratch/arpit/simulator/gems/simics_3_31_workspace/x86-linux/lib/ruby.so'): "undefined symbol: magic_instruction_callback" ************************************************************************************* I have compiled ruby for 32 bit architecture and my simics installation is also for 32-bit architecture. I followed all steps mentioned in "First Steps Simics/GEMS on Ubuntu 7.10", author: Aleksandar Vitorovic, savitor@xxxxxxxxx I have compiled ruby using following command make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast here is the trace of compilation ************************************************************************************** Ruby: Building protocol: MOSI_SMP_bcast Ruby: Making slicc cd ../slicc; make make[1]: Entering directory `/scratch/arpit/simulator/gems/slicc' SLICC: Running flex and bison make generated/generated make[2]: Entering directory `/scratch/arpit/simulator/gems/slicc' make[2]: `generated/generated' is up to date. make[2]: Leaving directory `/scratch/arpit/simulator/gems/slicc' SLICC: Building slicc executable make x86-Linux/bin/slicc.exec make[2]: Entering directory `/scratch/arpit/simulator/gems/slicc' make[2]: `x86-Linux/bin/slicc.exec' is up to date. make[2]: Leaving directory `/scratch/arpit/simulator/gems/slicc' make[1]: Leaving directory `/scratch/arpit/simulator/gems/slicc' Ruby: Running slicc make generated/MOSI_SMP_bcast/generated make[1]: Entering directory `/scratch/arpit/simulator/gems/ruby' make[1]: `generated/MOSI_SMP_bcast/generated' is up to date. make[1]: Leaving directory `/scratch/arpit/simulator/gems/ruby' Ruby: Generating ruby objects make x86-Linux/generated/MOSI_SMP_bcast/bin/tester.exec make[1]: Entering directory `/scratch/arpit/simulator/gems/ruby' make[1]: `x86-Linux/generated/MOSI_SMP_bcast/bin/tester.exec' is up to date. make[1]: Leaving directory `/scratch/arpit/simulator/gems/ruby' make module_go make[1]: Entering directory `/scratch/arpit/simulator/gems/ruby' Made module make[1]: Leaving directory `/scratch/arpit/simulator/gems/ruby' Ruby: Linking simics module cd ../simics; make ruby make[1]: Entering directory `/scratch/arpit/simulator/gems/simics_3_31_workspace' ^[[7;34m=== Building module "ruby" ===^[[0m make[2]: Entering directory `/scratch/arpit/simulator/gems/simics_3_31_workspace/x86-linux/obj/modules/ruby' ^[[1;35mUsing the Simics 3.0 API for ruby module^[[0m CCLD ^[[1;34mruby.so^[[0m ^[[1;34mmod_ruby_commands.py^[[0m make[2]: Leaving directory `/scratch/arpit/simulator/gems/simics_3_31_workspace/x86-linux/obj/modules/ruby' make[1]: Leaving directory `/scratch/arpit/simulator/gems/simics_3_31_workspace' Ruby: Moving simics module make BUILD_FLAGS=-DSIMICS movemodule make[1]: Entering directory `/scratch/arpit/simulator/gems/ruby' ../scripts/prepare_simics_home.sh ../simics/home/MOSI_SMP_bcast x86-Linux make[1]: Leaving directory `/scratch/arpit/simulator/gems/ruby' Ruby: my work is done here... ***************************************************************** -- Arpit Joshi Research Scholar RISE Lab, Dept. of Computer Science and Engineering, IIT Madras, Chennai - 600036 Url : http://www.cse.iitm.ac.in/~arpitj |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [Gems-users] problems when create a victimbuffer in L1.sm, shanshuchang |
---|---|
Next by Date: | Re: [Gems-users] problems when create a victimbuffer in L1.sm, shanshuchang |
Previous by Thread: | [Gems-users] enqueue operation on MessageBuffer, Ikhwan Lee |
Next by Thread: | Re: [Gems-users] Error loading ruby, Wael Kdouh |
Indexes: | [Date] [Thread] |