I've got the latest version number (134.0).  I installed poker-eval-134.0.
I didn't install  poker-engine though, I assumed it wasn't necessary for
poker-eval to work.

I noticed that with cygwin, /usr/lib is a symbolic link not a directory, I
haven't a clue whether that can cause a problem.
I'll try to build it with mingw, maybe it is easier. I'll coment out the
lines you say from the file ccpython.m4. Do I need to comment these lines
out of the configure file also?

Thanks again.



On 7/25/07, Loic Dachary <[EMAIL PROTECTED]> wrote:

"bar tomas" <[EMAIL PROTECTED]> writes:

>    Hi,
>    thanks for your email.
>    I tried commenting out the 2 lines you mention in the ccpython.m4
>    file and then ran configure and make again, but when I run make I
>    still get the errors due to undefined references.
>    .libs/_pokereval_2_3_la-pypokereval.o:pypokereval.c:(.text+0x3e83):
>    undefined reference to `__imp__PyList_Type'
>    .libs/_pokereval_2_3_la-pypokereval.o:pypokereval.c:(.text+0x3e93):
>    undefined reference to `_PyType_IsSubtype'
>    .libs/_pokereval_2_3_la-pypokereval.o:pypokereval.c:(.text+0x3ea6):
>    undefined reference to `_PyList_Size'
>    ...etc
>    Then I tried taking the last gcc compilation line before the errors
>    and added the link flag -lpython2.5 like this, and I run just this
>    command:

     Weird.

>    $ gcc -shared  .libs/_pokereval_2_3_la-pypokereval.o  -lpython2.5
>    -L/usr/local/lib /usr/local/lib/libpoker-eval.dll.a  -o
>    .libs/_pokereval_2_3-1.dll -Wl,--enable-auto-image-base -Xlinker
>    --out-implib -Xlinker .libs/_pokereval_2_3.dll.a
>    and then I get the following output, the references seem to get
>    resolved:
>    Info: resolving _nBitsTable by linking to __imp__nBitsTable
>    (auto-import)
>    Info: resolving _straightTable by linking to __imp__straightTable
>    (auto-import)
>    Info: resolving _topFiveCardsTable by linking to
>    __imp__topFiveCardsTable (auto-import)
>    Info: resolving _topCardTable by linking to __imp__topCardTable
>    (auto-import)
>    Info: resolving _StdDeck_cardMasksTable by linking to
>    __imp__StdDeck_cardMasksTable (auto-import)
>    Info: resolving _bottomFiveCardsTable by linking to
>    __imp__bottomFiveCardsTable (auto-import)
>    Info: resolving _bottomCardTable by linking to __imp__bottomCardTable
>    (auto-import)
>    Info: resolving _StdDeck by linking to __imp__StdDeck (auto-import)
>    Info: resolving _StdRules_handTypeNames by linking to
>    __imp__StdRules_handTypeNames (auto-import)
>    Info: resolving _StdRules_nSigCards by linking to
>    __imp__StdRules_nSigCards (auto-import)
>    Creating library file: .libs/_pokereval_2_3.dll.a
>    But I 'm not sure if this really solves the whole problem, and how to
>    change the configure file so that the flag is added automatically.
>    Thanks a lot.

     That's a completly different issue.

     And suddenly I saw the light : I bet your are using a real old
version
of pypoker-eval. The latest is

http://download.gna.org/pokersource/sources/poker-eval-134.0.tar.gz
http://download.gna.org/pokersource/sources/pypoker-eval-134.0.tar.gz

     In this latest version you still need to comment out the lines
in ccpython.m4.

     Which version do you have ?

     Cheers,

--
+33 1 76 60 72 81  Loic Dachary mailto:[EMAIL PROTECTED]
http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED]
Latitude: 48.86962325498033 Longitude: 2.3623046278953552

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to