Janis Nazitis writes:
> 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?
Sources: http://download.gna.org/pokersource/sources/?M=D
Binaries: http://pokersource.info/developers/index.php
Windows binary:
http://pokersource.info/packaging-farm/poker-eval/windows/windows/xp/
--
+33 1 76 60 72 81 Loic Dachary mailto:[EMAIL PROTECTED]
http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED]
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users