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

when i run make.. ,The following error occurs: #4

Open
philtruing opened this issue May 28, 2023 · 0 comments
Open

when i run make.. ,The following error occurs: #4

philtruing opened this issue May 28, 2023 · 0 comments

Comments

@philtruing
Copy link

when i run make.. ,The following error occurs:

[  7%] Building CXX object src/c/utils/CMakeFiles/utils.dir/utils.cpp.o
[ 15%] Linking CXX static library libutils.a
[ 15%] Built target utils
[ 23%] Building CXX object src/c/ast/CMakeFiles/ast.dir/ASTBuilder.cpp.o
[ 30%] Linking CXX static library libast.a
[ 30%] Built target ast
[ 38%] Building CXX object src/c/icfg/CMakeFiles/icfg.dir/ICFGBuilder.cpp.o
[ 46%] Linking CXX static library libicfg.a
[ 46%] Built target icfg
[ 53%] Building CXX object src/c/call/CMakeFiles/call.dir/CallGraphBuilder.cpp.o
[ 61%] Linking CXX static library libcall.a
[ 61%] Built target call
[ 69%] Building CXX object src/c/data/CMakeFiles/data.dir/DataFlowBuilder.cpp.o
[ 76%] Linking CXX static library libdata.a
[ 76%] Built target data
[ 84%] Linking CXX static library libgraph-builder.a
[ 84%] Built target graph-builder
[ 92%] Building CXX object src/c/app/CMakeFiles/c-graph-builder.dir/app.cpp.o
[100%] Linking CXX executable c-graph-builder
/usr/bin/ld: CMakeFiles/c-graph-builder.dir/app.cpp.o:(.data.rel.ro+0x48): undefined reference to `typeinfo for clang::tooling::FrontendActionFactory'
/usr/bin/ld: CMakeFiles/c-graph-builder.dir/app.cpp.o:(.data.rel.ro._ZTI18GraphBuilderAction[_ZTI18GraphBuilderAction]+0x10): undefined reference to `typeinfo for clang::ASTFrontendAction'
/usr/bin/ld: CMakeFiles/c-graph-builder.dir/app.cpp.o:(.data.rel.ro._ZTI20GraphBuilderConsumer[_ZTI20GraphBuilderConsumer]+0x10): undefined reference to `typeinfo for clang::ASTConsumer'
collect2: error: ld returned 1 exit status
make[2]: *** [src/c/app/CMakeFiles/c-graph-builder.dir/build.make:148: src/c/app/c-graph-builder] Error 1
make[1]: *** [CMakeFiles/Makefile2:509: src/c/app/CMakeFiles/c-graph-builder.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
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

1 participant