nSnake
nSnake copied to clipboard
nsnake-3.0.1 with ncurses-6.1_p20190609 linking fails
Trying to build nsnake-3.0.1 on my Linux box (amd64) I've got the following error:
# Linking...
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/Interface/Ncurses.o: undefined reference to symbol 'keypad'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
sys-devel/gcc-9.2.0-r2 sys-libs/ncurses-6.1_p20190609
@ssten
Trying to build nsnake-3.0.1 on my Linux box (amd64) I've got the following error:
# Linking... /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/Interface/Ncurses.o: undefined reference to symbol 'keypad' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status
sys-devel/gcc-9.2.0-r2 sys-libs/ncurses-6.1_p20190609
I've met a similar mistake today on my Gentoo installation as well...
I only found a confusing blog article: https://www.cnblogs.com/ramlife/p/10128837.html
Have you solved the issue?