zsh-workers
 help / color / mirror / code / Atom feed
* Termcap saga
@ 2001-05-01  9:56 Peter Stephenson
  2001-05-01 12:58 ` Peter Stephenson
  2001-05-01 17:24 ` Termcap saga Andrej Borsenkow
  0 siblings, 2 replies; 14+ messages in thread
From: Peter Stephenson @ 2001-05-01  9:56 UTC (permalink / raw)
  To: Zsh hackers list

After updating and reconfiguring from scratch on cygwin with
--disable-dynamic I now get

Modules/termcap.o(.text+0xad): undefined reference to `_imp__tgetnum'
Modules/termcap.o(.text+0xf1): undefined reference to `_imp__tgetflag'
Modules/termcap.o(.text+0x134): undefined reference to `_imp__tgetstr'
Modules/termcap.o(.text+0x27c): undefined reference to `_imp__tputs'
Modules/termcap.o(.text+0x2ff): undefined reference to `_imp__tgoto'
Modules/termcap.o(.text+0x30d): undefined reference to `_imp__tputs'
Modules/termcap.o(.text+0x594): undefined reference to `_imp__tgetnum'
Modules/termcap.o(.text+0x5e1): undefined reference to `_imp__tgetflag'
Modules/termcap.o(.text+0x654): undefined reference to `_imp__tgetstr'
Modules/termcap.o(.text+0xd0f): undefined reference to `_imp__tgetflag'
Modules/termcap.o(.text+0xdb7): undefined reference to `_imp__tgetnum'
Modules/termcap.o(.text+0xe42): undefined reference to `_imp__tgetstr'

What do I do about this?  The link line is

gcc -g   -o zsh.exe main.o zsh.res.o `cat stamp-modobjs`   -ltermcap -lm -L/g/bc01/bc01/devHost/HostStack -lzframe -lc

(the extra library I added is irrelevant here).  Somehow the termcap module
seems to think it has to import the symbols, which in this case it doesn't.
config.modules has

name=zsh/termcap modfile=Src/Modules/termcap.mdd link=static auto=yes load=yes
name=zsh/terminfo modfile=Src/Modules/terminfo.mdd link=static auto=yes load=yes

I haven't been following all this closely enough to see where the problem
might be.  Should terminfo really be being linked if curses isn't in use?

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2001-05-02 16:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-01  9:56 Termcap saga Peter Stephenson
2001-05-01 12:58 ` Peter Stephenson
2001-05-01 15:02   ` Bart Schaefer
2001-05-02  5:22     ` F. G. Marx
2001-05-02  7:52       ` Bart Schaefer
2001-05-02  5:31     ` _use_lo is still being refered to F. G. Marx
2001-05-02  7:57       ` Bart Schaefer
2001-05-02 15:55         ` F. G. Marx
2001-05-02 16:51           ` Bart Schaefer
2001-05-01 17:24 ` Termcap saga Andrej Borsenkow
2001-05-01 18:19   ` Andrej Borsenkow
2001-05-02  9:38     ` Peter Stephenson
2001-05-02 15:55       ` PATCH: " Bart Schaefer
2001-05-02 16:09         ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).