Skip to content

Instantly share code, notes, and snippets.

@sys1yagi
Last active December 13, 2015 23:48
Show Gist options
  • Save sys1yagi/4993811 to your computer and use it in GitHub Desktop.
Save sys1yagi/4993811 to your computer and use it in GitHub Desktop.
configure: error: in `/Users/tyagi/Documents/tmp/mobiruby-ios/tmp/libffi/i386-ios-sim':
configure: error: C compiler cannot create executables
See `config.log' for more details
~/Documents/tmp/mobiruby-ios/tmp/libffi
lipo: can't open input file: armv7s-ios/.libs/libffi.a (No such file or directory)
./bin/build-libffi.sh: line 54: armv7s-ios/include/ffi.h: No such file or directory
cp: armv7s-ios/include/ffitarget.h: No such file or directory
./bin/build-libffi.sh: line 54: armv7-ios/include/ffi.h: No such file or directory
cp: armv7-ios/include/ffitarget.h: No such file or directory
./bin/build-libffi.sh: line 54: i386-ios-sim/include/ffi.h: No such file or directory
cp: i386-ios-sim/include/ffitarget.h: No such file or directory
(in /Users/tyagi/Documents/tmp/mobiruby-ios/mruby)
CC src/array.c -> build/armv7s/src/array.o
In file included from src/array.c:7:
/Users/tyagi/Documents/tmp/mobiruby-ios/mruby/include/mruby.h:35:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
^
1 error generated.
rake aborted!
Command Failed: ["/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -g -O3 -Wall -Werror-implicit-function-declaration -miphoneos-version-min=5.0 -arch armv7s -isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform//Developer/SDKs/iPhoneOS6.1.sdk/" -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -fmessage-length=0 -std=gnu99 -fpascal-strings -fexceptions -fasm-blocks -gdwarf-2 -fobjc-abi-version=2 -DMRB_INT64 -I"/Users/tyagi/Documents/tmp/mobiruby-ios/mruby/include" -I"/Users/tyagi/Documents/tmp/mobiruby-ios/mruby/build/libffi/include" -I"/Users/tyagi/Documents/tmp/mobiruby-ios/mruby-cfunc/include" -I"/Users/tyagi/Documents/tmp/mobiruby-ios/mruby-cocoa/include" -I"/Users/tyagi/Documents/tmp/mobiruby-ios/mobiruby-common/include" -MMD -o "build/armv7s/src/array.o" -c "src/array.c"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment