External Libs (was Re: libcurl?!)

Bert Freudenberg bert at isg.cs.uni-magdeburg.de
Fri Nov 2 09:17:34 UTC 2001


On Thu, 1 Nov 2001, Kevin Fisher wrote:

> Yes, I noticed that. :)  I did enable it when I compiled and still no dice..
> I must be doing something wrong.
> 
> One difference I noticed between 2.9a and the 3.0/3.1 VM is that
> the --enable-ffi=yes configure argument went away.  

As I said before, you don't have to "enable" FFI. Just get the plugin. You
don't even need libffi because it's statically linked into
SqueakFFIPrims.so.

-- Bert

In case you don't believe me: This is a log of the X11 example:

tryLoading ./SqueakFFIPrims.so
loaded:  ./SqueakFFIPrims.so
ioFindExternalFunctionIn(getModuleName, 135169408)
ioFindExternalFunctionIn(getModuleName, 135169408):
  build/squeak: undefined symbol: getModuleName
ioFindExternalFunctionIn(setInterpreter, 135169408)
ioFindExternalFunctionIn(initialiseModule, 135169408)
ioFindExternalFunctionIn(initialiseModule, 135169408):
  build/squeak: undefined symbol: initialiseModule
ioFindExternalFunctionIn(primitiveCallout, 135169408)
tryLoading ./X11.so
not found
tryLoading libX11.so
loaded:  libX11.so
ioFindExternalFunctionIn(XOpenDisplay, 1073836808)
ioFindExternalFunctionIn(XGetInputFocus, 1073836808)
ioFindExternalFunctionIn(XQueryPointer, 1073836808)
ioFindExternalFunctionIn(primitiveFFIIntegerAt, 135169408)
ioFindExternalFunctionIn(XCreateGC, 1073836808)
ioFindExternalFunctionIn(XSetForeground, 1073836808)
ioFindExternalFunctionIn(XFillRectangle, 1073836808)
ioFindExternalFunctionIn(XDrawRectangle, 1073836808)
ioFindExternalFunctionIn(XSync, 1073836808)
ioFindExternalFunctionIn(XFreeGC, 1073836808)
ioFindExternalFunctionIn(XCloseDisplay, 1073836808)






More information about the Squeak-dev mailing list