On Fri, Oct 25, 2002 at 07:02:00PM +1000, fish wrote:
> > [root at technic modules]# locate libpython
> > /usr/lib/python2.2/config/libpython2.2.a
> 
> .a is a static library, .so is a dynamic library ;).

My point is that there is no dynamic libpython on my system - shouldn't
there be?

>  the module, as
> compiled, wants the latter :-p.  If you were to make clean / make in the
> modules directory, it should, however, be happy with the former.

Nope:

[ian at technic modules]$ make
make -C cfec
make[1]: Entering directory `/tmp/fish-is-still-an-idiot/modules/cfec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/fish-is-still-an-idiot/modules/cfec'
gcc -shared fec-py.c -lpython2.2 cfec/fec8.o -o ../fec2.so 
-I/usr/include/python2.2
fec-py.c: In function `fec_code_encode':
fec-py.c:59: warning: passing arg 2 of `PyObject_AsWriteBuffer' from 
incompatible pointer type
fec-py.c:78: warning: passing arg 2 of `PyObject_AsReadBuffer' from 
incompatible pointer type
fec-py.c: In function `fec_code_decode':
fec-py.c:152: warning: passing arg 2 of `PyObject_AsWriteBuffer' from 
incompatible pointer type
/usr/bin/ld: cannot find -lpython2.2
collect2: ld returned 1 exit status
make: *** [../fec2.so] Error 1


-- 
Ian Clarke                ian@[freenetproject.org|locut.us|cematics.com]
Latest Project                                 http://cematics.com/kanzi
Personal Homepage                                       http://locut.us/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20021025/10e66ee7/attachment.pgp>

Reply via email to