On 17 April 2010 16:32, Alex Wiltschko <[email protected]> wrote: > I've stepped away from Cython for about a year, and returned on a new > computer, needing to recompile some older Cython code I wrote. It has run > fine previously. > I'm issuing this command to build my code: > : cython mytype_svd.pyx > : gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing > -I/usr/include/python2.6 -o mytype_svd.so mytype_svd.c
In general, you should nerver do that, but use distutils instead. For example, you direct invocation to gcc is wrong, you are missing a "-lpython2.6" or equivalent. You should write a proper setup.py and let distutils invoke GCC the right way for your platform. -- Lisandro Dalcin --------------- CIMEC (INTEC/CONICET-UNL) Predio CONICET-Santa Fe Colectora RN 168 Km 472, Paraje El Pozo Tel: +54-342-4511594 (ext 1011) Tel/Fax: +54-342-4511169 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
