Click to See Complete Forum and Search --> : Please Help! Can't compile anything with RH7.


dharamis
05-11-2001, 06:16 PM
Hi. I can't get simple "Hello World"-type programs to compile in RH7. The problem is that c library files that I #include are not recognized. However, the libraries exist in /usr/include (I checked). I can't even #include my own header files from the same directory as the source code. What gives? Dino

slambo
05-14-2001, 11:15 AM
As a former tech support bob, I must ask, what is the exact error message you are receiving? Also, what command are you using to compile? What programming language are you using (I'm assuming you're using C++)?

The one problem that I can think of off the top of my head is that you're trying to compile a C++ program using gcc. If you're typing gcc to compile, try typing g++ instead.