This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.0.2 possible bug
- To: Oleg Krivosheev <kriol at fnal dot gov>
- Subject: Re: egcs-1.0.2 possible bug
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 19 Mar 1998 17:46:32 -0300
- Cc: egcs at cygnus dot com
- References: <Pine.GSO.3.96.980318193907.2356A-100000@drabble>
Oleg Krivosheev writes:
> My code compiled with -g fails during linkage with bugs like
> Undefined first referenced
> symbol in file
> overflow_error::overflow_error(basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > const &)/home/room1/kriol/work/Project/lib/sparc-sun-solaris-gcc/libGeometry.a(GeometryTracker.o)
> checked obj file - and indeed constructor is UNDEFined.
It's defined in libstdc++.a, make sure you link with gcc -lstdc++ or
with g++.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil