This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
970929 snapshot. undefined reference in libstdc++.so. Help needed !
- To: egcs at cygnus dot com
- Subject: 970929 snapshot. undefined reference in libstdc++.so. Help needed !
- From: Max Lawson <mlawson at drfmc dot ceng dot cea dot fr>
- Date: Thu, 2 Oct 1997 20:31:59 +0200
Hi.
I've downloaded the 970929 snapshot and succeded building
the compiler (make bootstrap LANGUAGES="c c++" BOOT_CFLAGS="-g -O2").
My box is i586-pc-linux-gnulibc1
I've made the installation (make install LANGUAGES="c c++" CFLAGS ="-g -O2").
As I tried to compile a test-program (that the pevious snapshot didn't succeed
compile), I got a linker error.... To summarize, I can't link the
following program:
--------------------test.cc----
#include <iostream.h>
int main() { cout << "hello\n"; return 0; }
--------------------cc.tset----
$ g++ -g test.cc
/usr/local/lib/libstdc++.so: undefined reference to '_IO_outfloat'
collect2: ld returned 1 exit status.
Thanx in advance for your help, Max