Date: Tue, 1 Oct 2002 10:38:24 -0400 From: Alexander Kabaev <ak03@gte.com> To: Yamada Ken Takeshi <ken@tydfam.jp> Cc: current@FreeBSD.ORG Subject: Re: Issues I have w/ recent -current Message-ID: <20021001103824.555aa05a.ak03@gte.com> In-Reply-To: <20021001.232934.730552252.ken@tydfam.jp> References: <20021001.232934.730552252.ken@tydfam.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 01 Oct 2002 23:29:34 +0900 (JST) Yamada Ken Takeshi <ken@tydfam.jp> wrote: > > 3) HelloWorld.cc can't be compiled while 4.6R can do it, > and it disables to compile kdebase3. > > #include <iostream> int main(){ cout<<"Hello World\n";} > > c++ HelloWorld.cc -o HelloWorld > /var/tmp//cckSb4Nm.o: In function `main': > /var/tmp//cckSb4Nm.o(.text+0x19): undefined reference to `cout' > /var/tmp//cckSb4Nm.o(.text+0x1e): undefined reference to > `ostream::operator<<(char const*)' Pilot error. Get rid of stale /usr/include/g++ before your next installworld. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021001103824.555aa05a.ak03>