From owner-freebsd-questions Mon May 8 23:04:30 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA04548 for questions-outgoing; Mon, 8 May 1995 23:04:30 -0700 Received: from cc.jyu.fi (root@cc.jyu.fi [130.234.0.6]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id XAA04540 for ; Mon, 8 May 1995 23:04:15 -0700 Received: from [130.234.41.39] (zaphod.maccc.jyu.fi) by cc.jyu.fi with SMTP id AA26896 (5.67a/IDA-1.4.4 for questions@FreeBSD.org); Tue, 9 May 1995 09:05:47 +0300 X-Sender: kallio@pop.jyu.fi Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 9 May 1995 09:05:42 +0300 To: tanel@juku.li.ttu.ee (Tanel Kuusk) From: kallio@jyu.fi (Seppo Kallio) Subject: Re: Cc: ianw@ee.su.oz.au, questions@FreeBSD.org Sender: questions-owner@FreeBSD.org Precedence: bulk At 16:11 8/5/95, Tanel Kuusk wrote: >> I can't compile the following program. >> >> #include 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