I get this error for almost all codes.
make[2]: *** [PolyPxy.o] Error 1
Thanks,
Nooshin
c++ -o PolyPxy.o -c PolyPxy.cc -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -I../.. -I.. -DHAVE_CONFIG_H
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
from ../xstd/h/iostream.h:13,
from ../xstd/Size.h:13,
from ../base/polygraph.h:20,
from PolyPxy.cc:10:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from ../xstd/h/iostream.h:13,
from ../xstd/Size.h:13,
from ../base/polygraph.h:20,
from PolyPxy.cc:10:
/usr/include/c++/3.2.2/backward/iostream.h:35: using declaration `ostream'
introduced ambiguous type `ostream'
/usr/include/c++/3.2.2/backward/iostream.h:36: using declaration `istream'
introduced ambiguous type `istream'
In file included from ../runtime/LogComment.h:13,
from PolyPxy.cc:13:
./xstd/h/strstream.h: In function `void ostrstreamFreeze(ostrstream&, bool)':
./xstd/h/strstream.h:22: invalid use of undefined type `struct ostrstream'
./xstd/String.h:16: forward declaration of `struct ostrstream'
./xstd/h/strstream.h: At global scope:
./xstd/h/strstream.h:25: `strstream' was not declared in this scope
./xstd/h/strstream.h:25: `os' was not declared in this scope
./xstd/h/strstream.h:25: parse error before `)' token
./xstd/h/strstream.h: In function `void strstreamFreeze(...)':
./xstd/h/strstream.h:26: `os' undeclared (first use this function)
./xstd/h/strstream.h:26: (Each undeclared identifier is reported only once for
each function it appears in.)
./xstd/h/strstream.h:26: `be' undeclared (first use this function)
In file included from PolyPxy.cc:13:
./runtime/LogComment.h: At global scope:
./runtime/LogComment.h:22: base class `ostrstream' has incomplete type
./runtime/LogComment.h: In member function `void LogComment::reset()':
./runtime/LogComment.h:26: `seekp' undeclared (first use this function)
In file included from ../base/LogObj.h:16,
from ../base/ConnCloseStat.h:14,
from ../runtime/Connection.h:17,
from ../runtime/Xaction.h:17,
from ../server/SrvXact.h:15,
from ../server/Server.h:18,
from PolyPxy.cc:24:
./base/ILog.h: At global scope:
./base/ILog.h:91: 'streampos' is used as a type, but is not defined as a type.
./base/ILog.h: In member function `bool ILog::eoe()':
./base/ILog.h:79: `theEntryEnd' undeclared (first use this function)
In file included from ../runtime/httpHdrs.h:17,
from ../server/SrvXact.h:16,
from ../server/Server.h:18,
from PolyPxy.cc:24:
./xstd/Checksum.h: At global scope:
./xstd/Checksum.h:20: friend declaration requires class-key, i.e. `friend
struct ChecksumAlg'
PolyPxy.cc: In member function `virtual void PolyPxy::startAgents()':
PolyPxy.cc:161: no match for `LogComment& << const char[10]' operator
./xstd/Time.h:98: candidates are: ostream& operator<<(ostream&, const Time&)
./xstd/Time.h:103: ostream& operator<<(ostream&, const tm&)
./xstd/Size.h:63: std::ostream& operator<<(std::ostream&,
const Size&)
./xstd/Error.h:54: std::ostream& operator<<(std::ostream&,
const Error&)
./xstd/BigSize.h:85: std::ostream& operator<<(std::ostream&,
const BigSize&)
./xstd/String.h:97: std::ostream& operator<<(std::ostream&,
const String&)
./xstd/NetAddr.h:63: std::ostream& operator<<(std::ostream&,
const NetAddr&)
./base/OLog.h:97: OLog& operator<<(OLog&, char)
./base/OLog.h:103: OLog& operator<<(OLog&, bool)
./base/OLog.h:109: OLog& operator<<(OLog&, int)
./base/OLog.h:115: OLog& operator<<(OLog&, double)
./base/OLog.h:121: OLog& operator<<(OLog&, const char*)
./base/OLog.h:127: OLog& operator<<(OLog&, const String&)
./base/OLog.h:136: OLog& operator<<(OLog&, const Time&)
./base/OLog.h:143: OLog& operator<<(OLog&, const BigSize&)
./base/OLog.h:149: OLog& operator<<(OLog&, const NetAddr&)
./base/OLog.h:154: OLog& operator<<(OLog&, const bege&)
./base/OLog.h:160: OLog& operator<<(OLog&, void (*)(OLog&))
./xstd/Rnd.h:88: std::ostream& operator<<(std::ostream&, const
RndDistr&)
./base/UniqId.h:72: std::ostream& operator<<(std::ostream&,
const UniqId&)
./base/UniqId.h:75: OLog& operator<<(OLog&, const UniqId&)
./base/ObjId.h:161: OLog& operator<<(OLog&, const ObjId&)
./runtime/ObjWorld.h:66: OLog& operator<<(OLog&, const
ObjWorld&)
./runtime/ObjWorld.h:78: std::ostream&
operator<<(std::ostream&, const ObjWorld&)
./base/ILog.h:51: std::ostream& operator<<(std::ostream&,
const LogEntryPx&)
./base/LogObj.h:24: OLog& operator<<(OLog&, const LogObj&)
./base/AggrStat.h:63: std::ostream& operator<<(std::ostream&,
const AggrStat&)
./base/AggrStat.h:66: OLog& operator<<(OLog&, const AggrStat&)
./xstd/SrcLoc.h:38: std::ostream& operator<<(std::ostream&,
const SrcLoc&)
./xparser/SynSym.h:53: std::ostream& operator<<(std::ostream&,
const SynSym&)
make[2]: *** [PolyPxy.o] Error 1
make[2]: Leaving directory `/home/nzand/poly-graph/polygraph-2.7.6/src/proxy'
make[2]: Entering directory `/home/nzand/poly-graph/polygraph-2.7.6/src/tools'
c++ -o aka.o -c aka.cc -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -I../.. -I.. -DHAVE_CONFIG_H
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
from ../xstd/h/iostream.h:13,
from ../xstd/Size.h:13,
from ../base/polygraph.h:20,
from aka.cc:10:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from ../xstd/h/iostream.h:13,
from ../xstd/Size.h:13,
from ../base/polygraph.h:20,
from aka.cc:10:
/usr/include/c++/3.2.2/backward/iostream.h:35: using declaration `ostream'
introduced ambiguous type `ostream'
/usr/include/c++/3.2.2/backward/iostream.h:36: using declaration `istream'
introduced ambiguous type `istream'
This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:26 MST