You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Aleksey Dobrunov (JIRA)" <xe...@xml.apache.org> on 2013/05/08 11:59:20 UTC

[jira] [Commented] (XERCESC-2006) build xerces-c with icu on mingw gcc 4.7.2

    [ https://issues.apache.org/jira/browse/XERCESC-2006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651756#comment-13651756 ] 

Aleksey Dobrunov commented on XERCESC-2006:
-------------------------------------------

checked. all is well
                
> 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
>            Assignee: Alberto Massari
>             Fix For: 3.2.0
>
>         Attachments: xerces_icu_prefix.m4.diff
>
>
> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org