Gentoo Archives: gentoo-user

From: Vishnupradeep <intermedia.vishnu@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Unable to install the ffi gem.
Date: Sat, 29 Oct 2011 11:08:13
Message-Id: CACk0-C9T2-qNWTNfFqi0hNj+BqgHjYU5=E3E+g+TifVQQW+DkQ@mail.gmail.com
1 x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I.
2 -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -march=amdfam10 -O2 -pipe
3 -fno-strict-aliasing -fPIC -I/usr/lib64/libffi-3.0.10/include
4 -Wno-declaration-after-statement -c Struct.c
5 x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I.
6 -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -march=amdfam10 -O2 -pipe
7 -fno-strict-aliasing -fPIC -I/usr/lib64/libffi-3.0.10/include
8 -Wno-declaration-after-statement -c DataConverter.c
9 x86_64-pc-linux-gnu-gcc -shared -o ffi_c.so Function.o Pointer.o Buffer.o
10 AbstractMemory.o ArrayType.o ffi.o MappedType.o StructByValue.o Call.o
11 StructLayout.o Thread.o Platform.o Variadic.o MethodHandle.o MemoryPointer.o
12 Types.o DynamicLibrary.o Type.o ClosurePool.o FunctionInfo.o LastError.o
13 StructByReference.o Struct.o DataConverter.o -L. -L/usr/lib64
14 -Wl,-R/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic
15 -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lffi
16 -lffi -lrt -ldl -lcrypt -lm -lc
17 Thread.o: In function `cleanup_blocking_thread':
18 Thread.c:(.text+0x29): undefined reference to `pthread_kill'
19 Thread.o: In function `rbffi_blocking_thread':
20 Thread.c:(.text+0xd9): undefined reference to `pthread_testcancel'
21 Thread.o: In function `rbffi_thread_blocking_region':
22 Thread.c:(.text+0x1ef): undefined reference to `pthread_create'
23 Thread.c:(.text+0x225): undefined reference to `pthread_join'
24 collect2: ld returned 1 exit status
25 make: *** [ffi_c.so] Error 1
26
27
28 Gem files will remain installed in /usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9
29 for inspection.
30 Results logged to
31 /usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9/ext/ffi_c/gem_make.out
32 tux diaspora #

Replies

Subject Author
[gentoo-user] Re: Unable to install the ffi gem. Hans de Graaff <graaff@g.o>