Missing symbols for linker called from gcc

2005-07-14 Thread Michel, Gustave A CIV N62306
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:

   [EMAIL PROTECTED] /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

   [EMAIL PROTECTED] /home/gus
   $ cat hello.c
   main()
   {
 printf(hello, world\n);
   }

   [EMAIL PROTECTED] /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

   [EMAIL PROTECTED] /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/



Re: Missing symbols for linker called from gcc

2005-07-14 Thread Gerrit P. Haase

Michel, Gustave A CIV N62306 wrote:

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:

   [EMAIL PROTECTED] /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

   [EMAIL PROTECTED] /home/gus
   $ cat hello.c
   main()
   {
 printf(hello, world\n);
   }

   [EMAIL PROTECTED] /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

   [EMAIL PROTECTED] /home/gus
   $ 


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


Uh, what version of gcc is this?
Probably you'll need to upgrade gcc too.

--
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/



FW: Missing symbols for linker called from gcc

2005-07-14 Thread Michel, Gustave A CIV N62306


-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:

   [EMAIL PROTECTED] /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

   [EMAIL PROTECTED] /home/gus
   $ cat hello.c
   main()
   {
 printf(hello, world\n);
   }

   [EMAIL PROTECTED] /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

   [EMAIL PROTECTED] /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. 


smime.p7s
Description: S/MIME cryptographic signature


Re: Missing symbols for linker called from gcc

2005-07-14 Thread Brian Dessent
Michel, Gustave A CIV N62306 wrote:
 
 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:

If you had a Cygwin that ancient chances are you also had a prehistoric
binutils without the pseudo-reloc support.  This is why we ask for
people to provide cygcheck -svr output, because without it we are just
guessing at what versions of things you are trying to use.  So, since
you didn't provide enough information I would say as a wild guess to
make sure that you have the current version of both gcc and binutils.

Brian

--
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/