Hi Martin,
You are going to encounter many problems building with the newer version of
the compiler. One option is to build in 4.2 compatibility mode. If not, I
would suggest that you try removing the following settings from
Include/SolarisDefinitions.hpp:
#define XALAN_NO_NAMESPACES
#define XALAN_NO_MUTABLE
you might also need to remove the following:
#define XALAN_SGI_BASED_STL
#define XALAN_STLPORT_STL
Dave
Martin Waller
<martin.waller@crystaldeci To:
"'[EMAIL PROTECTED]'"
sions.com> <[EMAIL PROTECTED]>
cc: (bcc: David N
Bertoni/CAM/Lotus)
07/23/2001 06:36 AM Subject: RE: Solarix | CC:
Sun WorkShop 6
Please respond to update 1 C++ 5.2 Patch 109508-02
200 1/03/04
xalan-dev
Thanks for that...it seems to have sorted out the original problem but I
still get the following...
ygerna% ./runConfigure -psolaris -ccc -xCC -nsocket
Generating makefiles with the following options ...
Platform: solaris
C Compiler: cc
C++ Compiler: CC
Extra compile options:
Extra link options:
Thread option:
Debug is OFF
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O ) works... yes
checking whether the C compiler (cc -O ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for c++... CC
checking whether the C++ compiler (CC -O ) works... yes
checking whether the C++ compiler (CC -O ) is a cross-compiler... no
checking whether we are using GNU C++... no
checking whether CC accepts -g... yes
checking for a BSD compatible install... ./install-sh -c
checking for autoconf... true
checking for floor in -lm... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for XMLByte... no
checking host system type... sparc-sun-solaris2.8
updating cache ./config.cache
creating ./config.status
creating Makefile
If the result of the above commands look OK to you, go to the directory
/usr4/xmla/xml-xalan/src and type "make" to make the XALAN-C system.
ygerna% ls ~
bin make-3.79 xbuild.sh
xerces-c1_4_0-SolCC
grep make-3.79.tar xerces-c-src1_4_0
xerces-c1_4_0-SolCC.tar
include tar-1.13 xerces-c-src1_4_0.tar
xml-xalan
lib tar-1.13.tar xerces-c-src1_4_0.zip
xml-xerces
ygerna% ~/make-3.79/make
Preparing the directory structure for a build ...
mkdir -p /usr4/xmla/xml-xalan/obj
mkdir -p /usr4/xmla/xml-xalan/lib
mkdir -p /usr4/xmla/xml-xalan/bin
CC -O -KPIC -mt -xs -ptr/usr4/xmla/xml-xalan/obj -features=rtti -DSOLARIS
-D_REENTRANT -I/stlport -c -I. -I/usr4/xmla/xerces-c-src1_4_0/src/
-I/usr4/xmla/xerces-c-src1_4_0/include/ -o
/usr4/xmla/xml-xalan/obj/XalanAttr.o XalanDOM/XalanAttr.cpp
"./XalanDOM/XalanDOMString.hpp", line 88: Error: Use ";" to terminate
declarations.
"./XalanDOM/XalanDOMString.hpp", line 89: Error: Use ";" to terminate
declarations.
"./XalanDOM/XalanDOMString.hpp", line 89: Warning (Anachronism): Using
vector as a template without a declaration.
"./XalanDOM/XalanDOMString.hpp", line 90: Warning (Anachronism): Using
vector as a template without a declaration.
"./XalanDOM/XalanDOMString.hpp", line 101: Error: XalanDOMCharVectorType is
not defined.
"./XalanDOM/XalanDOMString.hpp", line 101: Error: size_type is not defined.
"./XalanDOM/XalanDOMString.hpp", line 103: Error: XalanDOMCharVectorType is
not defined.
"./XalanDOM/XalanDOMString.hpp", line 103: Error: iterator is not defined.
"./XalanDOM/XalanDOMString.hpp", line 104: Error: XalanDOMCharVectorType is
not defined.
"./XalanDOM/XalanDOMString.hpp", line 104: Error: const_iterator is not
defined.
"./XalanDOM/XalanDOMString.hpp", line 105: Error: XalanDOMCharVectorType is
not defined.
"./XalanDOM/XalanDOMString.hpp", line 105: Error: reverse_iterator is not
defined.
"./XalanDOM/XalanDOMString.hpp", line 106: Error: XalanDOMCharVectorType is
not defined.
"./XalanDOM/XalanDOMString.hpp", line 106: Error: const_reverse_iterator is
not defined.
"./XalanDOM/XalanDOMString.hpp", line 633: Error:
XalanDOMString::insert(int, int, unsigned short), returning void, was
previously declared returning XalanDOMString&.
"./XalanDOM/XalanDOMString.hpp", line 837: Error: Type name expected
instead
of "XalanDOMCharVectorType".
"./XalanDOM/XalanDOMString.hpp", line 159: Error: int is not a structure
type.
"./XalanDOM/XalanDOMString.hpp", line 161: Error: Pointer type needed
instead of int.
"./XalanDOM/XalanDOMString.hpp", line 162: Error: Pointer type needed
instead of int.
"./XalanDOM/XalanDOMString.hpp", line 178: Error: int is not a structure
type.
"./XalanDOM/XalanDOMString.hpp", line 186: Error: const int is not a
structure type.
"./XalanDOM/XalanDOMString.hpp", line 194: Error: int is not a structure
type.
"./XalanDOM/XalanDOMString.hpp", line 202: Error: const int is not a
structure type.
"./XalanDOM/XalanDOMString.hpp", line 213: Error: const int is not a
structure type.
"./XalanDOM/XalanDOMString.hpp", line 213: Error: const int is not a
structure type.
"./XalanDOM/XalanDOMString.hpp", line 246: Error: int is not a structure
type.
"./XalanDOM/XalanDOMString.hpp", line 253: Error: int is not a structure
type.
Compilation aborted, too many Error messages.
make: *** [/usr4/xmla/xml-xalan/obj/XalanAttr.o] Error 1
ygerna%
Martin
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 20 July 2001 17:05
To: [EMAIL PROTECTED]
Subject: Re: Solarix | CC: Sun WorkShop 6 update 1 C++ 5.2 Patch
109508-02 200 1/03/04
You do not need the STLport for that version of the compiler. Comment out
the STLport stuff from SolarisDefinitions.hpp.
Dave
Martin Waller
<martin.waller@crystaldeci To:
"'[EMAIL PROTECTED]'"
sions.com>
<[EMAIL PROTECTED]>
cc: (bcc: David N
Bertoni/CAM/Lotus)
07/20/2001 06:00 AM Subject: Solarix
| CC: Sun WorkShop 6 update 1
Please respond to C++ 5.2 Patch
109508-02 200 1/03/04
xalan-dev
Hello,
Does anyone have experiance of building Xalan with the above C++
compiler...the builds I have here seem to be failing very early on with...
Preparing the directory structure for a build ...
mkdir -p /usr4/xmla/xml-xalan/obj
mkdir -p /usr4/xmla/xml-xalan/lib
mkdir -p /usr4/xmla/xml-xalan/bin
CC -O -KPIC -mt -xs -ptr/usr4/xmla/xml-xalan/obj -features=rtti -DSOLARIS
-D_REENTRANT -I/stlport -c -I. -I/usr4/xmla/xerces-c-src1_4_0/src/
-I/usr4/xmla/xerces-c-src1_4_0/include/ -o
/usr4/xmla/xml-xalan/obj/XalanAttr.o XalanDOM/XalanAttr.cpp
"./Include/SolarisDefinitions.hpp", line 102: Error: Could not open include
file <stl/_config.h>.
...
Compilation aborted, too many Error messages.
make: *** [/usr4/xmla/xml-xalan/obj/XalanAttr.o] Error 1
Many thanks...
Martin