[Gsll-devel] Build error (fsbv)

Jason Nielsen jdn at math.carleton.ca
Sat Jun 20 16:07:11 UTC 2009


Hello all,

I just git pulled all the new goodness in gsll, fsbv etc. but am getting 
error messages building fsbv:

; 
/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/init.fasl 
written
; compilation finished in 0:00:00.004
; cc -m64 -fPIC -o 
/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix 
/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c
unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "initial thread" 
RUNNING {10029DDD71}>:
   External process exited with code 1.
Command was: "cc" "-m64" "-fPIC" "-o" 
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix" 
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c"
Output was:
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 7: cannot find include file: <ffi.h>
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 40: undefined symbol: FFI_OK
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 45: undefined symbol: FFI_BAD_TYPEDEF
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 50: undefined symbol: FFI_BAD_ABI
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 61: undefined symbol: FFI_DEFAULT_ABI
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 66: undefined symbol: FFI_SYSV
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 71: undefined symbol: FFI_UNIX64
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 79: undefined symbol: ffi_abi
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 126: incomplete struct/union/enum _ffi_type: sizeof()
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 131: undefined struct/union member: size
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 136: undefined struct/union member: alignment
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 141: undefined struct/union member: type
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 146: undefined struct/union member: elements
"/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c", 
line 397: warning: implicit function declaration: memset
cc: acomp failed for 
/var/cache/common-lisp-controller/1000/sbcl/local/home/jdn/work/lisp/fsbv/libffi-unix.c

I have cffi 0.10.5 installed and its test suite passes.  I also have 
libffi-dev installed in the usual place so I'm a bit confused.

Cheers,
Jason




More information about the gsll-devel mailing list