Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 1995 09:05:42 +0300
From:      kallio@jyu.fi (Seppo Kallio)
To:        tanel@juku.li.ttu.ee (Tanel Kuusk)
Cc:        ianw@ee.su.oz.au, questions@FreeBSD.org
Subject:   Re: 
Message-ID:  <v01510109abd4b228eab5@[130.234.41.39]>

next in thread | raw e-mail | index | archive | help
At 16:11 8/5/95, Tanel Kuusk wrote:
>> I can't compile the following program.
>>
>> #include <iostream.h>

In my FreeBSD 2.0:

kaarna:~% c++ koe.C
kaarna:~% cc koe.C
/var/tmp/cc0228651.o: Undefined symbol `_cout' referenced from text segment
/var/tmp/cc0228651.o: Undefined symbol `___ls__7ostreamPCc' referenced from =
text
 segment

So it seems that you have tu call the C++ compiler, not the C compiler impli=
cit.

Seppo





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