File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,15 @@ steps:
1111 displayName : ' Install build dependencies'
1212
1313- bash : |
14+ # Explicitly include libtinfo in the ncurses linker options since it seems to be
15+ # not picked up by configure itself, leading to the following error otherwise:
16+ #
17+ # /usr/local/bin/libtool --tag CC --mode=link gcc -g -O2 -o nconf nconf-nconf.o nconf-nconf.gui.o nconf-zconf.o -lmenuw -lpanelw -lncursesw
18+ # libtool: link: gcc -g -O2 -o nconf nconf-nconf.o nconf-nconf.gui.o nconf-zconf.o -lmenuw -lpanelw -lncursesw
19+ # /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: nconf-nconf.o: undefined reference to symbol 'keypad'
20+ # //lib64/libtinfo.so.5: error adding symbols: DSO missing from command line
21+ export CURSES_LIBS="-lcursesw -ltinfo"
22+
1423 ./install-crosstool-ng.sh
1524 displayName : ' Build and install crosstool-ng'
1625
Original file line number Diff line number Diff line change @@ -20,11 +20,4 @@ git checkout --force "${CROSSTOOL_NG_VERSION}"
2020
2121./bootstrap
2222
23- # Explicitly include libtinfo in the ncurses linker options since it seems to be
24- # not picked up by configure itself, leading to the following error otherwise:
25- #
26- # /usr/local/bin/libtool --tag CC --mode=link gcc -g -O2 -o nconf nconf-nconf.o nconf-nconf.gui.o nconf-zconf.o -lmenuw -lpanelw -lncursesw
27- # libtool: link: gcc -g -O2 -o nconf nconf-nconf.o nconf-nconf.gui.o nconf-zconf.o -lmenuw -lpanelw -lncursesw
28- # /opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: nconf-nconf.o: undefined reference to symbol 'keypad'
29- # //lib64/libtinfo.so.5: error adding symbols: DSO missing from command line
30- CURSES_LIBS=" -lcursesw -ltinfo" ./configure --prefix=/usr/local && make && sudo make install
23+ ./configure --prefix=/usr/local && make && sudo make install
You can’t perform that action at this time.
0 commit comments