delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/27/11:47:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 27 Apr 2001 11:33:48 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Perl/Tk with patches no long compiles with CygWin v1.3.1
Message-ID: <20010427113348.F5680@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <12F176DD950ED411B68E0050DA14ED10338759 AT jupiter DOT gunzphoto DOT com DOT au> <20010427081133 DOT 21748 DOT qmail AT web6405 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <20010427081133.21748.qmail@web6405.mail.yahoo.com>; from danny_r_smith_2001@yahoo.co.nz on Fri, Apr 27, 2001 at 06:11:33PM +1000

On Fri, Apr 27, 2001 at 06:11:33PM +1000, Danny Smith wrote:
>
>--- Neil Lunn <neillunn AT gunz DOT com DOT au> wrote: > > -----Original Message-----
>> > From: Christopher Faylor [mailto:cgf AT redhat DOT com]
>> > Sent: Friday, April 27, 2001 1:01 PM
>> > To: 'cygwin AT cygwin DOT com'
>> > Subject: Re: Perl/Tk with patches no long compiles with CygWin v1.3.1
>> 
>> > 
>> > ???  I haven't heard of these instances.  Is there a pointer 
>> > to someone complaining
>> > about this with the new binutils?  I'm not sure how it is 
>> > possible for ld
>> > not to find /usr/lib/w32api with my patches.
>> 
>> Chris,
>> 
>> Sorry I just go this message direct this morning. I'll attach some output
>> for reference.
>> 
>> Note (probably harmless): No library found for -lcomdlg32
>> Note (probably harmless): No library found for -lgdi32
>> 
>> rm -f blib/arch/auto/Tk/Tk.dll
>> LD_RUN_PATH="" gcc -shared -o blib/arch/auto/Tk/Tk.dll  -L/usr/local/lib
>> Tk.o chnGlue.o evtGlue.o objGlue.o tixGlue.o tkGlue.o tkGlue_f.o
>> tkWin32Dll.o pTk/tkres.o  pTk/libpTk.a
>> /usr/local/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.a  
>> pTk/libpTk.a(tkWinWm.o)(.text+0x562e):tkWinWm.c: undefined reference to
>> `SelectPalette AT 12'
>> pTk/libpTk.a(tkWinWm.o)(.text+0x563a):tkWinWm.c: undefined reference to
>> `RealizePalette AT 4'
>> pTk/libpTk.a(tkWinWm.o)(.text+0x5674):tkWinWm.c: undefined reference to
>> `SelectPalette AT 12'
>
>When you need window GUI (as TK does) add -mwindows switch.  This will add in
>-lgdi32 and -lcomdlg32. Or you could put these libs on the command line
>yourself.
>Recent releases of tk (8.3.3) also need libimm.a. 

Right.  This isn't the sign of an inability to find a library.  It's a sign
of a library not being loaded.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019