[py-dev] Problems compiling greenlets under MacOSX 10.3.7

Valentino Volonghi aka Dialtone dialtone at divmod.com
Sun Jan 9 03:44:57 CET 2005


Hi all.

I would like to compile greenlets on darwin but unfortunately I only get an error from the assembler.

running build
running build_ext
building 'greenlet' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c greenlet.c -o build/temp.darwin-7.7.0-Power_Macintosh-2.4/greenlet.o
/var/tmp//cc5zHKvY.s:2506:non-relocatable subtraction expression, "_ts_current" minus "L00000000044$pb"
/var/tmp//cc5zHKvY.s:2506:symbol: "L00000000044$pb" can't be undefined in a subtraction expression
/var/tmp//cc5zHKvY.s:2504:non-relocatable subtraction expression, "_ts_current" minus "L00000000044$pb"
/var/tmp//cc5zHKvY.s:2504:symbol: "L00000000044$pb" can't be undefined in a subtraction expression
/var/tmp//cc5zHKvY.s:2475:non-relocatable subtraction expression, "_ts_target" minus "L00000000044$pb"
/var/tmp//cc5zHKvY.s:2475:symbol: "L00000000044$pb" can't be undefined in a subtraction expression
/var/tmp//cc5zHKvY.s:2473:non-relocatable subtraction expression, "_ts_target" minus "L00000000044$pb"
/var/tmp//cc5zHKvY.s:2473:symbol: "L00000000044$pb" can't be undefined in a subtraction expression
/var/tmp//cc5zHKvY.s:unknown:Undefined local symbol L00000000044$pb
error: command 'gcc' failed with exit status 1

Is there any flag I should use to compile them or is this just an error in the code?

Great work though :).



More information about the Pytest-dev mailing list