> Hi Vladimir !

Hi,

> Can you check the version number of ICU  you use ?

Oh, I'm sorry, I forgot to include versions of the libraries. Xalan 1.6,
Xerces 2.3.0, icu 2.6. Where should I see the namespace exactly ?

> With Xalan 1.6 and Xerces 2.3 you should see ICU namespace like : "icu_2_4"

Vladimir
> 
> Dmitry
> 
> 
> 
> 
> 
> 
> |---------+---------------------------->
> |         |           Vladimir Marek   |
> |         |           <[EMAIL PROTECTED]|
> |         |           cz>              |
> |         |                            |
> |         |           10/21/2003 02:22 |
> |         |           PM               |
> |         |           Please respond to|
> |         |           xalan-dev        |
> |         |                            |
> |---------+---------------------------->
>   
> >------------------------------------------------------------------------------------------------------------------------------|
>   |                                                                                  
>                                             |
>   |       To:       [EMAIL PROTECTED]                                                
>                                      |
>   |       cc:                                                                        
>                                             |
>   |       Subject:  xalan + icu + solaris - unistr.h                                 
>                                             |
>   |                                                                                  
>                                             |
>   
> >------------------------------------------------------------------------------------------------------------------------------|
> 
> 
> 
> 
> Hello,
> 
> I encountered problem compiling xalan on solaris:
> 
> g++ -m64 -mcpu=ultrasparc -DNDEBUG -I/press_mnt1/Vlada/icu/include
> -DXML_BITSTOBUILD_64    -fno-elide-constructors -Wall -fPIC -DSOLARIS
> -D_REENTRANT -DXALAN_USE_ICU -c -I/press_mnt1/Vlada/xml-xalan/c/src
> -I/press_mnt1/Vlada/icu/include/ -I.
> -I/press_mnt1/Vlada/xerces-c-src_2_3_0/src/
> -I/press_mnt1/Vlada/xerces-c-src_2_3_0/include/xercesc
> -I/press_mnt1/Vlada/xerces-c-src_2_3_0/include/  -o
> /press_mnt1/Vlada/xml-xalan/c/obj/ICUBridgeCollationCompareFunctorImpl.o
> /press_mnt1/Vlada/xml-xalan/c/src/xalanc/ICUBridge/ICUBridgeCollationCompareFunctorImpl.cpp
> 
> In file included from /usr/include/unicode/normlzr.h:13,
>                  from coll.h:48,
>                  from
> /press_mnt1/Vlada/xml-xalan/c/src/xalanc/ICUBridge/ICUBridgeCollationCompareFunctorImpl.hpp:76,
> 
>                  from
> /press_mnt1/Vlada/xml-xalan/c/src/xalanc/ICUBridge/ICUBridgeCollationCompareFunctorImpl.cpp:58:
> 
> /usr/include/unicode/unistr.h: In function `void uprv_arrayCopy(const
>    icu_2::UnicodeString*, int, icu_2::UnicodeString*, int, int)':
> /usr/include/unicode/unistr.h:2961: error: declaration of C function
> `void
>    uprv_arrayCopy(const icu_2::UnicodeString*, int,
> icu_2::UnicodeString*, int,
>    int)' conflicts with
> /usr/include/unicode/unistr.h:2956: error: previous declaration `void
>    uprv_arrayCopy(const icu_2::UnicodeString*, icu_2::UnicodeString*,
> int)'
>    here
> [...]
> 
> This might not be exactly problem of xalan, I know, but I hope that I am
> not the only one who is/was fighting with this.
> 
> System specs:
> 
> uname -a:
> SunOS hkpress1 5.9 Generic_112233-05 sun4u sparc SUNW,Sun-Fire-480R
> 
> gcc --version
> gcc (GCC) 3.3
> 
> runscript:
> ./runConfigure -p solaris -t icu -x g++ -c gcc -b 64 -l -m64 -z -m64 -z
> -mcpu=ultrasparc -C --prefix=/press_mnt1/Vlada/xalan-build
> (plus 'export XALAN_USE_ICU=1' and XALAN, XERCES and ICU roots exported
> too)
> 
> Everything compiled 64bit, but I don't think it has anything to do with
> this.
> 
> As this seems to be rather out-of-xalan problem, I would be grateful for
> any hint.
> 
> Thank you,
>              Vladimir Marek

Reply via email to