Skip to content

Instantly share code, notes, and snippets.

@iH8c0ff33
Created July 5, 2015 18:26
Show Gist options
  • Save iH8c0ff33/ce894280bf0db185328f to your computer and use it in GitHub Desktop.
Save iH8c0ff33/ce894280bf0db185328f to your computer and use it in GitHub Desktop.
Error
Undefined symbols for architecture x86_64:
"_yajl_tree_get", referenced from:
_readConfig in server-214c03.o
"_yajl_tree_parse", referenced from:
_readConfig in server-214c03.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
-------------------------------------------------------------------------------------------------------------------------------
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.10.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name server.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 242.2 -v -dwarf-column-info -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0 -fdebug-compilation-dir /Users/Daniele/Documents/CProjects/tinyCserver -ferror-limit 19 -fmessage-length 204 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.10.0 -fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/82/z37kc0910l7dtj_mgtt3nnyr0000gn/T/server-960d22.o -x c server.c
clang -cc1 version 6.1.0 based upon LLVM 3.6.0svn default target x86_64-apple-darwin14.4.0
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/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.10.0 -o a.out /var/folders/82/z37kc0910l7dtj_mgtt3nnyr0000gn/T/server-960d22.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a
Undefined symbols for architecture x86_64:
"_yajl_tree_get", referenced from:
_readConfig in server-960d22.o
"_yajl_tree_parse", referenced from:
_readConfig in server-960d22.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@iH8c0ff33
Copy link
Author

This one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment