当我使用命令 "
gcc .. ../../*.so
" 时,出现以下错误信息:/usr/bin/ld: /home/demonwnb/build/src/*.so: error: undefined reference to 'llvm::raw_ostream::operator<<(void const*)'
/usr/bin/ld: /home/demonwnb/build/src/*.so: error: undefined reference to 'clang::DeclarationName::printName(llvm::raw_ostream&) const'
我认为我没有正确链接“llvm库”,那么我该怎么做?
llvm_map_components_to_libraries()
。 - arrowdfind
是用来做什么的? - Galaxy