@related: CPU AMD 64 64bits

java

wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)

http://forums.sun.com/thread.jspa?messageID=10403593

solution : chroot

misc

-	Check32Bits: Forcing generation of 32-bit binaries (--try-64 to disable) 
-	not using gcc for LD 	+	
-	CC        : compiler check ok (gcc) 	+	
-	Linker doesn't seem to work: 	+	
-	/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/libgcc.a when searching for -lgcc 	+	
-	/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/libgcc.a when searching for -lgcc 	+	
-	/usr/bin/ld: cannot find -lgcc 	+	
-	collect2: ld returned 1 exit status 	+	
-	ERROR: could not build SDL library	+	
			

fixed with -m32