| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| content-class: | urn:content-classes:message |
| MIME-Version: | 1.0 |
| Subject: | Missing symbols for linker called from gcc |
| Date: | Thu, 14 Jul 2005 11:57:13 -0400 |
| Message-ID: | <26AF4E73922EDB44BE50FD3AAD868ADA112C50@naeajaxsez07.nadsusea.nads.navy.mil> |
| From: | "Michel, Gustave A CIV N62306" <gustave DOT michel AT navy DOT mil> |
| To: | <cygwin AT cygwin DOT com> |
| Cc: | "Gus Michel" <gusmichel AT dialup4less DOT com> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id j6EFw8sd022240 |
I've recently updated the cygwin (from 1.3.4-3) my standalone Win2K box, and gcc is failing because of missing symbols. Here is a session:
gus AT silver /home/gus
$ uname -a
CYGWIN_NT-5.0 silver 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cygwin
gus AT silver /home/gus
$ cat hello.c
main()
{
printf("hello, world\n");
}
gus AT silver /home/gus
$ gcc hello.c -o hello.exe
/usr/lib/libcygwin.a(pseudo-reloc.o)(.text+0x39): undefined reference to `__RUNTIME_PSEUDO_RELOC_LIST_END__'
/usr/lib/libcygwin.a(pseudo-reloc.o)(.text+0x4b): undefined reference to `__RUNTIME_PSEUDO_RELOC_LIST__'
collect2: ld returned 1 exit status
gus AT silver /home/gus
$
I've tried adding a number of other libraries to the command line, with no success. What am I missing?
Gus Michel
Acoustic Analysis and Data Bases Branch, Code N512
Naval Oceanographic Office
1003 Balch Blvd
Stennis Space Center, MS 39522-5001
Comm. 228/688-5903; FAX 688-5973
Change: If it isn't for the better, it's for the worse.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |