Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed #56

Closed
HuErr opened this issue Jun 20, 2019 · 0 comments
Closed

build failed #56

HuErr opened this issue Jun 20, 2019 · 0 comments

Comments

@HuErr
Copy link

HuErr commented Jun 20, 2019

Showing All Messages
CreateBuildDirectory /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex (in target: hooklib)
cd /Users/debug/Desktop/hooklib
builtin-create-build-directory /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex

CreateBuildDirectory /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Products (in target: hooklib)
cd /Users/debug/Desktop/hooklib
builtin-create-build-directory /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Products

WriteAuxiliaryFile /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib.hmap (in target: hooklib)
cd /Users/debug/Desktop/hooklib
write-file /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib.hmap

WriteAuxiliaryFile /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-project-headers.hmap (in target: hooklib)
cd /Users/debug/Desktop/hooklib
write-file /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-project-headers.hmap

WriteAuxiliaryFile /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-own-target-headers.hmap (in target: hooklib)
cd /Users/debug/Desktop/hooklib
write-file /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-own-target-headers.hmap

WriteAuxiliaryFile /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-generated-files.hmap (in target: hooklib)
cd /Users/debug/Desktop/hooklib
write-file /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-generated-files.hmap

WriteAuxiliaryFile /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-all-target-headers.hmap (in target: hooklib)
cd /Users/debug/Desktop/hooklib
write-file /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-all-target-headers.hmap

WriteAuxiliaryFile /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-all-non-framework-target-headers.hmap (in target: hooklib)
cd /Users/debug/Desktop/hooklib
write-file /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-all-non-framework-target-headers.hmap

WriteAuxiliaryFile /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/all-product-headers.yaml (in target: hooklib)
cd /Users/debug/Desktop/hooklib
write-file /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/all-product-headers.yaml

CompileC /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/Objects-normal/x86_64/hooklib.o /Users/debug/Desktop/hooklib/hooklib.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target: hooklib)
cd /Users/debug/Desktop/hooklib
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -fmodules -gmodules -fmodules-cache-path=/Users/debug/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/debug/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.14 -g -fvisibility-inlines-hidden -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Index/DataStore -iquote /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-generated-files.hmap -I/Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-own-target-headers.hmap -I/Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-all-target-headers.hmap -iquote /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/hooklib-project-headers.hmap -I/Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Products/Debug/include -I/Users/debug/Desktop/hooklib/HookZz-dev/include -I/Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/DerivedSources-normal/x86_64 -I/Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/DerivedSources/x86_64 -I/Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/DerivedSources -F/Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Products/Debug -MMD -MT dependencies -MF /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/Objects-normal/x86_64/hooklib.d --serialize-diagnostics /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/Objects-normal/x86_64/hooklib.dia -c /Users/debug/Desktop/hooklib/hooklib.cpp -o /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/Objects-normal/x86_64/hooklib.o

WriteAuxiliaryFile /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/Objects-normal/x86_64/hooklib.LinkFileList (in target: hooklib)
cd /Users/debug/Desktop/hooklib
write-file /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/Objects-normal/x86_64/hooklib.LinkFileList

Ld /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Products/Debug/libhooklib.dylib normal x86_64 (in target: hooklib)
cd /Users/debug/Desktop/hooklib
export MACOSX_DEPLOYMENT_TARGET=10.14
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -L/Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Products/Debug -L/Users/debug/Desktop/hooklib/HookZz-dev/BuildScript/temp_build_x86_64 -F/Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Products/Debug -filelist /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/Objects-normal/x86_64/hooklib.LinkFileList -install_name /usr/local/lib/libhooklib.dylib -mmacosx-version-min=10.14 -Xlinker -object_path_lto -Xlinker /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/Objects-normal/x86_64/hooklib_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -lhookzz -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Intermediates.noindex/hooklib.build/Debug/hooklib.build/Objects-normal/x86_64/hooklib_dependency_info.dat -o /Users/debug/Library/Developer/Xcode/DerivedData/hooklib-blwpjobrwbjviodanuktayiiexdh/Build/Products/Debug/libhooklib.dylib

