Solved

gcc and g++ on RedHat 6.1

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now