[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems building CGICC with Tru64/cxx
From: |
Andre Moll |
Subject: |
Problems building CGICC with Tru64/cxx |
Date: |
Wed, 21 Nov 2001 18:39:18 +0800 |
Has anybody here already succesfully built cgicc with Tru64 Unix and the cxx
compiler?
If I try I got following errors (see end of the mail) while performing make:
Seems as if cxx has some problems with how cxx is using namespaces. Has
anybody a idea how to get rid of it and build cgicc?
I am grateful for any help
Thx Andre
--
# make
No suffix list.
Making all in cgicc
/bin/sh ../libtool --mode=compile
-DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -c CgiEnvironment.cpp
rm -f .libs/CgiEnvironment.lo
cxx -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -c CgiEnvironment.cpp -DPIC -o
.libs/CgiEnvironment.lo
cxx: Error: ../cgicc/CgiUtils.h, line 172: Cannot create variable
"cgicc::writeString" of incomplete type "void".
writeString(STDNS ostream& out,
^
cxx: Error: ../cgicc/CgiUtils.h, line 172: namespace "std" has no member
"ostream"
writeString(STDNS ostream& out,
------------------^
cxx: Error: ../cgicc/CgiUtils.h, line 172: identifier "out" is undefined
writeString(STDNS ostream& out,
---------------------------^
cxx: Error: ../cgicc/CgiUtils.h, line 172: expected a ")"
writeString(STDNS ostream& out,
------------------------------^
cxx: Error: ../cgicc/CgiUtils.h, line 182: Cannot create variable
"cgicc::writeLong" of incomplete type "void".
writeLong(STDNS ostream& out,
^
cxx: Error: ../cgicc/CgiUtils.h, line 182: namespace "std" has no member
"ostream"
writeLong(STDNS ostream& out,
----------------^
cxx: Error: ../cgicc/CgiUtils.h, line 182: expected a ")"
writeLong(STDNS ostream& out,
----------------------------^
cxx: Error: ../cgicc/CgiUtils.h, line 193: namespace "std" has no member
"istream"
readString(STDNS istream& in);
-----------------^
cxx: Error: ../cgicc/CgiUtils.h, line 193: identifier "in" is undefined
readString(STDNS istream& in);
--------------------------^---------------^
cxx: Error: ../cgicc/MStreamable.h, line 38: namespace "std" has no member
"ostream"
CGICC_API STDNS ostream&
----------------^
cxx: Error: ../cgicc/MStreamable.h, line 39: namespace "std" has no member
"ostream"
operator<<(STDNS ostream& out, const MStreamable& obj);
-----------------^
cxx: Error: ../cgicc/MStreamable.h, line 52: namespace "std" has no member
"ostream"
friend CGICC_API STDNS ostream&
-------------------------^
cxx: Error: ../cgicc/MStreamable.h, line 53: namespace "std" has no member
"ostream"
operator<<(STDNS ostream& out, const MStreamable& obj);
-------------------^
cxx: Error: ../cgicc/MStreamable.h, line 70: namespace "std" has no member
"ostream"
render(STDNS ostream& out) const = 0;
---------------^
cxx: Error: ../cgicc/HTTPHeaders.h, line 73: namespace "std" has no member
"ostream"
render(STDNS ostream& out) const;
---------------^
cxx: Error: ../cgicc/HTTPHeaders.h, line 277: namespace "std" has no member
"ostream"
render(STDNS ostream& out) const;
---------------^
cxx: Error: ../cgicc/HTTPHeaders.h, line 322: namespace "std" has no member
"ostream"
render(STDNS ostream& out) const = 0;
---------------^
cxx: Error: ../cgicc/HTTPHeaders.h, line 347: namespace "std" has no member
"ostream"
render(STDNS ostream& out) const;
---------------^
cxx: Error: ../cgicc/HTTPHeadecxx: Error: ../cgicc/HTTPHeaders.h, line 404:
namespace "std" has no member
"ostream"
render(STDNS ostream& out) const;
---------------^
cxx: Error: ../cgicc/HTTPHeaders.h, line 425: namespace "std" has no member
"ostream"
render(STDNS ostream& out) const;
---------------^
cxx: Error: CgiEnvironment.cpp, line 60: namespace "std" has no member "cin"
STDNS cin.read(temp, getContentLength());
----------^
cxx: Error: CgiEnvironment.cpp, line 61: namespace "std" has no member "cin"
if(STDNS cin.gcount() != getContentLength()) {
-------------^
cxx: Error: CgiEnvironment.cpp, line 172: namespace "std" has no member
"ofstream"
STDNS ofstream file( filename.c_str(), STDNS ios::out );
--------^
cxx: Error: CgiEnvironment.cpp, line 172: expected a ";"
STDNS ofstream file( filename.c_str(), STDNS ios::out );
-----------------^
cxx: Error: CgiEnvironment.cpp, line 174: identifier "file" is undefined
if( ! file )
--------^
cxx: Error: CgiEnvironment.cpp, line 216: namespace "std" has no member
"ifstream"
STDNS ifstream file( filename.c_str(), STDNS ios::in );
--------^
cxx: Error: CgiEnvironment.cpp, line 216: expected a ";"
STDNS ifstream file( filename.c_str(), STDNS ios::in );
-----------------^
cxx: Error: CgiEnvironment.cpp, line 218: identifier "file" is undefined
if( ! file )
--------^
cxx: Info: Error limit reached.
cxx: Info: 30 errors detected in the compilation of "CgiEnvironment.cpp".
cxx: Info: Compilation terminated.
*** Exit 1
Stop.
*** Exit 1
- cookie problem, Ryan Cheng, 2001/11/14
- Problems building CGICC with Tru64/cxx,
Andre Moll <=