Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs Date: Wed, 1 Dec 1999 18:27:14 -0600 (CST) From: Mumit Khan To: "Charles S. Wilson" cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: ld behaving strangely? In-Reply-To: <38453F10.C51D1C4B@ece.gatech.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 1 Dec 1999, Charles S. Wilson wrote: > Did that, and got the output pasted at the very bottom of this email. > There *were* unsatisfied symbols -- it seems that libXt depends on libSM > and libICE. I didn't know that (and neither did the guy who wrote the > sxpm makefile). That depends on the X11 release. Newer ones do, and most of the older configure scripts failed on this one. > gcc -O -I.. -I/usr/X11R6/include sxpm.o -L../lib -L/usr/X11R6/lib -lXpm > -lXext -lXt -lICE -lSM -lX11 -o sxpm > > works without error and creates an executable -- both with collect2.exe > and without it (e.g. after renaming collect2.exe to collect2.exe.sav) > > However, that doesn't answer the question about why ld was not giving me > useful error output initially... collect2 runs ld as a child process, and checks its standard output and standard error. It's obviously crashing and not flushing the output and you don't see it. Many years ago, there was a bug in freopen that caused an similar error; however, Chris Faylor, while still a netizen, fixed this way back, and besides, that code has been rewritten since. An option is to get you a debugging copy, and you can run it under the debugger and get me the backtrace. Let me know if that'll work for you. > So that means there's a bug in collect2, right? Highly likely. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com