[
https://issues.apache.org/jira/browse/XERCESC-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Boris Kolpackov closed XERCESC-1254.
------------------------------------
Resolution: Fixed
Fix Version/s: 3.0.1
Presumably fixed in 3.0.1 and/or later ICU versions.
> build on cygwin, with icu. erorr: conflicting types for `typedef int uint32_t'
> ------------------------------------------------------------------------------
>
> Key: XERCESC-1254
> URL: https://issues.apache.org/jira/browse/XERCESC-1254
> Project: Xerces-C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 2.5.0
> Environment: cygwin 1.5.10-3
> gcc 3.3.3-1
> icu 3.0
> Reporter: MIchele Paoli
> Fix For: 3.0.1
>
>
> during compilation I get this error:
> make[3]: Entering directory
> `/usr/src/xerces-c-src_2_5_0/src/xercesc/util/Platforms/Win32'
> mkdir -p /usr/src/xerces-c-src_2_5_0/include/xercesc/util/Platforms/Win32
> cp -fp Win32Defs.hpp
> /usr/src/xerces-c-src_2_5_0/include/xercesc/util/Platforms/Win32
> g++ -D__CYGWIN__ -I/usr/include -I/usr/include/w32api -c
> -I/usr/src/xerces-c-src_2_5_0/include -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL
> -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS
> -DXML_USE_ICU_TRANSCODER -I/usr/src/icu//include -DXML_USE_ICU_MESSAGELOADER
> -I/usr/src/icu//include -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET
> -D_GNU_SOURCE -D__USE_GNU -D__CYGWIN__ -o
> /usr/src/xerces-c-src_2_5_0/obj/CYGWIN/Win32PlatformUtils.o
> Win32PlatformUtils.cpp
> In file included from /usr/local/include/unicode/umachine.h:45,
> from /usr/local/include/unicode/utypes.h:36,
> from /usr/local/include/unicode/ures.h:26,
> from
> /usr/src/xerces-c-src_2_5_0/include/xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp:114,
> from Win32PlatformUtils.cpp:110:
> /usr/local/include/unicode/pwin32.h:122: error: conflicting types for
> `typedef
> int int32_t'
> /usr/include/stdint.h:20: error: previous declaration as `typedef long int
> int32_t'
> /usr/local/include/unicode/pwin32.h:126: error: conflicting types for
> `typedef
> unsigned int uint32_t'
> /usr/include/stdint.h:28: error: previous declaration as `typedef long
> unsigned
> int uint32_t'
> make[3]: *** [Win32PlatformUtils.o] Error 1
> make[3]: Leaving directory
> `/usr/src/xerces-c-src_2_5_0/src/xercesc/util/Platforms/Win32'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/usr/src/xerces-c-src_2_5_0/src/xercesc/util/Platforms'
> make[1]: *** [platforms] Error 2
> make[1]: Leaving directory `/usr/src/xerces-c-src_2_5_0/src/xercesc/util'
> make: *** [Util] Error 2
> My previous step:
> 1) I compile icu in cygwin
> 502 cd icu
> 503 cd source/
> 506 ./runConfigureICU Cygwin
> 510 make
> 511 make install
> 2) I try to compile xerces with icu, without success
> 527 cd xerces-c-src_2_5_0/
> 528 export XERCESCROOT=$(pwd)
> 529 export ICUROOT=/usr/src/icu/
> 533 ./runConfigure -pcygwin -cgcc -xg++ -micu -nsocket -ticu -rpthread
> 534 make
> Thank every body in advance...
> Michele
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]