Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

ZSH 4.0.2 make error in Redhat 7.0


I have a funny problem that I cannot solve.

It configures fine:

zsh configuration
zsh version               : 4.0.2
host operating system     : i686-pc-linux-gnu
source code location      : .
compiler                  : gcc
preprocessor flags        : -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
executable compiler flags :  -Wall -Wno-implicit -Wmissing-prototypes -O2
module compiler flags     :  -Wall -Wno-implicit -Wmissing-prototypes -O2 -fPIC
executable linker flags   :   -s -rdynamic
module linker flags       :   -s -shared
library flags             : -ldl -lnsl -lm  -lc
installation basename     : zsh
binary install path       : /pack/zsh-4.0.2//bin
man page install path     : /pack/zsh-4.0.2//man
info install path         : /pack/zsh-4.0.2//info
functions install path    : /pack/zsh-4.0.2//share/zsh/4.0.2/functions

But the make complains:

gcc  -s -rdynamic -o zsh main.o  `cat stamp-modobjs`   -ldl -lnsl -lm  -lc
init.o: In function `init_term':
init.o(.text+0xc55): undefined reference to `tgetent'
init.o(.text+0xcd9): undefined reference to `tgetstr'
init.o(.text+0xd5a): undefined reference to `tgetflag'
init.o(.text+0xd6b): undefined reference to `tgetnum'
init.o(.text+0xd7c): undefined reference to `tgetnum'
prompt.o: In function `tsetcap':
prompt.o(.text+0x184e): undefined reference to `tputs'
prompt.o(.text+0x1890): undefined reference to `tputs'
prompt.o(.text+0x18cb): undefined reference to `tgetnum'
collect2: ld returned 1 exit status
make[1]: *** [zsh] Error 1
make[1]: Leaving directory `/pack/zsh-4.0.2/src/zsh-4.0.2/Src'
make: *** [all] Error 1

Does anyone have any suggestions?

Best regards
	Mikael Hansen

"We are Microsoft. You will be assimilated.
	Resistance is Futile."

Messages sorted by: Reverse Date, Date, Thread, Author