zsh-workers
 help / color / mirror / code / Atom feed
From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: Termcap saga
Date: Tue, 1 May 2001 22:19:33 +0400 (MSD)	[thread overview]
Message-ID: <Pine.SV4.4.33.0105012206370.5063-100000@itsrm2.mow.siemens.ru> (raw)
In-Reply-To: <Pine.SV4.4.33.0105012119290.27756-100000@itsrm2.mow.siemens.ru>

On Tue, 1 May 2001, Andrej Borsenkow wrote:

> On Tue, 1 May 2001, Peter Stephenson wrote:
>
> > After updating and reconfiguring from scratch on cygwin with
> > --disable-dynamic I now get
> >
> > Modules/termcap.o(.text+0xad): undefined reference to `_imp__tgetnum'
...
> >
> > 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.
>
> Well, on Monday I recompiled on cygwin, but without --disable-synamic. The
> above symbols look O.K. to me - they belong to termcap (IIRC terminfo
> versions are called tigetnum etc). What version of Cygwin and utilities
> are you using?
>

It looks, like zsh picks up ncurses defitions but tries to link against
termcap. There is no termcap DLL under cygwin, so the above comes from
ncurses.

There was a short period of time when installing ncurses would overwrite
termcap.h with its own header; it is fixed now but if you happen to catch
this old version, you have to reinstall termcap to get original header.

There is no term.h under Cygwin so it looks like the only possibility.

-andrej



  reply	other threads:[~2001-05-01 18:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-01  9:56 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 [this message]
2001-05-02  9:38     ` Peter Stephenson
2001-05-02 15:55       ` PATCH: " Bart Schaefer
2001-05-02 16:09         ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SV4.4.33.0105012206370.5063-100000@itsrm2.mow.siemens.ru \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).