public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* FW: Missing symbols for linker called from gcc
@ 2005-07-14 20:50 Michel, Gustave A CIV N62306
  0 siblings, 0 replies; only message in thread
From: Michel, Gustave A CIV N62306 @ 2005-07-14 20:50 UTC (permalink / raw)
  To: cygwin; +Cc: gerrit, Gus Michel

[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]



-----Original Message-----
From: Michel, Gustave A CIV N62306 
Sent: Thursday, July 14, 2005 10:57
To: 'cygwin@cygwin.com'
Cc: 'Gus Michel'
Subject: Missing symbols for linker called from gcc


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@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@silver /home/gus
   $ cat hello.c
   main()
   {
     printf("hello, world\n");
   }

   gus@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@silver /home/gus
   $ 

I've tried adding a number of other libraries to the command line, with
no success.  What am I missing?

Reply by Gerrit P. Haase:
Uh, what version of gcc is this?
Probably you'll need to upgrade gcc too.

Gus Michel again:
Thought I had gotten all of the packages; apparently not so.  The gcc
executable is 2.95.3-5 (cygwin special), and the executable is dated
2001-06-17.  Sounds like the problem is located.  

THANKS!

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. 

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2986 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-14 20:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-14 20:50 FW: Missing symbols for linker called from gcc Michel, Gustave A CIV N62306

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).