binutils 20021009 cvs trunk on cygwin: ld failuers

Christian Jönsson christian@j-son.org
Fri Oct 11 00:31:00 GMT 2002


Well, I have that installed, see below:

libuser32.a	C:\\cygwin\\lib\\win32api

I rather think it's a case issue...

Cheers,

/ChJ

-----Original Message-----
From: lhall@pop.ma.ultranet.com [mailto:lhall@pop.ma.ultranet.com] 
Sent: Friday, October 11, 2002 2:48 AM
To: christian@j-son.org; cygwin@cygwin.com
Subject: Re: binutils 20021009 cvs trunk on cygwin: ld failuers


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@j-son.org
Date: Fri, 11 Oct 2002 00:19:05 +0200
To: cygwin@cygwin.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/bootstra
p.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@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/



More information about the Cygwin mailing list