logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandru Zbârcea <zbarce...@gmail.com>
Subject Re: faild to build log4cxx => undefinde reference to `_imp__apr_xml_parse_file@20'
Date Mon, 08 Jul 2013 13:16:12 GMT
Ervin, what env(OS and ver) do you use?

Do you compile using autotools?
On 8 Jul 2013 11:43, "Ervin Bajramovic" <eb@aquasant-mt.com> wrote:

> Hi all****
>
> ** **
>
> i am  trying to build log4cxx with mingw on windows xp, but i got this
> error:****
>
> ** **
>
> g++ -g -O2 -o trivial.exe trivial.o  -L/usr/local/apr/lib -L/usr/local/lib
> -lshe****
>
> ll32 -ladvapi32 ../../../src/main/cpp/.libs/liblog4cxx.a
> /usr/local/apr/lib/liba****
>
> prutil-1.a /usr/local/lib/libexpat.dll.a /usr/local/apr/lib/libapr-1.a
> -lws2_32****
>
> -lrpcrt4 -lmswsock -L/usr/local/lib -L/usr/local/lib****
>
> ../../../src/main/cpp/.libs/liblog4cxx.a(domconfigurator.o): In function
> `ZN7log****
>
>
> 4cxx3xml15DOMConfigurator11doConfigureERKNS_4FileERNS_7helpers10ObjectPtrTINS_3s
> ****
>
> pi16LoggerRepositoryEEE':****
>
>
> C:\MinGW\msys\1.0\src\apache-log4cxx-0.10.0\src\main\cpp/domconfigurator.cpp:724
> ****
>
> : undefined reference to `_imp__apr_xml_parse_file@20'****
>
>
> C:\MinGW\msys\1.0\src\apache-log4cxx-0.10.0\src\main\cpp/domconfigurator.cpp:733
> ****
>
> : undefined reference to `_imp__apr_xml_parser_geterror@12'****
>
> collect2: ld gab 1 als Ende-Status zurück****
>
> make[3]: *** [trivial.exe] Error 1****
>
> make[3]: Leaving directory `/src/apache-log4cxx-0.10.0/src/examples/cpp'**
> **
>
> make[2]: *** [all-recursive] Error 1****
>
> make[2]: Leaving directory `/src/apache-log4cxx-0.10.0/src/examples'****
>
> make[1]: *** [all-recursive] Error 1****
>
> make[1]: Leaving directory `/src/apache-log4cxx-0.10.0/src'****
>
> make: *** [all-recursive] Error 1****
>
> ** **
>
> Any thoughts on what is going wrong.****
>
> ** **
>
> Regards ****
>
> Ervin****
>

Mime
View raw message