I am having the same problem and found several references to the proper resolution. I have Ubuntu 7.04 running on a desktop machine and so far everything seems to work. This missing stdio.h file, etc. seems to be a fact of life with this, and maybe other, distro. However, on my machine, if I run
sudo apt-get install build-essential
I get the following errors:
------------ Start of quote
Some packages could not be installed. This may mean you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or moved out of Incoming.
Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help resolve the situation:
The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or libc-dev
Depends: g++ (>= 4:4.1.1) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Broken packages
------------------ End quote
So... does anyone know how to proceed on this? '
This question would probably be better asked on the Distributions:Ubuntu forum, but this thread already existed.
I've redirected this to another forum since it doesn't really belong here. Sorry for the messup...