xterm building fails - undefined reference to `tgetstr'

Sreyan Chakravarty sreyan32 at gmail.com
Wed Jul 29 23:05:25 UTC 2020


Hi,

I am trying to build xterm with SiXel graphics support on Fedora 32.


Configure and Make commands:

$ ./configure --enable-sixel --verbose

$ make


Make fails with:

/usr/bin/ld: xtermcap.o: in function `loadTermcapStrings':
/home/sreyan/Downloads/xterm-358/./xtermcap.c:249: undefined reference 
to `tgetstr'
/usr/bin/ld: xtermcap.o: in function `get_termcap':
/home/sreyan/Downloads/xterm-358/./xtermcap.c:511: undefined reference 
to `tgetent'
/usr/bin/ld: xtermcap.o: in function `get_tcap_erase':
/home/sreyan/Downloads/xterm-358/./xtermcap.c:559: undefined reference 
to `tgetstr'
/usr/bin/ld: xtermcap.o: in function `set_termcap':
/home/sreyan/Downloads/xterm-358/./xtermcap.c:617: undefined reference 
to `tgetent'
collect2: error: ld returned 1 exit status
make: *** [Makefile:196: xterm] Error 1


I have installed all the ncurses related libraries from my repo:

$ dnf repoquery --installed ncurses-*:*

ncurses-0:6.1-15.20191109.fc32.x86_64
ncurses-base-0:6.1-15.20191109.fc32.noarch
ncurses-c++-libs-0:6.1-15.20191109.fc32.x86_64
ncurses-compat-libs-0:6.1-15.20191109.fc32.x86_64
ncurses-devel-0:6.1-15.20191109.fc32.x86_64
ncurses-libs-0:6.1-15.20191109.fc32.x86_64


I just cannot understand what else I need to do.

Why is this happening and how do I resolve this ?

Thanks.

-- 
Regards,
Sreyan



More information about the xorg mailing list