trouble compiling c++

Rexford Gibbs herk@cwnet.com
Fri Jun 21 13:48:00 GMT 2002


Hi, gcc-help.

The precompiled binary version of gcc-2.95.3 that comes with the 
Solaris8 for Intel CD set
won't compile a simple C++ 'Hello, world' test:  the following error 
message is produced:

Undefined                                                    first 
encountered
symbol                                                         in file
cout                                                                
/var/tmp/ccEiizXe.o
ostream::operator ....etc
ld: fatal: Symbol referencing errors.
collect 2: ld returned 1 exit status

Is it that the STL can't be found, or that it's not installed, or some 
other problem?
I'd appreciate any help or suggestions.

Thanks
Herk Gibbs






More information about the Gcc mailing list