rdp / google_hash

wrapper for google's hash functions, for ruby
BSD 3-Clause "New" or "Revised" License
92 stars 16 forks source link

Fail to build with Rubinius #35

Open maasha opened 9 years ago

maasha commented 9 years ago

Hm?

rbx --version
rubinius 2.2.10 (2.1.0 bf61ae2e 2014-06-27 JI) [x86_64-linux-gnu]

uname -a
Linux orsted 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux
rbx gem install google_hash
....
sparse_ruby_to_double.cpp: In function ‘intptr_t rb_ghash_get(intptr_t, intptr_t, int, int)’:
sparse_ruby_to_double.cpp:205:42: error: ‘rb_dbl2big’ was not declared in this scope
sparse_ruby_to_double.cpp: In function ‘intptr_t rb_ghash_each(intptr_t)’:
sparse_ruby_to_double.cpp:242:60: error: ‘rb_dbl2big’ was not declared in this scope
sparse_ruby_to_double.cpp: In function ‘intptr_t rb_ghash_values(intptr_t)’:
sparse_ruby_to_double.cpp:251:45: error: ‘rb_dbl2big’ was not declared in this scope
make: *** [sparse_ruby_to_double.o] Error 1
rdp commented 9 years ago

maybe ask the rubinius people if these are api's they plan on never implementing [?]

On Sat, Feb 28, 2015 at 3:51 AM, maasha notifications@github.com wrote:

Hm?

rbx --version rubinius 2.2.10 (2.1.0 bf61ae2e 2014-06-27 JI) [x86_64-linux-gnu]

uname -a Linux orsted 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux

rbx gem install google_hash .... sparse_ruby_to_double.cpp: In function ‘intptr_t rb_ghash_get(intptr_t, intptr_t, int, int)’: sparse_ruby_to_double.cpp:205:42: error: ‘rb_dbl2big’ was not declared in this scope sparse_ruby_to_double.cpp: In function ‘intptr_t rb_ghash_each(intptr_t)’: sparse_ruby_to_double.cpp:242:60: error: ‘rb_dbl2big’ was not declared in this scope sparse_ruby_to_double.cpp: In function ‘intptr_t rb_ghash_values(intptr_t)’: sparse_ruby_to_double.cpp:251:45: error: ‘rb_dbl2big’ was not declared in this scope make: *\ [sparse_ruby_to_double.o] Error 1

— Reply to this email directly or view it on GitHub https://github.com/rdp/google_hash/issues/35.