archibate / vimrc

小彭老师自用 NeoVim 整合包
230 stars 43 forks source link

ccls make出错 #9

Open Lr-2002 opened 2 years ago

Lr-2002 commented 2 years ago

系统: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 commented 2 years ago

为什么ubuntu要用hombrew?我以为ubuntu有apt?

无法顺畅的大口呼吸,是活着的最好证明

---原始邮件--- 发件人: @.> 发送时间: 2022年4月10日(周日) 下午3:24 收件人: @.>; 抄送: @.***>; 主题: [archibate/vimrc] ccls make出错 (Issue #9)

系统:ubunut 2004 命令: ./install.sh 出错: /home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/lib/libLLVM-13.so: undefined reference to @._1.3.13' /home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/lib/libclang-cpp.so.13: undefined reference to @._3.4.29' /home/linuxbrew/.linuxbrew/bin/ld: /home/linuxbrew/.linuxbrew/lib/libLLVM-13.so: undefined reference to @._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的导致链接出错

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>