[Yhc] Can't compile
isaacdupree at charter.net
Tue Jul 25 07:05:47 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
> I've just pushed a patch to darcs that fixes the problem on another machine
> I have access to, that doesn't have libffi installed.
Which only works for x86:
hunk ./build/platform.py 24
On ppc I got these errors, though I can't be sure the particular errors
are due to the architecture mismatch:
gcc -Wall -I. -Idepends/ctypes/libffi/include
- -Idepends/ctypes/libffi/src/x86 -Idepends/ctypes/libffi/include
- -Idepends/ctypes/libffi/src/x86 -Idepends/ctypes/libffi -c -o
In file included from depends/ctypes/libffi/include/ffi.h:63,
depends/ctypes/libffi/src/x86/ffitarget.h:64: error: `FFI_DEFAULT_ABI'
undeclared here (not in a function)
depends/ctypes/libffi/src/x86/ffitarget.h:65: error: enumerator value
for `FFI_LAST_ABI' not integer constant
scons: *** [depends/ctypes/libffi/src/cfield.o] Error 1
scons: building terminated because of errors.
Actually, changing that place to ppc didn't help by itself; a quick grep
suggests that "x86" is hardcoded in a few places in
build/SConscript.libffi as well. I don't know what the correct portable
incantation is for that in python/scons, though (on my system I'd use
uname -m, but that obviously isn't likely to work on Windows).
I look forward to the time when I can get a mere failure to compile my
circularly dependent modules again :D (not that I'd mind if it was
possible by then ;)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v22.214.171.124 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Yhc