You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Tetsuya KOSUGE <ko...@accelatech.com> on 2001/08/01 09:48:37 UTC

build problem on Solaris 2.6

Hi

I'm trying to rebuild the Xalan-C++ 1.1 on Solaris 2.6, bat there are
some problems. When CC includes the STLport header "stl/_deque.h",
encouters some errors like this:

----------------------------------------------------------------------
CC -O -KPIC -mt -xs -ptr/..../xml-xalan/c/obj -features=rtti -DSOLARIS
-D_REENTRANT -I/..../STLport-4.0/stlport -c -I. -I/..../xml-xerces/c/src/
-I/..../xml-xerces/c/include/ -o /..../xml-xalan/c/obj/DOMSupportDefault.o
DOMSupport/DOMSupportDefault.cpp

"/..../STLport-4.0/stlport/stl/_deque.h", line 369:
 Error: "," expected instead of "_Tp".
"/..../STLport-4.0/stlport/stl/_deque.h", line 369:
 Error: Type name expected instead of "_Tp".
"/..../STLport-4.0/stlport/stl/_deque.h", line 369:
 Error: "," expected instead of "_Tp".
"/..../STLport-4.0/stlport/stl/_deque.h", line 369:
 Error: _Tp is not defined.
"/..../STLport-4.0/stlport/stl/_deque.h", line 369:
 Error: Illegal value for template parameter.
"/..../STLport-4.0/stlport/stl/_deque.h", line 369:
 Error: _Alloc is not defined.
"/..../STLport-4.0/stlport/stl/_deque.h", line 369:
 Error: Illegal value for template parameter.
"/..../STLport-4.0/stlport/stl/_deque.h", line 369:
 Error: Too many arguments for template map.
"/..../STLport-4.0/stlport/stl/_deque.h", line 369:
 Error: Too many arguments for template map.
"/..../STLport-4.0/stlport/stl/_deque.h", line 369:
 Error: "," expected instead of "allocator_type".
----------------------------------------------------------------------

Do I need other compile options or definitions?

Advice please,
Thanks.


OS version: Solaris 2.6
CC version: WorkShop Compilers 4.2.1 04 Feb 1997 C++ 4.2.1
STLport version: 4.0(compiled on same environment)
Xalan version: C++ 1.1

--
Tetsuya Kosuge  kosuge@accelatech.com