hishamhm / htop

htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
GNU General Public License v2.0
5.84k stars 581 forks source link

Build Fails on SLES 10 #631

Open faultywarrior opened 7 years ago

faultywarrior commented 7 years ago

I'm putting this up as a potential bug, but it's possible I'm just missing something?

Trying to build on SUSE Linux Enterprise Server 10 SP4, s390x platform

Configure passes without issue, then on building with make, it fails with the following:

htop-ScreenManager.o: In function ScreenManager_run': /tmp/src/htop-2.0.2/ScreenManager.c:192: undefined reference toset_escdelay' htop-InfoScreen.o: In function InfoScreen_run': /tmp/src/htop-2.0.2/InfoScreen.c:120: undefined reference toset_escdelay' /tmp/src/htop-2.0.2/InfoScreen.c:120: undefined reference to set_escdelay' collect2: ld returned 1 exit status make[1]: *** [htop] Error 1 make[1]: Leaving directory/tmp/src/htop-2.0.2' make: *** [all] Error 2

I do have both ncurses and ncurses-devel installed, and just built 2 other programs that need it, so I'm not sure what's up with here.

ideal commented 6 years ago

That is because your ncurses-devel it too old to provide function set_escdelay(), for quick fix, you can comment the two call of set_escdelay(). Or you can upgrade ncurses-devel as well.