[Ecls-list] building a static library that depends on CFFI

Philipp Marek philipp at marek.priv.at
Mon Jul 18 06:48:32 UTC 2011


> ;;; Note:
> ;;;   Invoking external command:
> ;;;   gcc -o
> /Users/simon/.cache/common-lisp/ecl-11.1.1-macosx-x86/Users/simon/cffi-test/my-cffi.fas
> -L/opt/ecl/mac/lib/
> /private/var/folders/Ph/Ph28pDINHqi3t+OjZePGGE+++TI/-Tmp-/eclinit59IrkC.o
> /Users/simon/.cache/common-lisp/ecl-11.1.1-macosx-x86/Users/simon/cffi-test/my-cffi.o
> -bundle -lecl -lm /usr/lib/libm.dylib
> Condition of type: FILE-ERROR
> Filesystem error with pathname
> #P"/Users/simon/.cache/common-lisp/ecl-11.1.1-macosx-x86/Users/simon/cffi-test/libcffi-test.a".
...
> It seems libcffi-test.a couldn't be produced. Is there a way to get an
> error message for why it failed building libcffi-test.a? Or maybe, am
> I missing some step required to build libcffi-test.a?
>
> Thank you very much for any help you can provide!
It seems that my-cffi.fas was produced - that's the name after "-o".

You could try :system-p T in the make-build command; at least :system-p is mentioned in
the ECL wiki a few times.


Regards,

Phil






More information about the ecl-devel mailing list