[BUG] floatAt:put: problems on Linux?
Kevin Fisher
kgf at golden.net
Wed Jan 3 17:01:19 UTC 2001
>
> On Wed, 03 Jan 2001 11:23:05 -0500 John Chludzinski <jchludzinski at worldkey.net> wrote:
> >In my workspace I enter the following code:
> >
> >| x |
> >x _ ByteArray new: 12.
> >x floatAt: 4 put: 2.4
> >
> >When I try to execute this fragment I get a #primitiveFailed message when running on Linux. It's part of my code on Win2K and I have NO problems
> >there (on Win2K). I tried downloading and installing libffi_1.20.tar.gz as was recommended but to NO avail.
> >
> >Any suggestions?
>
> John,
>
> I reviewed the messages you got in response the last time you posted this question and it sounds like there is a problem with the FFI stuff on Linux. I would look for an alternative way of doing what you need to do that avoids FFI.
>
> Cheers,
> Bob
>
Hmm, I had some trouble getting FFI working on Linux originally as well.
I solved it by rebuilding the VM with --enable-ffi=yes..after that, it
worked like a charm.
You need to use --enable-ffi=yes or else FFI does NOT get enabled under
Linux.
More information about the Squeak-dev
mailing list
|