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: Somebody with gcc knowledge here? (Was:  termcap moodule problem on Cygwin )
Date: Wed, 31 Jan 2001 11:50:03 +0300	[thread overview]
Message-ID: <001601c08b62$cd1b05d0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <Tc0a8890c516bb0ccff@mailsweeper01.cambridgesiliconradio.com>


> > - move termcap (and terminfo) back into main zsh.
>
> You could force it to be statically linked by changing the `link' line to
> test for cygwin in termcap.mdd.  See existing `link=' in terminfo.mdd for
> how this works.  You can make this depend on a configure test for whether
> termcap is static.
>

Of course, I am idiot. Even more so as I cannot build zsh with static termcap:

dllwrap -g  --export-all-symbols -o libzsh-3.1.9-dev-8.dll  `cat
stamp-modobjs`
-ltermcap -lm -lc
dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
Modules/termcap.o(.text+0x318): multiple definition of `setup_zshQstermcap'
Modules/termcap.o(.text+0x318): first defined here
Modules/termcap.o(.text+0x324): multiple definition of `boot_zshQstermcap'
Modules/termcap.o(.text+0x324): first defined here
Modules/termcap.o(.text+0x354): multiple definition of `cleanup_zshQstermcap'
Modules/termcap.o(.text+0x354): first defined here
Modules/termcap.o(.text+0x37c): multiple definition of `finish_zshQstermcap'
Modules/termcap.o(.text+0x37c): first defined here
collect2: ld returned 1 exit status

This happens with both dllwrap and gcc; I do not understand the error message
at all.

It does not happen when building static zsh.

Anybody have some insight on what these errors mean?

-andrej


  reply	other threads:[~2001-01-31  8:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-29 14:55 termcap moodule problem on Cygwin Andrej Borsenkow
2001-01-29 15:10 ` Peter Stephenson
2001-01-30  8:25   ` Andrej Borsenkow
2001-01-30 10:34     ` Peter Stephenson
2001-01-31  8:50       ` Andrej Borsenkow [this message]
2001-01-31 10:37       ` PATCH: " Andrej Borsenkow
2001-01-31 11:30         ` Peter Stephenson
2001-01-31 12:42           ` Andrej Borsenkow
2001-01-31 13:49             ` Peter Stephenson
2001-02-05 15:31               ` Andrej Borsenkow
2001-02-13 14:36                 ` Andrej Borsenkow
2001-01-29 16:48 ` Zefram
2001-01-31  9:00 Somebody with gcc knowledge here? (Was: termcap moodule problem on Cygwin ) Sven Wischnowsky
2001-01-31  9:47 ` Bart Schaefer
2001-01-31  9:57 ` Andrej Borsenkow
2001-01-31 17:55   ` Zefram
2001-02-01  5:55     ` Andrej Borsenkow
2001-02-01 16:39       ` Bart Schaefer
2001-02-01 16:54         ` Andrej Borsenkow
2001-02-01 19:23       ` Zefram
2001-02-02  8:42         ` Andrej Borsenkow

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='001601c08b62$cd1b05d0$21c9ca95@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).