You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to build vim 8.1.0001 on Ubuntu 18.04 on Windows Subsystem for Linux.
Not really sure the problem is with Vim or gcc, but I have tried reinstalling gcc with same results.
Any feedback would be very helpful.
Below are the errors I get when I try to do
sudo make VIMRUNTIMEDIR=/usr/local/share/vim/vim81
I get the same errors trying to run
sudo make install
:
/usr/bin/x86_64-linux-gnu-ld: objects/term_encoding.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: objects/term_keyboard.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: objects/term_mouse.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: objects/term_parser.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: objects/term_pen.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: objects/term_screen.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: objects/term_state.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: objects/term_vterm.o: relocation R_X86_64_32 against `.data' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/x86_64-linux-gnu-ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
link.sh: Linking failed
The text was updated successfully, but these errors were encountered:
I figured it must be something wrong with my Ubuntu set up, so I uninstalled that and reinstalled a fresh Ubuntu 18.04 from the windows store. I was then able to build Vim with the defaults.
Hi,
I'm unable to build vim 8.1.0001 on Ubuntu 18.04 on Windows Subsystem for Linux.
Not really sure the problem is with Vim or gcc, but I have tried reinstalling gcc with same results.
Any feedback would be very helpful.
Below are the errors I get when I try to do
I get the same errors trying to run
:
The text was updated successfully, but these errors were encountered: