Re: [Gems-users] Error loading 'ruby' module


Date: Mon, 18 Dec 2006 21:35:42 -0600
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] Error loading 'ruby' module
Did you make clean? in gems/ruby and gems/slicc?

Regards,
Dan

Wei Chen wrote:

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
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.


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