In JDK 1.6, java.nio.ByteBuffer has two methods differing only in return type (this is allowed).
The C to Java bindings stuff does not include the return type in the generated name, causing "duplicate array member" compilation errors.
I've attached two patches:
jdk16.patch - fix this bug
linux-patch - fix a couple of warnings on Linux
FYI, I'm building this in the openSUSE build...
The attached patch fixes a couple of things:
1. Some build fixes for SuSE x86-64
2. Bug in xast_log() causes format parameters to be ignored
3. Broken call to memset() (reversed parameters).