From owner-freebsd-questions Wed Nov 18 14:55:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA23806 for freebsd-questions-outgoing; Wed, 18 Nov 1998 14:55:38 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pita.cisco.com (pita.cisco.com [171.71.68.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA23794 for ; Wed, 18 Nov 1998 14:55:31 -0800 (PST) (envelope-from mruhl@cisco.com) Received: from cisco.com (blender.cisco.com [171.71.68.43]) by pita.cisco.com (8.8.5-Cisco.2-SunOS.5.5.1.sun4/8.6.5) with ESMTP id OAA10260; Wed, 18 Nov 1998 14:54:23 -0800 (PST) Message-ID: <36534E6D.54CF5DBB@cisco.com> Date: Wed, 18 Nov 1998 14:47:09 -0800 From: "Michael J. Ruhl" Organization: Cisco Systems X-Mailer: Mozilla 4.5 [en] (X11; U; SunOS 5.5.1 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: "Alain G. Fabry" CC: VEGA , freebsd-questions@FreeBSD.ORG Subject: Re: iostream.h header file not found References: <00c201be1344$f44e5230$5531d5c6@earth.coserve.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Alain G. Fabry" wrote: > > Thanks, > That helped. > > But now i have a different/similar problem > I compiled my stupid program and it returned > /usr/include/g++/iostream.h:31: streambuf.h : No such file or directory > > All the files in the /usr/include/g++ have #include > they all refer to each other. > Do I have to change all of these to their respective directory. > I hope there is some other solution. > Thanks, Please note, any file in the /usr/include/g++ directory should not be included unless you are using C++. It is not for C. If you are using C++, and you are not able to include this file, instead of doing #include do this: % g++ -I/usr/include/g++ Mike -------------------------------------------------------------- Michael J. Ruhl mruhl@cisco.com Cisco Systems Tall Blond Guy Buckaroo.Banzai@Yoyodyne.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message