The following comment has been added to this issue:
Author: David Bertoni
Created: Mon, 16 Aug 2004 9:30 AM
Body:
This is really an ICU issue, so you will get a much faster response if you post to the
ICU mailing list.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/XERCESC-1254?page=comments#action_37296
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESC-1254
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESC-1254
Summary: build on cygwin, with icu. erorr: conflicting types for `typedef int
uint32_t'
Type: Bug
Status: Unassigned
Priority: Major
Project: Xerces-C++
Components:
Build
Versions:
2.5.0
Assignee:
Reporter: MIchele Paoli
Created: Mon, 16 Aug 2004 6:59 AM
Updated: Mon, 16 Aug 2004 9:30 AM
Environment: cygwin 1.5.10-3
gcc 3.3.3-1
icu 3.0
Description:
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
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]