Home > Archive > Unix Programming > January 2008 > # Include file <fstream> not found on HP-UX 11.00
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
# Include file <fstream> not found on HP-UX 11.00
|
|
| wong_powah@yahoo.ca 2008-01-31, 7:27 pm |
| How to fix the compile error?
# make clean
....
# make depend
....
Generating dependencies for Util.dep....^M
Error 112: "Util.cpp", line 20 # Include file <fstream> not found.^M
#include <fstream>^M
^^^^^^^^^^M
Error 112: "Util.cpp", line 21 # Include file <iostream> not found.^M
#include <iostream>^M
^^^^^^^^^^^M
make[2]: *** [Memory/Util.dep] Error 2^M
# aCC --version
aCC: HP ANSI C++ B3910B A.03.33
# uname -a
HP-UX hp1 B.11.00 U 9000/785 2003725330 unlimited-user license
| |
| Rick Jones 2008-01-31, 7:27 pm |
| wong_powah@yahoo.ca wrote:
> How to fix the compile error?
> # make clean
> ...
> # make depend
> ...
> Generating dependencies for Util.dep....^M
> Error 112: "Util.cpp", line 20 # Include file <fstream> not found.^M
> #include <fstream>^M
> ^^^^^^^^^^M
> Error 112: "Util.cpp", line 21 # Include file <iostream> not found.^M
> #include <iostream>^M
> ^^^^^^^^^^^M
> make[2]: *** [Memory/Util.dep] Error 2^M
> # aCC --version
> aCC: HP ANSI C++ B3910B A.03.33
> # uname -a
> HP-UX hp1 B.11.00 U 9000/785 2003725330 unlimited-user license
I don't know much about C++, but can say that your OS is very old, and
your compiler is also _very_ old. (and I'm virtually certain both are
long past their EOL dates...) As such, if <fstream> and/or <iostream>
were "new" or "newish" back in the late 1990's (HP-UX 11.0 FCS was
November of 1997) it is entirely possible that the way to fix the
problem is to upgrade to either a newer compiler, or perhaps even a
newer OS rev and compiler. I'm going to cross-post this to
comp.sys.hp.hpux and set followups there in hopes that some of the
more UX-compiler-aware folks will see it.
rick jones
--
a wide gulf separates "what if" from "if only"
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
|
|
|
|
|