HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

HF 4.1B2, gcc 2.8.1, Solaris 2.5.1 -- gcc not seeing _G_config.h



Out of the frying pan and into the fire. I'm trying HF 4.1 Beta 2 with 
Solaris 2.5.1 and gcc 2.8.1 with libstdc++.a. But HF still complains 
that the library hasn't been installed. The test file it tries to 
compile is:

----------------------------------------------------------
#include "iostream.h"
int main(){ cout << "Hello World!" << endl; return 0;}
----------------------------------------------------------

When I try to compile this code I get this:

----------------------------------------------------------
# /usr/local/bin/gcc test.cc
In file included from /usr/local/include/g++/streambuf.h:36,
                 from /usr/local/include/g++/iostream.h:31,
                 from test.cc:1:
/usr/local/include/g++/libio.h:30: _G_config.h: No such file or 
directory
----------------------------------------------------------

A find shows _G_config.h living in 
/usr/local/sparc-sun-solaris2.5.1/include/_G_config.h

I'm just a gcc user, not a programmer, so I'm at a loss as to getting 
the compiler to see that .h file. Anyone have a hint?

---
David Rouse
Network Manager
Goldsboro News-Argus





Project hosted by iFAX Solutions