delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/14/15:02:46

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
Message-ID: <42D6B67F.5010309@familiehaase.de>
Date: Thu, 14 Jul 2005 21:01:19 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: "Michel, Gustave A CIV N62306" <gustave DOT michel AT navy DOT mil>
CC: cygwin AT cygwin DOT com, Gus Michel <gusmichel AT dialup4less DOT com>
Subject: Re: Missing symbols for linker called from gcc
References: <26AF4E73922EDB44BE50FD3AAD868ADA112C50 AT naeajaxsez07 DOT nadsusea DOT nads DOT navy DOT mil>
In-Reply-To: <26AF4E73922EDB44BE50FD3AAD868ADA112C50@naeajaxsez07.nadsusea.nads.navy.mil>
X-IsSubscribed: yes

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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019