Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Undefined symbols for architecture x86_64 #2392

@hi-weiyuan

Description

@hi-weiyuan

I follow getting start, but there are something wrong with me. Could you please help me?
When I use "./eosio_build.sh",there are 2 errors
Undefined symbols for architecture x86_64: "typeinfo for llvm::Instruction", referenced from: typeinfo for llvm::SelectInst in libRuntime.a(LLVMEmitIR.cpp.o) "typeinfo for llvm::MemoryBuffer", referenced from: typeinfo for llvm::ObjectMemoryBuffer in libRuntime.a(LLVMJIT.cpp.o) "typeinfo for llvm::JITSymbolResolver", referenced from: typeinfo for LLVMJIT::NullResolver in libRuntime.a(LLVMJIT.cpp.o) "typeinfo for llvm::RTDyldMemoryManager", referenced from: typeinfo for LLVMJIT::UnitMemoryManager in libRuntime.a(LLVMJIT.cpp.o) "typeinfo for llvm::CmpInst", referenced from: typeinfo for llvm::FCmpInst in libRuntime.a(LLVMEmitIR.cpp.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [libraries/wasm-jit/Source/Programs/Test] Error 1 make[1]: *** [libraries/wasm-jit/Source/Programs/CMakeFiles/Test.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
What should I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions