2011/4/13 Jaroslav Fikker <fik...@atlas.cz>: > > You are right - my java is 32bit. So that is the probelm in compilation of > APR? >
Java byte code is agnostic to CPU architecture, but native code should be for the same architecture as the Java runtime that loads it. You should either use 64-bit JRE with 64-bit library, or recompile the library as 32-bit. (*) Whether there are benefits in using 64-bit Java is a separate question. (*) I have never tried to build 32-bit apps on 64-bit Linux. Looking at what is written elsewhere my guess would be: CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 ./configure Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org