[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.lisp

CFFI mailing list

Marco Antoniotti

6/13/2016 5:03:00 PM

Hi

I am trying to get to the CFFI mailing list (devel), but, somehow, the gmane NNTP server seems uncooperative. Any ideas?

In any case, I have the following problem.

This is in my "test" file:


(cffi:define-foreign-library cl-autowrap-tests-lib
(t "cl-autowrap-test.a"))


This is what I get on LWM.

CL-USER 15 > (cffi:load-foreign-library 'cl-autowrap-tests::cl-autowrap-tests-lib)

Error: Unable to load foreign library (CL-AUTOWRAP-TESTS-LIB).
Could not register handle for external module CL-AUTOWRAP-TESTS::CL-AUTOWRAP-TESTS-LIB:
no suitable image found. Did find:
/Users/marcoxa/Projects/Lang/CL/tests/cl-autowrap/cl-autowrap-test.a: file too short.
1 (continue) Try loading the foreign library again.
2 Use another library instead.
3 (abort) Return to level 0.
4 Return to top loop level 0.

Type :b for backtrace or :c <option number> to proceed.
Type :bug-form "<subject>" for a bug report template or :? for other options.


It obviously appears that something may be amiss with the .a (static) generation. My C/C++ fu us very rusty.

Any ideas?

Cheers
--
MA