[Coral-dev] Help on compiling on SunOS 5.7
Sivakumar Ramagopal
ramagopa at etek.chalmers.se
Thu Sep 30 10:28:16 PDT 2004
Hi,
I'm trying to build CoralReef on SunOS 5.8, but am having some trouble.
Could someone please help me out?
Details
-------
CoralReef version: coral-3.6.3-public
Machine: SunOS aaa.ab.chalmers.se 5.8 Generic_108528-21 sun4u sparc
SUNW,Ultra-5_10
gmake version: GNU Make 8.80
gcc version: 3.3
g++ version: 3.3
Error:
/usr/dist/ask/bin/g++ -DHAS_BOOL -Wall -g -KPIC -I. -I../IpPrefixPatricia
-c pat_func.cc
g++: unrecognized option `-KPIC'
In file included from /usr/dist/ask/include/c++/3.3/backward/fstream.h:31,
from pat_func.cc:60:
/usr/dist/ask/include/c++/3.3/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.
../IpPrefixPatricia/IpPrefixPatricia.hh: In function `int
_load_file_text(Finder*, const char*) [with Finder = ASFinder]':
pat_func.cc:178: instantiated from here
../IpPrefixPatricia/IpPrefixPatricia.hh:709: error: `typedef class ipv4addr_t
Ipv4PrefixPatricia<std::string>::ipaddr_type' is private
pat_func.cc:104: error: within this context
../IpPrefixPatricia/IpPrefixPatricia.hh: In function `int
_load_file_text(Finder*, const char*) [with Finder = ASFinder6]':
and a lot more similar errors in file pat_func.cc.
Thanks in advance,
Shiva
More information about the Coral-dev
mailing list