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

ccls make出错 #9

Open
Lr-2002 opened this issue Apr 10, 2022 · 1 comment
Open

ccls make出错 #9

Lr-2002 opened this issue Apr 10, 2022 · 1 comment

Comments

@Lr-2002
Copy link

Lr-2002 commented Apr 10, 2022

系统:ubunut 2004
命令: ./install.sh
出错:

/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/lib/libLLVM-13.so: undefined reference to `std::__exception_ptr::exception_ptr::_M_release()@CXXABI_1.3.13'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/lib/libclang-cpp.so.13: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
/home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/lib/libLLVM-13.so: undefined reference to `std::__exception_ptr::exception_ptr::_M_addref()@CXXABI_1.3.13'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ccls.dir/build.make:701:ccls] 错误 1
make[1]: *** [CMakeFiles/Makefile2:188:CMakeFiles/ccls.dir/all] 错误 2
make: *** [Makefile:130:all] 错误 2

猜测原因: ccls编译出现问题?还是因为用的homebrew的ld的导致链接出错

@archibate
Copy link
Owner

archibate commented Apr 10, 2022 via email

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