Duplicate symbols from STL

Mumit Khan khan@xraylith.wisc.edu
Sun Aug 2 12:25:00 GMT 1998


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@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list