Hello Loic,

Thank you for the express answer.

I downloaded the latest poker sources as you
suggested, both 132.0  -- for "poker-eval" and
"PYpoker-eval". 

Alas, this time I could not even "make" the
"poker-eval". There is some problem with the
"-I"(include) option of the gcc for the mktab_*.c
files, while the others -- deck*.c, enum*.c,
rules_*.c, go well (attached you'll find the console
output of the "make" on Cygwin). From the "Makefile"
and the "libtool" files I could not understood how is
that possible.

I tried also the last but one (131.0) version of the
"poker-eval" -- same problem. I succeded previously
with 129.0, as I wrote you (all in Cygwin, not MinGW).

Some worlds about the "PYpoker-eval" problem from my
previous mail -- "linker path does not have real file
for library -lpython2.4",  when trying to "make" it.
In the searched  directory --
/usr/lib/python2.4/config, there is just a
"libpython2.4.dll.a" file. Manual changes in the
"Makefile" did not helped -- I dont know neither what
this "libpython2.4.dll.a" is for, nor what library the
"PYpoker-eval" is searching for (mine is latest
Cygwin).

I took a look at the new (132.0) "PYpoker-eval"
"configure" file and was a bit startled by the fact
that this "-lpython2.4" is hard coded, now and again,
for all 2.3, 2.4 and 2.5 Python versions:

    case $build_os in
      cygwin* | mingw*)
            am_cv_python2_5_linkflags='-lpython2.4' ;;
      *)
            ...
    esac

and for "am_cv_python2_4_linkflags" and
"am_cv_python2_3_linkflags", too. So, I have some gut
feeling that even if I succeed with the "poker-eval",
I'll have the old problem with the "PYpoker-eval" --
Python just not has that, what it is asked for.


Well, continuing the fight :-)
A la guerre, comme a la guerre...

A la votre,

Todor


--- Loic Dachary <[EMAIL PROTECTED]> wrote:

