[Gems-users] Compile Ruby


Date: Tue, 30 May 2006 20:21:18 -0700 (PDT)
From: James Wang <jameswang99@xxxxxxxxx>
Subject: [Gems-users] Compile Ruby
Hi all:
    I was trying to compile ruby and make PROTOCOL
part went ok. But when I specify DESTIANTION, I got
the following error:
=== Building module "ruby" using the 2.0 API ===
Creating dependencies: module_id.c
Creating dependencies: ruby.c
Creating exportmap.elf
Compiling ruby.c
/afs/ec.auckland.ac.nz/project/hstm/wcon006/new_GEMS/simics/src/extensions/ruby/ruby.c:108:
warning: `mm_id' defined but not used
Compiling module_id.c
Linking ruby.so
/afs/ec.auckland.ac.nz/project/hstm/wcon006/new_GEMS/simics-2.2.19/x86-linux/lib/ruby.so:
/afs/ec.auckland.ac.nz/project/hstm/wcon006/new_GEMS/simics-2.2.19/x86-linux/lib/ruby.so:
symbol
_ZNSt15basic_streambufIcSt11char_traitsIcEE7seekposESt4fposI11__mbstate_tESt13_Ios_Openmode,
version GLIBCPP_3.2 not defined in file libstdc++.so.5
with link time reference
make[2]: ***
[/afs/ec.auckland.ac.nz/project/hstm/wcon006/new_GEMS/simics-2.2.19/x86-linux/lib/ruby.so]
Error 1
make[2]: *** Deleting file
`/afs/ec.auckland.ac.nz/project/hstm/wcon006/new_GEMS/simics-2.2.19/x86-linux/lib/ruby.so'
make[1]: *** [ruby] Error 2
make[1]: Leaving directory
`/afs/ec.auckland.ac.nz/project/hstm/wcon006/new_GEMS/simics-2.2.19/x86-linux/lib'
make: *** [all] Error 2

    I am on a Debian x86 system gcc 3.3.5, I was
trying to compile GEMS 1.2, and GEMS 1.1 works fine on
it.


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