From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10540 invoked from network); 31 Jan 2001 08:50:14 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 Jan 2001 08:50:14 -0000 Received: (qmail 20296 invoked by alias); 31 Jan 2001 08:50:09 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13409 Received: (qmail 20255 invoked from network); 31 Jan 2001 08:50:09 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "Zsh hackers list" Subject: Somebody with gcc knowledge here? (Was: termcap moodule problem on Cygwin ) Date: Wed, 31 Jan 2001 11:50:03 +0300 Message-ID: <001601c08b62$cd1b05d0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: Importance: Normal > > - 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