gcc 2.95.2 on 5.1 unresolved symbols ?

From: Paul Reilly <pareilly_at_tcd.ie>
Date: Mon, 08 Jan 2001 14:33:47 +0000 (GMT)

Hi,

I've done a installed gcc 2.95.2 on two different Tru64 v5.1
systems, however it won't compile c++ programs without producing errors
about unresloved symbols, even for basic functions like cout.

-------------------------------test.cpp---------------------------
#include <iostream>

using std::cout;

int main ()
{

std::cout << "hello there\n";
return 0;

}

...produces this at compile time:


/usr/bin/ld:
Unresolved:
cout
ostream::operator<<(char const *)
collect2: ld returned 1 exit status

I copiled gcc as


Any ideas? I compiled gcc as per

http://www.xray.mpe.mpg.de/mailing-lists/tru64-unix-managers/2000-11/msg00036.html

Thanks,

Paul
Received on Mon Jan 08 2001 - 14:34:46 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT