Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 95 19:41:25 +1000
From:      Ian Wynne <ianw@ee.su.oz.au>
To:        questions@FreeBSD.org
Message-ID:  <m0s8PJd-000JnzC@cassius.ee.su.OZ.AU>

next in thread | raw e-mail | index | archive | help

Hello Everyone:

I'm using 2.0-950210-SNAP.

I can't compile the following program.

#include <iostream.h>

int main()
{

	 cout << "Hello World!\n";
}
 

If I type cc hello.cc -o hell, I get the following error message :

/var/tmp/cc0001631.o: Undefined symbol `_cout' referenced from text segment
/var/tmp/cc0001631.o: Undefined symbol `___ls__7ostreamPCc' referenced from text segment


I've got iostream.h installed and the access permissions are -r--r--r--

Can somebody please help

Best regards,


Ian Wynne	ianw@ee.su.oz.au



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0s8PJd-000JnzC>