This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
trouble compiling c++
- From: Rexford Gibbs <herk at cwnet dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 21 Jun 2002 12:45:21 -0700
- Subject: trouble compiling c++
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