[GSLL-devel] fsbv compilation error on cygwin: libffi-unix.c:54: error: 'FFI_UNIX64' undeclared
Mirko Vukovic
mirko.vukovic at gmail.com
Fri Nov 19 03:18:35 UTC 2010
Hello,
I am trying to install fsbv on cygwin (windows xp)
I downloaded the libffi package for the cygffi-4.dll and the
gcc-4-core for ffi.h.
I had to modify the library linking in init.lisp as follows (untested
on my redhat but works on cygwin):
(cffi:define-foreign-library libffi
(:cygwin "cygffi-4.dll")
(:unix "libffi.so")
(t (:default "libffi.so")))
#|
(cffi:load-foreign-library
#+darwin "libffi.dylib"
#+(and (not darwin) unix) "libffi.so")
|#
(cffi:use-foreign-library libffi)
However, the compilation breaks with the error message:
/home/external-libraries/common-lisp/fsbv/libffi-unix.c: In function 'main':
/home/external-libraries/common-lisp/fsbv/libffi-unix.c:54: error:
'FFI_UNIX64' undeclared (first use in this function).
Any ideas?
Mirko
More information about the gsll-devel
mailing list