Solved

gcc and g++ on RedHat 6.1

Posted on 2001-07-15
1
516 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

789 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