[Stackless] Compiling on 10.5

Arnar Birgisson arnarbi at gmail.com
Sun Nov 25 18:24:03 CET 2007


Hey there,

Has anyone compiled stackless on OS-X 10.5 yet?

I'm having some trouble. The --enable-universalsdk config option
points to the 10.4 SDK. Configure would fail with that so I changed
configure.in to point to the 10.5 SDK. After that configure ran fine,
but compiling fails with this:

gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-fno-strict-aliasing -DSTACKLESS_FRHACK=1 -Wno-long-double
-no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3
-Wall -Wstrict-prototypes  -I. -I./Include -I./Stackless
-DPy_BUILD_CORE  -c ./Modules/posixmodule.c -o Modules/posixmodule.o
./Modules/posixmodule.c: In function 'posix_setpgrp':
./Modules/posixmodule.c:3724: error: too few arguments to function 'setpgrp'
./Modules/posixmodule.c: In function 'posix_setpgrp':
./Modules/posixmodule.c:3724: error: too few arguments to function 'setpgrp'
lipo: can't figure out the architecture type of:
/var/folders/eH/eHK32eiCE+40Ek1xTWjr4k+++TI/-Tmp-//ccHQfPcc.out
make: *** [Modules/posixmodule.o] Error 1

Any pointers appreciated.

cheers,
Arnar




More information about the Stackless mailing list