Re: Problem compiling sablevm-1.1.9 on Debian

Etienne Gagnon <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
Hi Sebastien,

You should try compiling the following program:

#include <ffi.h>
int main()
{
   ffi_cif cif;
   ffi_type *args[1];
   ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, &ffi_type_uint, args);
   return 0;
}

as follows:

$ gcc -o test -lffi test.c

Do you get any error?  If yes, can you tell us about it?

Also, if the problem persists, could you tell us about the output of the 
following commands:

$ export -p
$ gcc -version
$ cat /etc/apt/sources.list
$ uname -a

Etienne

Sebastien wrote:
> And then tried: ./configure which stopped on the same error:
> 
> $ ./configure
> [...]
> checking for ffi_prep_cif in -lffi... no
> ***ERROR: libffi is missing

-- 
Etienne M. Gagnon, Ph.D.            http://www.info2.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/

_______________________________________________
SableVM-user mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-user
signature.asc (application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQFB+71QjyrJi4rH84gRAiegAJ4joEk0sWWalyuLfTzSnqNhdnHWNgCYzK8W
v7ck3BtbIn2Wy286RxzzUw==
=LHdd
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.