I'm trying to compile poker-eval-src-121 under Windows (cygwin/gcc/Sun's Windows JDK 1.5) in order to use it from JNI.
I've worked around renaming the packages from .enum. to .enumerate. and redefining jlong in jni_md.h: #ifdef __GNUC__ typedef long long jlong; #else typedef __int64 jlong; #endif Now I'm getting the following errors: cc -shared -L../lib -lpoker -o ../lib/libpokerjni.so org/pokersource/eval/StandardEvalImp.o org/pokersource/eval/JokerEvalImp.o org/pokersource/eval/AsianStudEvalImp.o org/pokersource/enumerate/EnumerateImp.o jniutil.o pokutil.o org/pokersource/eval/StandardEvalImp.o:StandardEvalImp.c:(.text+0xdf): undefined reference to `_nBitsTable' org/pokersource/eval/StandardEvalImp.o:StandardEvalImp.c:(.text+0x102): undefined reference to `_nBitsTable' org/pokersource/eval/StandardEvalImp.o:StandardEvalImp.c:(.text+0x10f): undefined reference to `_straightTable' .... and so forth Can anyone suggest any solutions or perhaps just publish the compiled .dlls? Best regards, Juris.
_______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
