Hi Pedro Thanks for your tip. An apr developer has written to me " some support for shared MinGW builds that affects APR-Util is in APR 1.5.x (unreleased) but not APR 1.4.x ". so i checked apr-1.5.x out and it worked...
here the complete way for mingw users: cd expat-2.1.0 ./configure make && make install cd .. svn co http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x/ apr-1.5.x cd apr-1.5.x ./buildconf ./configure make && make install cd .. cd apr-util-1.5.2 ./configure --with-apr=/local/apr --with-expat=/local make && make install cd .. cd apache-log4cxx-0.10.0 ./configure --with-apr=/local/apr --with-apr-util=/local/apr make there are some errors were string.h or cstdio.h must bi included in src/main/cpp/inputstreamreader.cpp, src/main/cpp/socketoutputstream.cpp, src/main/logger.cpp make install cd .. Thanks for your help Regards Ervin -----Ursprüngliche Nachricht----- Von: Pedro Lamarão [mailto:pedro.lama...@prodist.com.br] Gesendet: Mittwoch, 10. Juli 2013 15:38 An: Log4CXX User Betreff: Re: faild to build log4cxx => undefinde reference to `_imp__apr_xml_parse_file@20' Em 10/07/2013 03:04, Ervin Bajramovic escreveu: > cd apr-1.4.8 > cd apr-util-1.5.2 Hm... Can you mix apr 1.4 with apr-util 1.5? Anyway, we build log4cxx with apr-util 1.4. Have you tried that version? -- Pedro Lamarão Rosa e Silva Prodist Technologies http://www.prodist.com.br/ "Securing Transaction Systems" Tel.: (21) 4062-7188