Use FFI with Linux / Ubuntu ?

bouchet vincent vbouchet at gmail.com
Thu Mar 2 13:06:59 UTC 2006


Hello,

I'm  squeak newbie and I want to use a C DLL with FFI on Linux (I use the
The Ubuntu Linux distribution).

    I have a function test which is written in a Linux C DLL. It works when
I call it from an exe.
When I call it from my class I obtain the error message : "Error: unable to
find function address"

---------------------------------------------------------------------
TestClass>>testLinux
    <cdecl: void 'test' (void) module: 'test.so'>
    ^self externalCallFailed
---------------------------------------------------------------------

I use FFI with windows for an C Windows DLL and it works correctly,  so is
the FFI package works with Linux / Ubuntu ?


thanks,

Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060302/7aec9a48/attachment.htm


More information about the Squeak-dev mailing list