Hi,
I'm trying to run Gems on Simics 3.0.
My current machine is Fedora core 4.0 with gcc 4.1.1. Previously, I was
confronted with some compilation errors. I checked the archive of this
mail list and installed gcc 3.3.6 to /opt/gcc3.3.6. In
$gems/ruby/module/Makefile, MODULE_LDFLAGS is changed to include
-Wl,-R/opt/gcc3.3.6/lib.
Then I recompiled ruby as instructed by the documentation, configued
simics, etc...However, the following erros happened:
simics> load-module ruby
Error loading module 'ruby': Failed to load module 'ruby'
('/home/gems-release1.3.1/simics_3_workspace/x86-linux/lib/ruby.so'):
"undefined symbol:
_ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvj"
I used ldd for ruby.so:
linux-gate.so.1 => (0x001c0000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x001c1000)
libz.so.1 => /usr/lib/libz.so.1 (0x00436000)
libsimics-common.so => not found
libm.so.6 => /lib/libm.so.6 (0x00111000)
libgcc_s.so.1 => /opt/gcc3.3.6/lib/libgcc_s.so.1 (0x002b5000)
libc.so.6 => /lib/libc.so.6 (0x00ed1000)
/lib/ld-linux.so.2 (0x0048d000)
I tried to find out what this message indicates, but got little idea.
I'd rather appreciate any kind of information related to my problem.
Thanks.
-Wei
|