Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 11 Oct 2002 00:19:05 +0200 From: =?iso-8859-1?Q?Christian_J=F6nsson?= To: cygwin Subject: Re: binutils 20021009 cvs trunk on cygwin: ld failuers Message-ID: <20021011001905.A30961@u1sparc.j-son.org> References: <20021009233250 DOT A8910 AT u1sparc DOT j-son DOT org> <20021010084314 DOT A9304 AT u1sparc DOT j-son DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021010084314.A9304@u1sparc.j-son.org>; from chj@u1sparc.j-son.org on Thu, Oct 10, 2002 at 08:43:14AM +0200 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.exp ... > > /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/