> It'd be helpful if you could provide more of a stack.
>
> At any rate it looks like the problem is likely within jna-posix; first of all it's not degrading gracefully, and probably incorrectly. Only a JNA client can generate the calling convention error; JNA will not do so internally.
Timothy,
I found something.
The jna-jar shipped with gradle contains a libjnidispatch.so under
freebsd-i386 that does not work on my system.
If I compile jna on my system and use that libjnidispatch.so
everything is OK.
Do you want me to create an issue?
Thanks
Zsolt