delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/02/15:27:36

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: Duplicate symbols from STL
2 Aug 1998 15:27:36 -0700 :
Message-ID: <Pine.SUN.3.93.980802132859.22189B-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <01bdbdee$01f76ae0$127cf2c3 AT joli-pc>
Mime-Version: 1.0
To: Laurent BloB Vaucher <blo DOT b AT infonie DOT fr>
Cc: gnu-win32 AT cygnus DOT com

On Sun, 2 Aug 1998, Laurent BloB Vaucher wrote:

>     Hello. I recently downloaded beta 19 and tried
> to compile some simple C++ stuff and I have problems
> when trying to link. The linker tells me there are
> duplicate symbols like basic_strings thingies. It
> seems those symbols are present both in the libstdc++.a,
> which seems perfectly normal, and in my .o files which
> include <string> (maybe inline expansions?).

Upgrade your compiler toolchain to egcs. See:
  
  http://www.xraylith.wisc.edu/~khan/software/gnu-win32/egcs.html
  ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin32/releases/

>     I tried to browse the mailing list archives, but
> that's not quite aesy, and I only found references to
> "undefined symbols". Is there a special option I should
> use with thet compiler, with the linker? Does anyone
> have the same problem?

There should be quite a few posts with "STL" in it. Perhaps search for STL
instead of "undefined symbols" might pick up the relevant posts?

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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