Solved

gcc and g++ on RedHat 6.1

Posted on 2001-07-15
1
517 Views
Last Modified: 2013-12-15
I have installed RedHat 6.1 on a 486.
Whenever I try to compile a simple C++ program I get the error:

/usr/include/g++-2/streambuf.h:36: libio.h: No such file or directory

How can I correct this?
0
Comment
Question by:Xcoder
1 Comment
 
LVL 5

Accepted Solution

by:
garboua earned 200 total points
ID: 6285831
first make sure you got libio.h should be under /usr/include and it should be there.
look at you makefile, are you including "-l/usr/include/g++2.3", if you are you need to take flag off.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question