[squeak-dev] Xtreams up to date

mkobetic at gmail.com mkobetic at gmail.com
Thu Jan 20 15:06:18 UTC 2011


"Edgar J. De Cleene"<edgardec2005 at gmail.com> wrote:
> Martin:
> Second try on Pharo
> Here Pharo warning about loading FFI first, but gives this error when load
> FFI and try load Xtreams
> 
> HMAC_CTX_cleanup: ctx
>     <cdecl:    void 'HMAC_CTX_init' (HMAC_CTX*Matching number of arguments
> expected ->) module: 'libcrypto'>
>     ^self externalCallFailed

Hm, this loads fine for me, I wonder if there is some load ordering issue at play here. I can see that the cdecl compiler might think the argument counts do not match if HMAC_CTX was not compiled yet. Does anyone know if these things get ordered properly by monticello or something ? Also which version of Pharo did you use ? And how did you load FFI ? I opened the Configuration browser (in PharoCore 1.2 image) and FFI configuration was listed there so I loaded that. Can anyone else report success or failure loading this stuff?

I also note that I messed up the declaration above, I'm calling the wrong function from this method, even though the argument counts happen to match. I'll fix that right away.

Martin



More information about the Squeak-dev mailing list