[Gems-users] Problem Compiling Ruby


Date: Mon, 18 Sep 2006 19:01:07 +0200
From: nikolaos@xxxxxxxxxx
Subject: [Gems-users] Problem Compiling Ruby
Good afternoon,

I have modified the Ruby code adding a vector<uint64> variable that I needed for
some comparisons. Thing is that ruby won't compile now. The last lines of the
compilation output are:

touch x86-linux/generated/MOSI_SMP_bcast/bin/ruby.closure
Template closure done
Made module
make[1]: Leaving directory `/users/scratch/nikolaos/programs/sparc/ruby'
Ruby: Linking simics module
cd ../simics/x86-linux/lib; make ruby
make[1]: Entering directory
`/users/scratch/nikolaos/programs/sparc/simics-2.2.17/x86-linux/lib'
=== Building module "ruby" using the 2.0 API ===
gmake[2]: *** No rule to make target `vector', needed by `ruby.d'.  Stop.
make[1]: *** [ruby] Error 2
make[1]: Leaving directory
`/users/scratch/nikolaos/programs/sparc/simics-2.2.17/x86-linux/lib'
make: *** [all] Error 2


my gcc version is:
gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)

Could it be a problem of the gcc version I am using? I have tried including both
<vector> and <vector.h> as I saw that the latter is more backwards compatible,
but the result was the same.

Any insights would be more than welcomed

Thanks,

Nikolas

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