You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Matiu Virgiliu Bogdan <bm...@dynasty.com> on 2001/06/26 17:20:44 UTC

Help, Build XalanC1_1 samples on Solaris,

system
SunOS lab4sun 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-5_10

compiler
Sun WorkShop Compiler C++ (CC) 5.0

STLport4.0 with #define __STL_NO_SGI_IOSTREAMS

If I want to compile :
gmake SimpleTransform


CC -O   -I/work/bmatiu/build/STL/stlport/SC5 -KPIC -mt -xs
-ptr/work/bmatiu/build/xml-xalan/c/obj -features=rtti -DSOLARIS
-D_REENTRANT   -c -I. -I/work/bmatiu/build/xerces-c1_4_0-SolCC/src/
-I/work/bmatiu/build/xerces-c1_4_0-SolCC/include/   -o
/work/bmatiu/build/xml-xalan/c/obj/SimpleTransform.o
/work/bmatiu/build/xml-xalan/c/samples/SimpleTransform/SimpleTransform.cpp



I have this ERRORS :
"/work/bmatiu/build/STL/stlport/SC5/stl/_vector.h", line 92: Error: The
base "_S
TL::_Vector_base<ReusableArenaBlock<XNodeSet>*, _STL::_Alloc>" must be a
previou
sly defined class or struct.
"./PlatformSupport/ArenaAllocator.hpp", line 215:     Where: While
specializing
"_STL::vector<ReusableArenaBlock<XNodeSet>*>".
"./PlatformSupport/ArenaAllocator.hpp", line 215:     Where: Specialized
in Aren
aAllocator<XNodeSet, ReusableArenaBlock<XNodeSet>>.
"./PlatformSupport/ReusableArenaAllocator.hpp", line 76:     Where:
Specialized
in ReusableArenaAllocator<XNodeSet>.
"./XPath/XNodeSetAllocator.hpp", line 85:     Where: Specialized in
non-template
 code.
"/work/bmatiu/build/STL/stlport/SC5/stl/_vector.h", line 111: Error:
allocator_t
ype is not a member of _STL::_Vector_base<ReusableArenaBlock<XNodeSet>*,
_STL::_
Alloc>.

If someone have an ideea or he ported Xalan on Solaris, I really
appreciate an advise.

Thanks,
Bogdan



RE: Help, Build XalanC1_1 samples on Solaris,

Posted by Rene Chan <rc...@inktomi.com>.
Hi

You might want to search on the mail list archive, I believe this subject
was discussed before.

rene

> -----Original Message-----
> From: Matiu Virgiliu Bogdan [mailto:bmatiu@dynasty.com]
> Sent: Tuesday, June 26, 2001 8:21 AM
> To: xalan-dev@xml.apache.org
> Subject: Help, Build XalanC1_1 samples on Solaris,
>
>
> system
> SunOS lab4sun 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-5_10
>
> compiler
> Sun WorkShop Compiler C++ (CC) 5.0
>
> STLport4.0 with #define __STL_NO_SGI_IOSTREAMS
>
> If I want to compile :
> gmake SimpleTransform
>
>
> CC -O   -I/work/bmatiu/build/STL/stlport/SC5 -KPIC -mt -xs
> -ptr/work/bmatiu/build/xml-xalan/c/obj -features=rtti -DSOLARIS
> -D_REENTRANT   -c -I. -I/work/bmatiu/build/xerces-c1_4_0-SolCC/src/
> -I/work/bmatiu/build/xerces-c1_4_0-SolCC/include/   -o
> /work/bmatiu/build/xml-xalan/c/obj/SimpleTransform.o
> /work/bmatiu/build/xml-xalan/c/samples/SimpleTransform/SimpleTransform.cpp
>
>
>
> I have this ERRORS :
> "/work/bmatiu/build/STL/stlport/SC5/stl/_vector.h", line 92: Error: The
> base "_S
> TL::_Vector_base<ReusableArenaBlock<XNodeSet>*, _STL::_Alloc>" must be a
> previou
> sly defined class or struct.
> "./PlatformSupport/ArenaAllocator.hpp", line 215:     Where: While
> specializing
> "_STL::vector<ReusableArenaBlock<XNodeSet>*>".
> "./PlatformSupport/ArenaAllocator.hpp", line 215:     Where: Specialized
> in Aren
> aAllocator<XNodeSet, ReusableArenaBlock<XNodeSet>>.
> "./PlatformSupport/ReusableArenaAllocator.hpp", line 76:     Where:
> Specialized
> in ReusableArenaAllocator<XNodeSet>.
> "./XPath/XNodeSetAllocator.hpp", line 85:     Where: Specialized in
> non-template
>  code.
> "/work/bmatiu/build/STL/stlport/SC5/stl/_vector.h", line 111: Error:
> allocator_t
> ype is not a member of _STL::_Vector_base<ReusableArenaBlock<XNodeSet>*,
> _STL::_
> Alloc>.
>
> If someone have an ideea or he ported Xalan on Solaris, I really
> appreciate an advise.
>
> Thanks,
> Bogdan
>
>