[ https://issues.apache.org/jira/browse/LOGCXX-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thorsten Schöning resolved LOGCXX-326. -------------------------------------- Resolution: Fixed LOGCXX-424 should have fixed this on trunk I guess. > link error: undefined reference to `apr_os_locale_encoding' using > --with-charset=utf-8 > -------------------------------------------------------------------------------------- > > Key: LOGCXX-326 > URL: https://issues.apache.org/jira/browse/LOGCXX-326 > Project: Log4cxx > Issue Type: Bug > Components: Tests > Affects Versions: 0.10.0 > Environment: ubuntu 8.04 > gcc 4.2.3 > g++ 4.2.3 > Reporter: YangNing > Assignee: Curt Arnold > Fix For: 0.10.0 > > Original Estimate: 72h > Remaining Estimate: 72h > > I build log4cxx: > ./configure --with-charset=utf-8 > make > make install > build liblog4cxx.a OK. > When I use t liblog4cxx.a to test, compile failed. Link error: > /home/yangning/myproject/log4cxx/apr-util-1.3.4/xlate/xlate.c 75 undefined > reference to `apr_os_locale_encoding' > /home/yangning/myproject/log4cxx/apr-util-1.3.4/xlate/xlate.c 72 undefined > reference to `apr_os_default_encoding' > If I build log4cxx without '--with-charset=utf-8',it work OK. -- This message was sent by Atlassian JIRA (v6.1.5#6160)