delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <3844CB5F.2FE252A7@ece.gatech.edu> |
Date: | Wed, 01 Dec 1999 02:16:47 -0500 |
From: | "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu> |
X-Mailer: | Mozilla 4.7 [en] (WinNT; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | ld behaving strangely? |
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 AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |