Subject: Re: [ruby-ffi] Re: What constitutes a sane building environment? |
From: Mike Dalessio |
Date: 11/29/10 1:05 PM |
To: ruby-ffi@googlegroups.com |
Hey Mike - thanks for giving me a hand.
So I installed the libffi-devel package and then got past the initial
error that I had and on to a new one. I have managed to install
version 0.6.2, but I am getting the following errors for 0.6.3...
(sorry about the massive copy-paste)
gem_make.out: ==================================
gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DRUBY_EXTCONF_H=
\"extconf.h\" -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -
fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -
mtune=generic -fno-strict-aliasing -fPIC -I/usr/lib64/libffi-3.0.9/
include -c MappedType.c
MappedType.c: In function ‘mapped_allocate’:
MappedType.c:54:26: error: ‘NATIVE_MAPPED’ undeclared (first use in
this function)
MappedType.c:54:26: note: each undeclared identifier is reported only
once for each function it appears in
MappedType.c: In function ‘mapped_initialize’:
MappedType.c:64:11: warning: unused variable ‘t’
make: *** [MappedType.o] Error 1