Mail Archives: cygwin/2005/07/14/17:17:32
------=_NextPart_000_0027_01C5888B.C2E275A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
-----Original Message-----
From: Michel, Gustave A CIV N62306
Sent: Thursday, July 14, 2005 10:57
To: 'cygwin AT cygwin DOT 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 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?
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.
------=_NextPart_000_0027_01C5888B.C2E275A0
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH
AQAAoIIItTCCBDEwggOaoAMCAQICAxyEC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