Undefined symbols for architecture x86_64:
"_LOGFUNC", referenced from:
_ZzReplace in libhookzz.a(FunctionInlineReplaceExport.cc.o)
InterceptRouting::Prepare() in libhookzz.a(InterceptRouting.cpp.o)
InterceptRouting::Active() in libhookzz.a(InterceptRouting.cpp.o)
zz::x64::Assembler::Assembler(void*) in libhookzz.a(trampoline-x64.cc.o)
GenRelocateCodeTo(void*, int*, unsigned long long, unsigned long long) in libhookzz.a(X64InstructionRelocation.cc.o)
zz::x64::Assembler::Assembler(void*) in libhookzz.a(X64InstructionRelocation.cc.o)
zz::AssemblyCode::FinalizeFromTurboAssember(zz::AssemblerBase*) in libhookzz.a(AssemblyCode.cc.o)
...
"_memcpy(void*, void const*, int)", referenced from:
InterceptRouting::Prepare() in libhookzz.a(InterceptRouting.cpp.o)
CodeBufferBase::EmitBuffer(void*, int) in libhookzz.a(CodeBufferBase.cc.o)
"_memset(void*, int, int)", referenced from:
GenRelocateCodeTo(void*, int*, unsigned long long, unsigned long long) in libhookzz.a(X64InstructionRelocation.cc.o)
"LiteObject::free()", referenced from:
vtable for LiteCollection in libhookzz.a(Interceptor.cpp.o)
vtable for CodeBuffer in libhookzz.a(trampoline-x64.cc.o)
vtable for CodeBufferBase in libhookzz.a(trampoline-x64.cc.o)
vtable for CodeBuffer in libhookzz.a(X64InstructionRelocation.cc.o)
vtable for CodeBufferBase in libhookzz.a(X64InstructionRelocation.cc.o)
vtable for zz::AssemblyCode in libhookzz.a(X64InstructionRelocation.cc.o)
vtable for zz::AssemblyCode in libhookzz.a(AssemblyCode.cc.o)
...
"LiteObject::init()", referenced from:
vtable for LiteCollection in libhookzz.a(Interceptor.cpp.o)
vtable for CodeBuffer in libhookzz.a(trampoline-x64.cc.o)
vtable for CodeBufferBase in libhookzz.a(trampoline-x64.cc.o)
vtable for CodeBuffer in libhookzz.a(X64InstructionRelocation.cc.o)
vtable for CodeBufferBase in libhookzz.a(X64InstructionRelocation.cc.o)
vtable for zz::AssemblyCode in libhookzz.a(X64InstructionRelocation.cc.o)
vtable for zz::AssemblyCode in libhookzz.a(AssemblyCode.cc.o)
...
"LiteObject::release()", referenced from:
vtable for LiteCollection in libhookzz.a(Interceptor.cpp.o)
vtable for CodeBuffer in libhookzz.a(trampoline-x64.cc.o)
vtable for CodeBufferBase in libhookzz.a(trampoline-x64.cc.o)
vtable for CodeBuffer in libhookzz.a(X64InstructionRelocation.cc.o)
vtable for CodeBufferBase in libhookzz.a(X64InstructionRelocation.cc.o)
vtable for zz::AssemblyCode in libhookzz.a(X64InstructionRelocation.cc.o)
vtable for zz::AssemblyCode in libhookzz.a(AssemblyCode.cc.o)
...
"LiteMutableBuffer::ensureCapacity(int)", referenced from:
vtable for CodeBuffer in libhookzz.a(trampoline-x64.cc.o)
vtable for CodeBufferBase in libhookzz.a(trampoline-x64.cc.o)
vtable for CodeBuffer in libhookzz.a(X64InstructionRelocation.cc.o)
vtable for CodeBufferBase in libhookzz.a(X64InstructionRelocation.cc.o)
"LiteMutableBuffer::initWithCapacity(int)", referenced from:
vtable for CodeBuffer in libhookzz.a(trampoline-x64.cc.o)
vtable for CodeBufferBase in libhookzz.a(trampoline-x64.cc.o)
vtable for CodeBuffer in libhookzz.a(X64InstructionRelocation.cc.o)
vtable for CodeBufferBase in libhookzz.a(X64InstructionRelocation.cc.o)
"LiteCollectionIterator::withCollection(LiteCollection const*)", referenced from:
Interceptor::FindHookEntry(void*) in libhookzz.a(Interceptor.cpp.o)
ExecutableMemoryArena::AllocateCodeChunk(int) in libhookzz.a(ExecutableMemoryArena.cc.o)
"typeinfo for LiteObject", referenced from:
typeinfo for LiteCollection in libhookzz.a(Interceptor.cpp.o)
typeinfo for zz::AssemblyCode in libhookzz.a(X64InstructionRelocation.cc.o)
typeinfo for zz::AssemblyCode in libhookzz.a(AssemblyCode.cc.o)
typeinfo for LiteCollection in libhookzz.a(ExecutableMemoryArena.cc.o)
"typeinfo for LiteMutableBuffer", referenced from:
typeinfo for CodeBufferBase in libhookzz.a(trampoline-x64.cc.o)
typeinfo for CodeBufferBase in libhookzz.a(X64InstructionRelocation.cc.o)
"vtable for LiteObject", referenced from:
LiteObject::LiteObject() in libhookzz.a(Interceptor.cpp.o)
LiteObject::LiteObject() in libhookzz.a(trampoline-x64.cc.o)
LiteObject::LiteObject() in libhookzz.a(X64InstructionRelocation.cc.o)
LiteObject::LiteObject() in libhookzz.a(AssemblyCode.cc.o)
LiteObject::LiteObject() in libhookzz.a(ExecutableMemoryArena.cc.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for LiteMutableArray", referenced from:
LiteMutableArray::LiteMutableArray(int) in libhookzz.a(Interceptor.cpp.o)
LiteMutableArray::LiteMutableArray() in libhookzz.a(ExecutableMemoryArena.cc.o)
LiteMutableArray::LiteMutableArray(int) in libhookzz.a(ExecutableMemoryArena.cc.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for LiteMutableBuffer", referenced from:
LiteMutableBuffer::LiteMutableBuffer(int) in libhookzz.a(trampoline-x64.cc.o)
LiteMutableBuffer::LiteMutableBuffer(int) in libhookzz.a(X64InstructionRelocation.cc.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Activity Log Complete 2019/6/20, 1:23 AM 0.1 seconds

@jmpews jmpews closed this as completed Dec 23, 2019
@Lamfi Lamfi mentioned this issue Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants