[Yhc] Can't compile

Neil Mitchell ndmitchell at gmail.com
Fri Jul 28 12:40:17 EDT 2006


Hi Isaac,

Your message wasn't sent to the mailing list as well, just me, so I'm
forwarding it. Gmail makes it pretty easy to figure out whats
happening, but I still don't understand why :) If you can find any
docs on mailman that should describe how/why things are working.

I have also sent it to our build engineer who will hopefully solve
your problem :)

Thanks

Neil


> > We've made some tweaks to Yhc, so it might work for you, if it doesn't
> > email us again with lots of exclamation marks :)
>
> If something goes wrong I have a habit of cleanly starting the process
> from the beginning:
>
> darcs get http://www.cs.york.ac.uk/fp/darcs/yhc-devel
> cd yhc-devel
> scons
>
> ...
> gcc -Wall -I. -Idepends/ctypes/libffi/include
> - -Idepends/ctypes/libffi/src/x86 -Idepends/ctypes/libffi/include
> - -Idepends/ctypes/libffi/src/powerpc -Idepends/ctypes/libffi -c -o
> depends/ctypes/libffi/src/cfield.o depends/ctypes/libffi/src/cfield.c
> In file included from depends/ctypes/libffi/include/ffi.h:63,
>                  from depends/ctypes/libffi/src/cfield.c:1:
> depends/ctypes/libffi/src/x86/ffitarget.h:64: error: 'FFI_DEFAULT_ABI'
> undeclared here (not in a function)
> scons: *** [depends/ctypes/libffi/src/cfield.o] Error 1
> scons: building terminated because of errors.
>
>
> !!!!!!!!!!!!!!!!!! ;-)
> This bit seemingly shouldn't be there: -Idepends/ctypes/libffi/src/x86
>
> By the way, I'm in the middle of upgrading my system to gcc 4.1.1 and
> glibc 2.4. That doesn't look relevant here though.  Also, I removed the
> useless old strange Gentoo libffi installation (by emerge --unmerge), so
> that definitely shouldn't be messing anything up now.
>
> Isaac
>
> P.S. the way mailing lists work is confusing me: my best guess is that I
> should be using "Reply [to] all" but I can't predict the results of that
> (e.g. was this message sent to the mailing list? I hope so.... and how
> can I tell if a message I receive was actually sent to the list)  I
> haven't succeeded in finding any sort of "howto use mailing lists" on
> the web... surely there must be help somewhere for innocent little
> Thunderbird users who don't know how these things are supposed to work?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEyj0gHgcxvIWYTTURAtQYAJ9LSRNv8UygQ7W37OxcztpCC0dwxgCcDWHp
> hNHKm/XpjHTB4pdaF2EFG7I=
> =GPal
> -----END PGP SIGNATURE-----
>


More information about the Yhc mailing list