This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
ld behaving strangely?
- To: cygwin at sourceware dot cygnus dot com
- Subject: ld behaving strangely?
- From: "Charles S. Wilson" <cwilson at ece dot gatech dot edu>
- Date: Wed, 01 Dec 1999 02:16:47 -0500
I'm trying to compile sxpm from the xpm-3.4k distribution. (I already
compiled the library). However, it seems that there is an undefined
symbol somewhere, because build fails. I'm only guessing about that
because ld is not providing as much information as I'm used to, and I
don't know what's going on.
Here's the command:
gcc -O -I.. -I/usr/X11R6/include sxpm.o -L../lib -L/usr/X11R6/lib -lXpm
-lXext -lXt -lX11 -o sxpm
The result:
collect2: ld returned 1 exit status
make: *** [sxpm] Error 1
And that's it. No other information. Why isn't it saying "undefined
symbol foo in bar.c" or whatever? If it's not an undefined symbol error,
then how do I find out what the error was?
I'm using Mumit's gcc-2.95.2-cygb20.tar.gz + gcc-2.95.2-dev-ss.tar.gz,
and his binutils-2.9.4-cygb20.tar.gz on a system with the
cygwin-inst-19991122.tar.gz and cygwin19991123.dll. I am able to compile
other executables and libraries successfully with this configuration.
Thanks for any help,
Chuck
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com