Created
November 23, 2012 23:34
-
-
Save kennethlove/4137716 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/Cellar/ruby/1.9.3-p125/bin/ruby extconf.rb | |
extconf.rb:6: Use RbConfig instead of obsolete and deprecated Config. | |
checking for ffi.h in /usr/local/include... no | |
checking for rb_thread_blocking_region()... yes | |
creating extconf.h | |
creating Makefile | |
make | |
Configuring libffi | |
cd /usr/local/lib/ruby/gems/1.9.1/gems/ffi-0.6.3/ext/ffi_c/libffi && make | |
make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=" "CXXFLAGS=" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/local/bin/ginstall -c" "INSTALL_DATA=/usr/local/bin/ginstall -c -m 644" "INSTALL_PROGRAM=/usr/local/bin/ginstall -c" "INSTALL_SCRIPT=/usr/local/bin/ginstall -c" "JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /usr/local/lib/ruby/gems/1.9.1/gems/ffi-0.6.3/ext/ffi_c/libffi/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/sh" "exec_prefix=/usr/local" "infodir=/usr/local/share/info" "libdir=/usr/local/lib" "prefix=/usr/local" "AR=ar" "AS=as" "CC=/usr/bin/clang" "CXX=c++" "LD=ld" "NM=/usr/bin/nm" "RANLIB=ranlib" "DESTDIR=" all-recursive | |
Making all in include | |
make[3]: Nothing to be done for `all'. | |
Making all in testsuite | |
make[3]: Nothing to be done for `all'. | |
Making all in man | |
make[3]: Nothing to be done for `all'. | |
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/debug.lo src/debug.c | |
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/debug.c -fno-common -DPIC -o src/.libs/debug.o | |
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/prep_cif.lo src/prep_cif.c | |
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/prep_cif.c -fno-common -DPIC -o src/.libs/prep_cif.o | |
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/types.lo src/types.c | |
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/types.c -fno-common -DPIC -o src/.libs/types.o | |
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/raw_api.lo src/raw_api.c | |
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/raw_api.c -fno-common -DPIC -o src/.libs/raw_api.o | |
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/java_raw_api.lo src/java_raw_api.c | |
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/java_raw_api.c -fno-common -DPIC -o src/.libs/java_raw_api.o | |
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/closures.lo src/closures.c | |
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/closures.c -fno-common -DPIC -o src/.libs/closures.o | |
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/x86/ffi.lo src/x86/ffi.c | |
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/x86/ffi.c -fno-common -DPIC -o src/x86/.libs/ffi.o | |
/bin/sh ./libtool --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -c -o src/x86/darwin.lo src/x86/darwin.S | |
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -c src/x86/darwin.S -fno-common -DPIC -o src/x86/.libs/darwin.o | |
/bin/sh ./libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c -o src/x86/ffi64.lo src/x86/ffi64.c | |
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -c src/x86/ffi64.c -fno-common -DPIC -o src/x86/.libs/ffi64.o | |
/bin/sh ./libtool --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -c -o src/x86/darwin64.lo src/x86/darwin64.S | |
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -c src/x86/darwin64.S -fno-common -DPIC -o src/x86/.libs/darwin64.o | |
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/clang -Wall -g -fexceptions -version-info `grep -v '^#' ./libtool-version` -o libffi.la -rpath /usr/local/lib src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/x86/ffi.lo src/x86/darwin.lo src/x86/ffi64.lo src/x86/darwin64.lo | |
libtool: link: /usr/bin/clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libffi.5.dylib src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/x86/.libs/ffi.o src/x86/.libs/darwin.o src/x86/.libs/ffi64.o src/x86/.libs/darwin64.o -install_name /usr/local/lib/libffi.5.dylib -compatibility_version 6 -current_version 6.10 -Wl,-single_module | |
ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame | |
libtool: link: dsymutil .libs/libffi.5.dylib || : | |
libtool: link: (cd ".libs" && rm -f "libffi.dylib" && ln -s "libffi.5.dylib" "libffi.dylib") | |
libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" ) | |
/bin/sh ./libtool --tag=CC --mode=link /usr/bin/clang -Wall -g -fexceptions -o libffi_convenience.la src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/x86/ffi.lo src/x86/darwin.lo src/x86/ffi64.lo src/x86/darwin64.lo | |
libtool: link: ar cru .libs/libffi_convenience.a src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/x86/.libs/ffi.o src/x86/.libs/darwin.o src/x86/.libs/ffi64.o src/x86/.libs/darwin64.o | |
/usr/bin/ranlib: file: .libs/libffi_convenience.a(ffi.o) has no symbols | |
/usr/bin/ranlib: file: .libs/libffi_convenience.a(darwin.o) has no symbols | |
libtool: link: ranlib .libs/libffi_convenience.a | |
ranlib: file: .libs/libffi_convenience.a(ffi.o) has no symbols | |
ranlib: file: .libs/libffi_convenience.a(darwin.o) has no symbols | |
libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" ) | |
compiling AbstractMemory.c | |
compiling ArrayType.c | |
compiling AutoPointer.c | |
compiling Buffer.c | |
compiling Call.c | |
compiling ClosurePool.c | |
compiling DynamicLibrary.c | |
compiling ffi.c | |
compiling Function.c | |
compiling FunctionInfo.c | |
compiling LastError.c | |
compiling MemoryPointer.c | |
compiling MethodHandle.c | |
compiling Platform.c | |
compiling Pointer.c | |
compiling Struct.c | |
compiling StructByValue.c | |
compiling StructLayout.c | |
StructLayout.c:363:9: error: expression is not assignable | |
Data_Get_Struct(rbField, StructField, field = layout->fields[i]); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/local/Cellar/ruby/1.9.3-p125/include/ruby-1.9.1/ruby/ruby.h:837:12: note: expanded from macro 'Data_Get_Struct' | |
(sval) = (type*)DATA_PTR(obj);\ | |
~~~~~~ ^ | |
1 error generated. | |
make: *** [StructLayout.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
did you had any success resolving this?