May be you can help me. I tried the hack made tomas bar, means launching the following command line (adding the python library to the link)**
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 but I will have an issue : /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin:ld cannot find -lpython2.5 Any idea ? Regards. 2008/1/14, Loic Dachary <[EMAIL PROTECTED]>: > > "tapie fan" <[EMAIL PROTECTED]> writes: > > > Hi, > > > > I'm trying to compile pypoker-eval on cygwin. I got the exact same > behaviour > > as reported in the following issue : > > > > https://mail.gna.org/public/pokersource-users/2007-07/msg00089.html > > > > Although I try the advise reported in this thread, I'm still having the > same > > error when lauching the make : > > > > /bin/sh ./libtool --tag=CC --mode=link gcc -pipe -O3 -Wall > -Wpointer-arith > > -Wstrict-prototypes -o _pokereval_2_5.la -rpath > /usr/local/lib/python2.5/ > > site-packages -module -no-undefined -version-info 1:0:0 > > _pokereval_2_5_la-pypokereval.lo -L/usr/local/lib -lpoker-eval > > rm -fr .libs/_pokereval_2_5.dll.a > > gcc -shared .libs/_pokereval_2_5_la-pypokereval.o -L/usr/local/lib > /usr/ > > local/lib/libpoker-eval.dll.a -o .libs/_pokereval_2_5-1.dll > > -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/ > > _pokereval_2_5.dll.a > > .libs/_pokereval_2_5_la-pypokereval.o:pypokereval.c:(.text+0x3e83): > undefined > > reference to `__imp__PyList_Type' > > .libs/_pokereval_2_5_la-pypokereval.o:pypokereval.c:(.text+0x3e93): > undefined > > reference to `_PyType_IsSubtype' > > .libs/_pokereval_2_5_la-pypokereval.o:pypokereval.c:(.text+0x3ea6): > undefined > > reference to `_PyList_Size' > > .libs/_pokereval_2_5_la-pypokereval.o:pypokereval.c:(.text+0x3ee5): > undefined > > reference to `_PyList_GetItem' > > .libs/_pokereval_2_5_la-pypokereval.o:pypokereval.c:(.text+0x3eec): > undefined > > reference to `_PyErr_Occurred' > > > > Is there any news about this issue ? > > Not that I know. Unfortunately people tend to solve the problem and > don't report the solution. IIRC you just have to add the python library to > the link like and be done with it. A patch would be most welcome. > > 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
