Solved

gcc and g++ on RedHat 6.1

Posted on 2001-07-15
1
519 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

690 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