Aleksey Dobrunov created XERCESC-2006:
-----------------------------------------
Summary: build xerces-c with icu on mingw gcc 4.7.2
Key: XERCESC-2006
URL: https://issues.apache.org/jira/browse/XERCESC-2006
Project: Xerces-C++
Issue Type: Bug
Environment: mingw
icu 5 from trunk
xerces-c from trunk
gcc 4.7.2
Reporter: Aleksey Dobrunov
i am trying build xerces-c with icu
reconf
./configure --enable-transcoder-icu --enable-msgloader-icu --disable-network
in the end
configure:21971: Report:
configure:21973: File Manager: Windows
configure:21975: Mutex Manager: Windows
configure:21977: Transcoder: windows
configure:21979: NetAccessor: disabled
configure:21981: Message Loader: inmemory
in config.log
configure:18085: checking for ucnv_open in -licuuc
configure:18103: g++ -o conftest.exe -O2 -mthreads -I/icu1/include
-lpthread -lm -L/icu1/lib -licui18n -licuuc -licudata -lpthread -lm
conftest.cpp >&5
C:\Users\ALEKSE~1.DOB\AppData\Local\Temp\ccg1wi5K.o:conftest.cpp:(.text.startup+0x1e):
undefined reference to `ucnv_open_51'
collect2.exe: error: ld returned 1 exit status
This error occurs because conftest.cpp specified later runtime libraries on
which it depends.
this command work fine
g++ -o conftest.exe -O2 conftest.cpp -mthreads -I/icu1/include -lpthread
-lm -L/icu1/lib -licui18n -licuuc -licudata -lpthread -lm
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]