ycm-core / YouCompleteMe

A code-completion engine for Vim
http://ycm-core.github.io/YouCompleteMe/
GNU General Public License v3.0
25.43k stars 2.81k forks source link

./install.py --clang-completer --gocode-complete --verbose #4203

Closed Pines00 closed 10 months ago

Pines00 commented 10 months ago
 -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(namespaceobject.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(Python-ast.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(ast.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(ast_opt.o): relocation R_X86_64_32S against symbol `PyFrozenSet_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(ast_unparse.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(bltinmodule.o): relocation R_X86_64_32S against symbol `PyFilter_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(context.o): relocation R_X86_64_32 against symbol `PyContext_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(getcompiler.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(getcopyright.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(getplatform.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(hamt.o): relocation R_X86_64_32S against symbol `_PyHamt_BitmapNode_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(mystrtoul.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(parser.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /home/mazhenxian/local/python3/lib/libpython3.8.a(myreadline.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
gmake[3]: *** [/work/mazhenxian/.vim/plugged/YouCompleteMe/third_party/ycmd/ycm_core.cpython-38-x86_64-linux-gnu.so] Error 1
gmake[2]: *** [ycm/CMakeFiles/ycm_core.dir/all] Error 2
gmake[1]: *** [ycm/CMakeFiles/ycm_core.dir/rule] Error 2

some wrong happend when compile YouCompleteMe, how can i solve this ?

puremourning commented 10 months ago

Please see CONTRIBUTING.md