delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/10/20:47:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <168270-220021051104743748@M2W035.mail2web.com>
X-Priority: 3
Reply-To: lhall AT rfk DOT com
X-Originating-IP: 209.113.174.244
From: "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com>
To: christian AT j-son DOT org, cygwin AT cygwin DOT com
Subject: Re: binutils 20021009 cvs trunk on cygwin: ld failuers
Date: Thu, 10 Oct 2002 20:47:43 -0400
MIME-Version: 1.0
X-OriginalArrivalTime: 11 Oct 2002 00:47:43.0724 (UTC) FILETIME=[CF355AC0:01C270BF]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9B0lsA02478

You need a trip to your friendly neighborhood Cygwin packages site.

http://cygwin.com/packages/

There you'd find user32 is short for usr/lib/w32api/libuser32.a which 
can be found in the w32api package.  Install it.  Bye, bye link failures...

Larry


Original Message:
-----------------
From: Christian Jönsson christian AT j-son DOT org
Date: Fri, 11 Oct 2002 00:19:05 +0200
To: cygwin AT cygwin DOT com
Subject: Re: binutils 20021009 cvs trunk on cygwin: ld failuers


On Thu, Oct 10, 2002 at 08:43:14AM +0200, Christian Jönsson wrote:
> On Wed, Oct 09, 2002 at 11:32:50PM +0200, Christian Jönsson wrote:
> > >From the log files of relating to my message at
> > 
> > http://sources.redhat.com/ml/binutils/2002-10/msg00183.html
> > 
> > I have the following:
> > 
> > Running
/usr/local/src/gcc-binutils/trunk/src/ld/testsuite/ld-bootstrap/bootstrap.ex
p ...
> > /usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m i386pe
-o tmpdir/ld-partial.o -r  ldgram.o ldlex.o lexsup.o ldlang.o mri.o
ldctor.o ldmain.o ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o ldfile.o
ldcref.o ei386pe.o deffilep.o pe-dll.o
> > /usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new -m i386pe 
-o tmpdir/ld1 /lib/crt0.o  tmpdir/ld-partial.o ../bfd/.libs/libbfd.a
../libiberty/libiberty.a ./../intl/libintl.a 
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/libgcc.a -lc
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/libgcc.a -lcygwin -luser32 -lkernel32
-ladvapi32 -lshell32 /usr/lib/gcc-lib/i686-pc-cygwin/3.2/libgcc.a
> > /usr/local/src/gcc-binutils/trunk/objdir-binutils/ld/ld-new: cannot
find -luser32
> > FAIL: bootstrap
> 
> A lot of the failures seem to come from the the fact that the linker
> cannot find -luser32...  the user32 files I have on my Win XP/sp1 with
> an up to date cygwin subsystem are these (serach using MS tools,
> cygwin root is C:\\cygwin):
> 
> USER32.DLL	C:\\I386
> user32.dll	C:\\WINDOWS\\SYSTEM32
> libuser32.a	C:\\cygwin\\lib\\win32api
> user32.dll	C:\\WINDOWS\\ServicePackFiles\i386
> USER32.F90	C:\\Program\\Microsoft Visual Studio\\DF98\\INCLUDE
> USER32.MOD	C:\\Program\\Microsoft Visual Studio\\DF98\\INCLUDE
> USER32		C:\\Program\\Microsoft Visual Studio\\VC98\\LIB
> user32		C:\\Program\\MATLAB6p5\\sys\\lcc\\lib
> User32.class	com/ms/win32
> 
> Does this give anyone any hints?
> 

hmm, dug a bit again, I have this set:

$ printenv|grep ntsec
CYGWIN=binmode tty ntsec check_case:strict

chj AT D90V2D0J /usr/local/src/gcc-binutils/trunk
$

for reasons of being able to compile the java stuff.. as I suspect
that case is an issue here, there are a few grep -i user32 files in
the system if you understand my lingo there...

Now, which user32 is it actuallt that -luser32 refers to in the above
quoted case?

Cheers,

/ChJ


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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