1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name hello.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 236.3 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1 -fdebug-compilation-dir /Users/solalrastier/Documents -ferror-limit 19 -fmessage-length 80 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o /var/folders/1m/h3jxgbhd48v9zrl7d8t7qqf80000gn/T/hello-c07deb.o -x c hello.c
clang -cc1 version 5.1 based upon LLVM 3.4svn default target x86_64-apple-darwin13.1.0
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
/usr/include
/System/Library/Frameworks (framework directory)
/Library/Frameworks (framework directory)
End of search list.
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.9.0 -o a.out /var/folders/1m/h3jxgbhd48v9zrl7d8t7qqf80000gn/T/hello-c07deb.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/lib/darwin/libclang_rt.osx.a
Undefined symbols for architecture x86_64:
"_activate_character", referenced from:
_main in hello-c07deb.o
"_assign", referenced from:
_main in hello-c07deb.o
"_char_output", referenced from:
_main in hello-c07deb.o
"_enter_scene", referenced from:
_main in hello-c07deb.o
"_exit_scene", referenced from:
_main in hello-c07deb.o
"_exit_scene_all", referenced from:
_main in hello-c07deb.o
"_global_initialize", referenced from:
_main in hello-c07deb.o
"_initialize_character", referenced from:
_main in hello-c07deb.o
"_int_add", referenced from:
_main in hello-c07deb.o
"_int_cube", referenced from:
_main in hello-c07deb.o
"_int_div", referenced from:
_main in hello-c07deb.o
"_int_mul", referenced from:
_main in hello-c07deb.o
"_int_square", referenced from:
_main in hello-c07deb.o
"_int_sub", referenced from:
_main in hello-c07deb.o
"_int_twice", referenced from:
_main in hello-c07deb.o
"_value_of", referenced from:
_main in hello-c07deb.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation) |
Partager