This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-2.95.2 probem with building shared library
- To: Venkata Ravella <venkatar at cupertino dot synopsys dot com>
- Subject: Re: gcc-2.95.2 probem with building shared library
- From: Alexandre Oliva <aoliva at cygnus dot com>
- Date: 02 May 2000 17:23:59 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: Cygnus Solutions, a Red Hat Company
- References: <390F1A4D.D65E065B@synopsys.com>
On May 2, 2000, Venkata Ravella <venkatar@cupertino.synopsys.com> wrote:
> mondial:linker> /usr/local/gnu/gcc-2.95.2/bin/gcc -shared -symbolic
> -fPIC Foo.o -lc
> Undefined first referenced
> symbol in file
> ostream::operator<<(ostream &(*)(ostream &))Foo.o
You're missing libstdc++. Link with g++ and it'll get linked in
automatically.
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me