> 
>         Hi,
> 
>         Could you please try with the latest poker
> sources found at
> http://download.gna.org/pokersource/sources/ ? So
> that we are on the
> same line.
> 
>         Also, Thierry Delamare will be able to
> provide you with the
> location of a cygwin package repository where you
> may find binary
> packages.  These packages are slightly outdated but
> updates would be
> welcome.
> 
>         Cheers,
> 
> Todor Petrov writes:
>  > Hello Loic,
>  > 
>  > Would you please help me with the following error
> I
>  > received when trying to "make" the
>  > "pypoker-eval-130.0" on Cygwin:
>  > 
>  > /bin/sh ./libtool --tag=CC --mode=link gcc  -pipe
> -O3
>  > -Wall -Wpointer-arith -Wst
>  > rict-prototypes   -o pypokereval.la -rpath
>  > /usr/local/lib/python2.4/site-package
>  > s -module -no-undefined pypokereval.lo 
>  > -L/usr/lib/python2.4/config -lpython2.4
>  > -L/usr/local/lib -lpoker-eval
>  > 
>  > *** Warning: linker path does not have real file
> for
>  > library -lpython2.4.
>  > *** I have the capability to make that library
>  > automatically link in when
>  > *** you link to this library.  But I can only do
> this
>  > if you have a
>  > *** shared version of the library, which you do
> not
>  > appear to have
>  > *** because I did check the linker path looking
> for a
>  > file starting
>  > *** with libpython2.4 and none of the candidates
>  > passed a file format test
>  > *** using a file magic. Last file checked:
>  > /bin/libpython2.4.dll
>  > 
>  > *** Warning: libtool could not satisfy all
> declared
>  > inter-library
>  > *** dependencies of module pypokereval. 
> Therefore,
>  > libtool will create
>  > *** a static module, that should work as long as
> the
>  > dlopening
>  > *** application is linked with the -dlopen flag.
>  > ar cru .libs/pypokereval.a  pypokereval.o
>  > ranlib .libs/pypokereval.a
>  > creating pypokereval.la
>  > (cd .libs && rm -f pypokereval.la && ln -s
>  > ../pypokereval.la pypokereval.la)
>  > if [ -f .libs/*.so ] ; then \
>  >                 rm -f *.so ; ln -s .libs/*.so . ;
> \
>  >         else \
>  >                 rm -f *.dll ; ln -s .libs/*.dll
>  > pypokereval.dll ; \
>  >         fi
>  > 
>  > I really can not cope with the above. As a matter
> of
>  > fact I had an other problem that may be of
> interest
>  > for you. I could not "./configure" the
>  > "poker-eval-129.0" on MinGW, which I had on my
>  > computer, receiving the error:
>  > 
>  > eval.o(.text+0x2bf):eval.c: variable 'StdDeck'
> can't
>  > be auto-imported. Please read the documentation
> for
>  > ld's --enable-auto-import for details.
>  > eval.o(.text+0x2ed):eval.c: variable
>  > 'StdDeck_cardMasksTable' can't be auto-imported.
>  > Please read the documentation for ld's
>  > --enable-auto-import for details.
>  > eval.o(.text+0x308):eval.c: variable
>  > 'StdDeck_cardMasksTable' can't be auto-imported.
>  > Please read the documentation for ld's
>  > --enable-auto-import for details.
>  > collect2: ld returned 1 exit status
>  > make[1]: *** [eval.exe] Error 1
>  > make[1]: Leaving directory `/pokeval/examples'
>  > make: *** [all-recursive] Error 1
>  > 
>  > Nothing like:
>  > 
>  > ./configure LDFLAGS=--enable-auto-import  or 
>  > ./configure LDFLAGS=--disable-auto-import
>  > 
>  > and many other tries hepled so I installed Cygwin
> and
>  > was successful till the python problem mantioned
>  > above.
>  > 
>  > I would be grateful if you help me, which I do
> not
>  > doubt, so I am thanking you in advance.
>  > 
>  > Best Regards,
>  > 
>  > Todor
> 
> -- 
> +33 1 76 60 72 81  Loic Dachary
> mailto:[EMAIL PROTECTED]
> http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED]
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
$ make
Making all in lib
make[1]: Entering directory `/home/TodorPetrov/ps/poker-eval-132.0/lib'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT combinations.lo -MD -MP -MF ".dep
s/combinations.Tpo" -c -o combinations.lo combinations.c; \
        then mv -f ".deps/combinations.Tpo" ".deps/combinations.Plo"; else rm -f
 ".deps/combinations.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT c
ombinations.lo -MD -MP -MF .deps/combinations.Tpo -c combinations.c  -DPIC -o .l
ibs/combinations.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT c
ombinations.lo -MD -MP -MF .deps/combinations.Tpo -c combinations.c -o combinati
ons.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT deck.lo -MD -MP -MF ".deps/deck.T
po" -c -o deck.lo deck.c; \
        then mv -f ".deps/deck.Tpo" ".deps/deck.Plo"; else rm -f ".deps/deck.Tpo
"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT d
eck.lo -MD -MP -MF .deps/deck.Tpo -c deck.c  -DPIC -o .libs/deck.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT d
eck.lo -MD -MP -MF .deps/deck.Tpo -c deck.c -o deck.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT deck_astud.lo -MD -MP -MF ".deps/
deck_astud.Tpo" -c -o deck_astud.lo deck_astud.c; \
        then mv -f ".deps/deck_astud.Tpo" ".deps/deck_astud.Plo"; else rm -f ".d
eps/deck_astud.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT d
eck_astud.lo -MD -MP -MF .deps/deck_astud.Tpo -c deck_astud.c  -DPIC -o .libs/de
ck_astud.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT d
eck_astud.lo -MD -MP -MF .deps/deck_astud.Tpo -c deck_astud.c -o deck_astud.o >/
dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT deck_joker.lo -MD -MP -MF ".deps/
deck_joker.Tpo" -c -o deck_joker.lo deck_joker.c; \
        then mv -f ".deps/deck_joker.Tpo" ".deps/deck_joker.Plo"; else rm -f ".d
eps/deck_joker.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT d
eck_joker.lo -MD -MP -MF .deps/deck_joker.Tpo -c deck_joker.c  -DPIC -o .libs/de
ck_joker.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT d
eck_joker.lo -MD -MP -MF .deps/deck_joker.Tpo -c deck_joker.c -o deck_joker.o >/
dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT deck_std.lo -MD -MP -MF ".deps/de
ck_std.Tpo" -c -o deck_std.lo deck_std.c; \
        then mv -f ".deps/deck_std.Tpo" ".deps/deck_std.Plo"; else rm -f ".deps/
deck_std.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT d
eck_std.lo -MD -MP -MF .deps/deck_std.Tpo -c deck_std.c  -DPIC -o .libs/deck_std
.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT d
eck_std.lo -MD -MP -MF .deps/deck_std.Tpo -c deck_std.c -o deck_std.o >/dev/null
 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT enumerate.lo -MD -MP -MF ".deps/e
numerate.Tpo" -c -o enumerate.lo enumerate.c; \
        then mv -f ".deps/enumerate.Tpo" ".deps/enumerate.Plo"; else rm -f ".dep
s/enumerate.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT e
numerate.lo -MD -MP -MF .deps/enumerate.Tpo -c enumerate.c  -DPIC -o .libs/enume
rate.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT e
numerate.lo -MD -MP -MF .deps/enumerate.Tpo -c enumerate.c -o enumerate.o >/dev/
null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT enumord.lo -MD -MP -MF ".deps/enu
mord.Tpo" -c -o enumord.lo enumord.c; \
        then mv -f ".deps/enumord.Tpo" ".deps/enumord.Plo"; else rm -f ".deps/en
umord.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT e
numord.lo -MD -MP -MF .deps/enumord.Tpo -c enumord.c  -DPIC -o .libs/enumord.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT e
numord.lo -MD -MP -MF .deps/enumord.Tpo -c enumord.c -o enumord.o >/dev/null 2>&
1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT evx.lo -MD -MP -MF ".deps/evx.Tpo
" -c -o evx.lo evx.c; \
        then mv -f ".deps/evx.Tpo" ".deps/evx.Plo"; else rm -f ".deps/evx.Tpo";
exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT e
vx.lo -MD -MP -MF .deps/evx.Tpo -c evx.c  -DPIC -o .libs/evx.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT e
vx.lo -MD -MP -MF .deps/evx.Tpo -c evx.c -o evx.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT lowball.lo -MD -MP -MF ".deps/low
ball.Tpo" -c -o lowball.lo lowball.c; \
        then mv -f ".deps/lowball.Tpo" ".deps/lowball.Plo"; else rm -f ".deps/lo
wball.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT l
owball.lo -MD -MP -MF .deps/lowball.Tpo -c lowball.c  -DPIC -o .libs/lowball.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT l
owball.lo -MD -MP -MF .deps/lowball.Tpo -c lowball.c -o lowball.o >/dev/null 2>&
1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT rules_astud.lo -MD -MP -MF ".deps
/rules_astud.Tpo" -c -o rules_astud.lo rules_astud.c; \
        then mv -f ".deps/rules_astud.Tpo" ".deps/rules_astud.Plo"; else rm -f "
.deps/rules_astud.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT r
ules_astud.lo -MD -MP -MF .deps/rules_astud.Tpo -c rules_astud.c  -DPIC -o .libs
/rules_astud.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT r
ules_astud.lo -MD -MP -MF .deps/rules_astud.Tpo -c rules_astud.c -o rules_astud.
o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT rules_joker.lo -MD -MP -MF ".deps
/rules_joker.Tpo" -c -o rules_joker.lo rules_joker.c; \
        then mv -f ".deps/rules_joker.Tpo" ".deps/rules_joker.Plo"; else rm -f "
.deps/rules_joker.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT r
ules_joker.lo -MD -MP -MF .deps/rules_joker.Tpo -c rules_joker.c  -DPIC -o .libs
/rules_joker.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT r
ules_joker.lo -MD -MP -MF .deps/rules_joker.Tpo -c rules_joker.c -o rules_joker.
o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../i
nclude -I../include -I../include    -g -O2 -MT rules_std.lo -MD -MP -MF ".deps/r
ules_std.Tpo" -c -o rules_std.lo rules_std.c; \
        then mv -f ".deps/rules_std.Tpo" ".deps/rules_std.Plo"; else rm -f ".dep
s/rules_std.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT r
ules_std.lo -MD -MP -MF .deps/rules_std.Tpo -c rules_std.c  -DPIC -o .libs/rules
_std.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -g -O2 -MT r
ules_std.lo -MD -MP -MF .deps/rules_std.Tpo -c rules_std.c -o rules_std.o >/dev/
null 2>&1
gcc -g -O2    mktab_basic.c   -o mktab_basic
mktab_basic.c:23:24: poker_defs.h: No such file or directory
In file included from mktab_basic.c:24:
mktable.h:42: error: parse error before "arg"
mktable.h:45: error: parse error before "arg"
mktable.h:48: error: parse error before "arg"
mktable.h:54: error: parse error before "n_bits_func"
mktable.h:54: error: parse error before "arg"
mktable.h:54: warning: data definition has no type or storage class
mktable.h:55: error: parse error before "top_card_func"
mktable.h:55: error: parse error before "arg"
mktable.h:55: warning: data definition has no type or storage class
mktable.h:56: error: parse error before "bottom_card_func"
mktable.h:56: error: parse error before "arg"
mktable.h:56: warning: data definition has no type or storage class
mktable.h:57: error: parse error before "bottom_bit_func"
mktable.h:57: error: parse error before "arg"
mktable.h:57: warning: data definition has no type or storage class
mktable.h:58: error: parse error before "top_bit_func"
mktable.h:58: error: parse error before "arg"
mktable.h:58: warning: data definition has no type or storage class
mktable.h:59: error: parse error before "straight_func"
mktable.h:59: error: parse error before "arg"
mktable.h:59: warning: data definition has no type or storage class
mktab_basic.c: In function `doNBitsTable':
mktab_basic.c:88: error: `StdDeck_N_RANKMASKS' undeclared (first use in this fun
ction)
mktab_basic.c:88: error: (Each undeclared identifier is reported only once
mktab_basic.c:88: error: for each function it appears in.)
mktab_basic.c: In function `doTopCardTable':
mktab_basic.c:104: error: `StdDeck_N_RANKMASKS' undeclared (first use in this fu
nction)
mktab_basic.c: In function `doTopBitTable':
mktab_basic.c:120: error: `StdDeck_N_RANKMASKS' undeclared (first use in this fu
nction)
mktab_basic.c: In function `doTopFiveCardsTable':
mktab_basic.c:136: error: `StdDeck_N_RANKMASKS' undeclared (first use in this fu
nction)
mktab_basic.c:139: error: `HandVal' undeclared (first use in this function)
mktab_basic.c:139: error: parse error before "eval"
mktab_basic.c:142: error: `eval' undeclared (first use in this function)
mktab_basic.c:144: error: `HandVal_CARD_WIDTH' undeclared (first use in this fun
ction)
mktab_basic.c: In function `doTopFiveBitsTable':
mktab_basic.c:164: error: `StdDeck_N_RANKMASKS' undeclared (first use in this fu
nction)
mktab_basic.c:167: error: `uint32' undeclared (first use in this function)
mktab_basic.c:167: error: parse error before "retval"
mktab_basic.c:169: error: `n' undeclared (first use in this function)
mktab_basic.c:170: error: `temp' undeclared (first use in this function)
mktab_basic.c:170: error: `retval' undeclared (first use in this function)
mktab_basic.c: In function `doTopTwoBitsTable':
mktab_basic.c:190: error: `StdDeck_N_RANKMASKS' undeclared (first use in this fu
nction)
mktab_basic.c:193: error: `uint32' undeclared (first use in this function)
mktab_basic.c:193: error: parse error before "retval"
mktab_basic.c:195: error: `n' undeclared (first use in this function)
mktab_basic.c:196: error: `retval' undeclared (first use in this function)
mktab_basic.c: In function `doStraightTable':
mktab_basic.c:213: error: `StdDeck_N_RANKMASKS' undeclared (first use in this fu
nction)
mktab_basic.c: In function `doCardMaskTable':
mktab_basic.c:224: error: `StdDeck_CardMask' undeclared (first use in this funct
ion)
mktab_basic.c:224: error: parse error before "c"
mktab_basic.c:230: error: `StdDeck_N_CARDS' undeclared (first use in this functi
on)
mktab_basic.c:236: error: `c' undeclared (first use in this function)
mktab_basic.c:237: error: `StdDeck_Suit_HEARTS' undeclared (first use in this fu
nction)
mktab_basic.c:239: error: `StdDeck_Suit_DIAMONDS' undeclared (first use in this
function)
mktab_basic.c:241: error: `StdDeck_Suit_CLUBS' undeclared (first use in this fun
ction)
mktab_basic.c:243: error: `StdDeck_Suit_SPADES' undeclared (first use in this fu
nction)
mktab_basic.c: In function `doMaskRankTable':
mktab_basic.c:268: error: `StdDeck_Rank_COUNT' undeclared (first use in this fun
ction)
mktab_basic.c:271: error: `StdDeck_CardMask' undeclared (first use in this funct
ion)
mktab_basic.c:271: error: parse error before "c"
mktab_basic.c:273: error: `c' undeclared (first use in this function)
make[1]: *** [mktab_basic] Error 1
make[1]: Leaving directory `/home/TodorPetrov/ps/poker-eval-132.0/lib'
make: *** [all-recursive] Error 1
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to