This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
SCO 5.0.2 error
- To: gcc at gcc dot gnu dot org
- Subject: SCO 5.0.2 error
- From: Bill Walker <bw at cs3 dot ecok dot EDU>
- Date: Thu, 7 Oct 1999 10:53:07 -0500 (CDT)
Problem with libstdc++.a on SCO 5.0.2 ? The SCO loader is not doing what
it should apparently. I have not make the GNU loader work. Has anyone ?
Does anyone have any suggestions ? (Other than the usual and non-constructive
smart-aleck comments about getting another OS, if you please.)
73 de Bill W5GFE
----------------------- uname -X
System = SCO_SV
Node = cs3
Release = 3.2v5.0.2
KernelID = 96/01/23
Machine = Pentium
BusType = EISA
Serial = 2EC036420
Users = 65-user
OEM# = 0
Origin# = 1
NumCPU = 4
----------------------- g++ -v
Reading specs from /usr/local/lib/gcc-lib/i586-pc-sco3.2v5.0.2/2.95.1/specs
gcc version 2.95.1 19990816 (release)
----------------------- code
// file test.cc
#include <string>
main() {
string x;
}
---------------------- command line
g++ test.cc
---------------------- result
/usr/local/lib/gcc-lib/i586-pc-sco3.2v5.0.2/2.95.1/libstdc++.a(cstrmain.o): fatal error: symbol `basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::~basic_string(void)` multiply-defined, also in file /usr/tmp/ccXUiL9c.o
collect2: ld returned 1 exit status
--
Bill Walker Ph.D.
Professor and Chairman
Department of Computer Science
East Central University
Ada, Oklahoma 74820-6899
580 332 8000 x 594
(direct) 580 310 5594
FAX 580 310 5606
bw@cs.ecok.edu