AW: [NEWSENDER] - Re: faild to compile apr-util for log4cxx on Windows with Mingw

2013-07-08 Thread Ervin Bajramovic
Hi Wes Thanks for your offer, i tried it with a few years old version of log4cxx and i got a lot of linker errors... so i think i could have the same problems with your log4cxx library (different gcc version). I could fix the apr-util problem with some help of a friend. Adding the flag -DAPU_

faild to build log4cxx => undefinde reference to `_imp__apr_xml_parse_file@20'

2013-07-08 Thread Ervin Bajramovic
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 /

Re: faild to build log4cxx => undefinde reference to `_imp__apr_xml_parse_file@20'

2013-07-08 Thread Alexandru Zbârcea
It seems it can' find reference to apr. Try to build apr, or use the flag no-apr. On 8 Jul 2013 11:43, "Ervin Bajramovic" 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

Re: faild to build log4cxx => undefinde reference to `_imp__apr_xml_parse_file@20'

2013-07-08 Thread Alexandru Zbârcea
Ervin, what env(OS and ver) do you use? Do you compile using autotools? On 8 Jul 2013 11:43, "Ervin Bajramovic" 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/ap