smart 0.50 requires python >= 2.4? (smart/ccache.so: undefined symbol: Py_VISIT)

Axel Thimm Axel.Thimm at ATrpms.net
Sat Jan 20 07:33:34 PST 2007


On Sat, Jan 20, 2007 at 03:37:33PM +0100, Axel Thimm wrote:
> On Sat, Jan 20, 2007 at 03:33:57PM +0100, Axel Thimm wrote:
> > smart 0.50 introduced a dependency on Py_VISIT, which AFAIK is only
> > available on python >= 2.4
> 
> P.S.: 0.50rc1 was OK, the dependency crept in between rc1 and final.

and here is the diff in the build logs:

 gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -fasynchronous-unwind-tables -fPIC -I/usr/include/python2.3 -c smart/ccache.c -o build/temp.linux-i686-2.3/smart/ccache.o
+smart/ccache.c: In function `Package_traverse':
+smart/ccache.c:207: warning: implicit declaration of function `Py_VISIT'
+smart/ccache.c: In function `Package_clear':
+smart/ccache.c:218: warning: implicit declaration of function `Py_CLEAR'
 gcc -pthread -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -fasynchronous-unwind-tables build/temp.linux-i686-2.3/smart/ccache.o -o build/lib.linux-i686-2.3/smart/ccache.s
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20070120/08c5c102/attachment-0003.pgp>


More information about the Smart mailing list