Article View: gnu.g++.help
Article #767problem with gcc 2.7.0
From: Marco Nissen
Date: Sat, 16 Sep 1995 19:04
Date: Sat, 16 Sep 1995 19:04
22 lines
1275 bytes
1275 bytes
Hi - I have a problem with creating shared libraries using gcc 2.7.0 and libg++ v2.7.0 at a sun sparc. The errors are the following (I create the object-file with option '-fPIC'): :g++ -shared -o libout basic/*.o collect2: ld returned 2 exit status ld: /KM2/local/lib/libstdc++.a(iostream.o): assert pure-text failed: reference to ios virtual tableat d3a8 in /KM2/local/lib/libstdc++.a ld: /KM2/local/lib/libstdc++.a(iostream.o): assert pure-text failed: reference to ios virtual tableat d3ac in /KM2/local/lib/libstdc++.a ld: /KM2/local/lib/libstdc++.a(iostream.o): assert pure-text failed: reference to [offset] at d3f0 in /KM2/local/lib/libstdc++.a I don't know why it returns errors, cause it runs without any problems under linux on a pc. Can anybody help me ? -- Marco Nissen [http://www.mpi-sb.mpg.de/~marco] *this posting was not sponsered by microsoft*
Technical Details
Message-ID:
<43f73h$8ih@coli-gate.coli.uni-sb.de>Path:
arc1-ca.pugleaf.net!news.coli.uni-sb.de!not-for-mailShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.coli.uni-sb.de!not-for-mail From: manis@coli.uni-sb.de (Marco Nissen) Newsgroups: gnu.g++.help,comp.lang.c++ Subject: problem with gcc 2.7.0 Date: 16 Sep 1995 21:04:17 +0200 Organization: Hello World Message-ID: <43f73h$8ih@coli-gate.coli.uni-sb.de> Reply-To: marco@mpi-sb.mpg.de NNTP-Posting-Host: coli-gate.coli.uni-sb.de X-Newsreader: TIN [version 1.2 PL2]