FFI Question on Linux

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Thu Oct 26 09:16:44 UTC 2000


On Wed, 25 Oct 2000 yampa at mindspring.com wrote:

> The problem is compiling the SqueakFFIPrims.so file, or rather the not
> compiling.  I am trying to do Tim's external solution #1.  Everything
> works fine, but the makefile only compiles SqueakFFIPrims.c into
> SqueakFFIPrims.o, .la and .lo.  It doesn't make a .so file. 

Did you actually look into the hidden .libs directory?

> I'm not a very good c programmer, and don't understand .so, .lo, or
> .la files much at all.  I have an SqueakFFIPrims.so in my directories,
> but I guess I just downloaded it from one of the Squeak ftp sites, and
> it is incompatible with what I've got.

Well, even that should work - if you make sure it is found.

> I found the makefile in the /unix/plugin directory,

This directory is misnamed - it contains sources for the Squeak Netscape
plugin and has nothing to do with the rest at all.

> The error is: "ioLoadModule(./SqueakFFIPrims.so): ./SqueakFFIPrims.so:
> undefined symbol: ffi_type_float"

Ned answered that already.

-- Bert





More information about the Squeak-dev mailing list