Re: [Gems-users] Compiling Ruby


Date: Wed, 07 Jun 2006 17:37:15 -0500
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] Compiling Ruby
This error has to do with the libstdc++.so file that it is trying to link against. Here, we manually copy these into the simics/x86-linux/lib directory. You also might try configuring simics with the same compiler you are using to build.


--Mike


Filipe wrote:

Hi,

I'm trying to compile Ruby - Gems1.2 - but I'm having some problems. The host is a x86 Linux, I'm using Simics-2.0.16, gcc-3.4, bison2... I followed the instructions of the Wiki documentation and I saw the same problem posted here, but no conclusions... I am sure about the steps given on the setup and quick start...

Here goes the comand I used to compile Ruby and the last lines of the output:

>make PROTOCOL=MSI_MOSI_CMP_directory  DESTINATION=MSI_MOSI_CMP_directory

Ruby: Running slicc
make generated/MSI_MOSI_CMP_directory/generated
make[1]: Entering directory `/home/filipe/gems/ruby'
make[1]: `generated/MSI_MOSI_CMP_directory/generated' is up to date.
make[1]: Leaving directory `/home/filipe/gems/ruby'
Ruby: Generating ruby objects
make x86-linux/generated/MSI_MOSI_CMP_directory/bin/tester.exec
make[1]: Entering directory `/home/filipe/gems/ruby'
make[1]: `x86-linux/generated/MSI_MOSI_CMP_directory/bin/tester.exec' is up to date.
make[1]: Leaving directory `/home/filipe/gems/ruby'
make module_go
make[1]: Entering directory `/home/filipe/gems/ruby'
Made module
make[1]: Leaving directory `/home/filipe/gems/ruby'
Ruby: Linking simics module
cd ../simics/x86-linux/lib; make ruby
make[1]: Entering directory `/home/filipe/gems/simics-2.0.16/x86-linux/lib'
=== Building module "ruby" ===
Linking ruby.so
/home/filipe/gems/simics-2.0.16/x86-linux/lib/ruby.so: /home/filipe/gems/simics-2.0.16/x86-linux/lib/ruby.so: undefined symbol: _ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base make[2]: *** [/home/filipe/gems/simics-2.0.16/x86-linux/lib/ruby.so] Error 1 make[2]: *** Deleting file `/home/filipe/gems/simics-2.0.16/x86-linux/lib/ruby.so'
make[1]: *** [ruby] Error 2
make[1]: Leaving directory `/home/filipe/gems/simics-2.0.16/x86-linux/lib'
make: *** [all] Error 2


Thank you very much for the attention!

--
Filipe Montefusco Scoton

------------------------------------------------------------------------

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users


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