Hi, With the "Squeak 4.2.5beta1U" VM from John, the IA32ABI plugin is external. I can load Alien correctly in a 1.1.1 image. Then evaluate:
AlienLibrary new ffiPrintString: 'toto' asAlien Now the plugin has been loaded and: Smalltalk listLoadedModules detect:[:any| any beginsWith: 'IA32ABI'] ifNone:[nil] evaluates to : 'IA32ABI 7 May 2009 (e)' Cheers, #Luc 2010/11/20 Eliot Miranda <[email protected]> > > > On Fri, Nov 19, 2010 at 3:16 PM, Esteban Lorenzano <[email protected]>wrote: > >> Ok, it loads :) >> but now I have a problem with this primitive call: >> >> <primitive: 'primSizeFieldPut' error: errorCode module: 'IA32ABI'> >> >> what I'm missing? I'm using pharo 1.1.1 and no-cog vm (but latest sources) >> > > Hmmm... make sure the IA32ABI plugin is in the VM. IIRC it is an internal > plugin so it is either there or you need to find a VM that contains it, but > I could be wrong and it might be available externally (I doubt it). > > i.e. > Smalltalk listBuiltinModules > detect:[:any| any beginsWith: 'IA32ABI'] > ifNone:[nil] > should not answer nil. > > > If it doesn't answer nil then I fear there may be a disagreement between > the plugin's ideas of what the specialObjectArray index of Alien is to the > recreateSpecialObjectsArray method. At least make sure that Alien is in the > specialObjectsArray. > > HTH > Eliot > > >> Cheers, >> Esteban >> >> >> On 2010-11-19 19:05:29 -0300, Eliot Miranda <[email protected]> >> said: >> >> >>> Hi Esteban, >>> >>> On Fri, Nov 19, 2010 at 10:23 AM, Esteban Lorenzano <[email protected] >>> >wrote: >>> >>> still the same error... >>>> I can press "proceed", but I'm scared to do that :) >>>> >>>> >>> as long as you don't shorten the specialObjectsArray you should be OK. >>> >>> >>> >>>> Cheers, >>>> Esteban >>>> >>>> On 2010-11-19 11:12:17 -0300, Luc Fabresse <[email protected]> >>>> said: >>>> >>>> >>>> Hi All, >>>>> >>>>> To load Alien I use: >>>>> >>>>> Gofer new >>>>> squeaksource: 'Alien'; >>>>> package: 'ConfigurationOfAlien'; >>>>> load. >>>>> (Smalltalk at: #ConfigurationOfAlien project version: 'Pharo 1.1') load >>>>> >>>>> >>>>> Cheers, >>>>> >>>>> #Luc >>>>> >>>>> >>>>> 2010/11/18 Esteban Lorenzano <[email protected]> >>>>> >>>>> Hi, >>>>> >>>>>> Does anybody knows if Alien should work with pharo 1.1.1 (non cog vm)? >>>>>> With ConfigurationOfAlien, I'm getting the "invalid array size" prereq >>>>>> violated. >>>>>> >>>>>> Cheers, >>>>>> Esteban >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> <span class=3D"Apple-style-span" style=3D"font-family: arial, >>>>> sans-serif; >>>>> f= >>>>> ont-size: 14px; border-collapse: collapse; ">Hi >>>>> All,<div><br></div><div>=A0= >>>>> To load =A0Alien I use:</div><div><br></div><div>=A0=A0Gofer >>>>> new</div><div>= >>>>> <span style=3D"white-space: pre-wrap; "> </span>squeaksource: >>>>> 'Alien= >>>>> 9;;</div> >>>>> <div><span style=3D"white-space: pre-wrap; "> </span>package: >>>>> 'Configur= >>>>> ationOfAlien';</div><div><span style=3D"white-space: pre-wrap; "> >>>>> </spa= >>>>> n>load.</div><div><span style=3D"white-space: pre-wrap; "> >>>>> </span></div><di= >>>>> v> >>>>> (Smalltalk at: #ConfigurationOfAlien project version: 'Pharo >>>>> 1.1') >>>>> = >>>>> load</div><div><br></div><div>=A0</div><div>=A0Cheers,</div><div><br >>>>> clear= >>>>> =3D"all">#Luc</div></span> >>>>> <br><br><div class=3D"gmail_quote">2010/11/18 Esteban Lorenzano <span >>>>> dir= >>>>> =3D"ltr"><<a href=3D"mailto:[email protected]"> >>>>> [email protected] >>>>> >>>> </a>= >> >> ></span><br><blockquote >> >> >> class=3D"gmail_quote" >> >>> >>>>> style=3D"margin:0 0 0 .8ex= >>>>> ;border-left:1px #ccc solid;padding-left:1ex;"> >>>>> Hi,<br> >>>>> Does anybody knows if Alien should work with pharo 1.1.1 (non cog >>>>> vm)?<br> >>>>> With ConfigurationOfAlien, I'm getting the "invalid array >>>>> size&quo= >>>>> t; prereq violated.<br> >>>>> <br> >>>>> Cheers,<br><font color=3D"#888888"> >>>>> Esteban<br> >>>>> <br> >>>>> <br> >>>>> <br> >>>>> </font></blockquote></div><br> >>>>> >>>>> >>>> >>>> >>>> >>>> >>>> >>> >>> Hi=A0Esteban,<br><br><div class=3D"gmail_quote">On Fri, Nov 19, 2010 at >>> 10:= >>> 23 AM, Esteban Lorenzano <span dir=3D"ltr"><<a href=3D"mailto: >>> esteba...@= >>> gmail.com">[email protected]</a>></span> wrote:<br><blockquote >>> class= >>> =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc >>> solid;padd= >>> ing-left:1ex;"> >>> still the same error...<br> >>> I can press "proceed", but I'm scared to do that >>> :)<br></bloc= >>> kquote><div><br></div><div>as long as you don't shorten the >>> specialObje= >>> ctsArray you should be OK.</div><div>=A0</div><blockquote >>> class=3D"gmail_qu= >>> ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc >>> solid;padding-left:1ex= >>> ;"> >>> >>> <br> >>> Cheers,<br> >>> Esteban<br> >>> <br> >>> On 2010-11-19 11:12:17 -0300, Luc Fabresse <<a href=3D"mailto: >>> luc.fabres= >>> [email protected]" target=3D"_blank">[email protected]</a>> said:<br> >>> <br> >>> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 >>> .8ex;border-left:1p= >>> >>> x #ccc solid;padding-left:1ex"> >>> <br> >>> Hi All,<br> >>> <br> >>> =A0To load =A0Alien I use:<br> >>> <br> >>> =A0Gofer new<br> >>> squeaksource: 'Alien';<br> >>> package: 'ConfigurationOfAlien';<br> >>> load.<br> >>> >>> (Smalltalk at: #ConfigurationOfAlien project version: 'Pharo >>> 1.1') = >>> load<br> >>> <br> >>> <br> >>> =A0Cheers,<br> >>> <br> >>> #Luc<br> >>> <br> >>> <br> >>> 2010/11/18 Esteban Lorenzano <<a href=3D"mailto:[email protected]" >>> tar= >>> get=3D"_blank">[email protected]</a>><br> >>> <br> >>> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 >>> .8ex;border-left:1p= >>> >>> x #ccc solid;padding-left:1ex"> >>> Hi,<br> >>> Does anybody knows if Alien should work with pharo 1.1.1 (non cog >>> vm)?<br> >>> With ConfigurationOfAlien, I'm getting the "invalid array >>> size&quo= >>> t; prereq<br> >>> >>> violated.<br> >>> <br> >>> Cheers,<br> >>> Esteban<br> >>> <br> >>> <br> >>> <br> >>> <br> >>> </blockquote> >>> <br> >>> <br> >>> <span class=3D3D"Apple-style-span" >>> style=3D3D"font-family= >>> : arial, sans-serif; f=3D<br> >>> ont-size: 14px; border-collapse: collapse; ">Hi >>> All,<div><= >>> br></div><div>=3DA0=3D<br> >>> To load =3DA0Alien I >>> use:</div><div><br></div><d= >>> iv>=3DA0=3DA0Gofer new</div><div>=3D<br> >>> <span style=3D3D"white-space: pre-wrap; "> =A0 =A0 =A0 >>> =A0&= >>> lt;/span>squeaksource: &#39;Alien&#3=3D<br> >>> 9;;</div><br> >>> <div><span style=3D3D"white-space: pre-wrap; "> =A0 >>> &= >>> lt;/span>package: &#39;Configur=3D<br> >>> ationOfAlien&#39;;</div><div><span >>> style=3D3D"white= >>> -space: pre-wrap; "> =A0 </spa=3D<br> >>> n>load.</div><div><span style=3D3D"white-space: >>> pre-= >>> wrap; "> =A0 =A0 =A0</span></div><di=3D<br> >>> v><br> >>> (Smalltalk at: #ConfigurationOfAlien project version: &#39;Pharo >>> 1.1&am= >>> p;#39;) =3D<br> >>> >>> load</div><div><br></div><div>=3DA0</div&g= >>> t;<div>=3DA0Cheers,</div><div><br clear=3D<br> >>> =3D3D"all">#Luc</div></span><br> >>> <br><br><div >>> class=3D3D"gmail_quote">2010/11/18= >>> Esteban Lorenzano <span dir=3D<br> >>> =3D3D"ltr">&lt;<a href=3D3D"mailto:<a >>> href=3D"mail= >>> to:[email protected] <to%[email protected]>" target=3D"_blank"> >>> [email protected]</a>">= >>> >> <a >> >>> >>> href=3D"mailto:[email protected]" target=3D"_blank">[email protected] >>> = >>> m</a></a>=3D<br> >>> >>> </blockquote> >>> &gt;</span><br><blockquote <br> >>> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 >>> .8ex;border-left:1p= >>> >>> x #ccc solid;padding-left:1ex"> >>> <br> >>> class=3D3D"gmail_quote" style=3D3D"margin:0 0 0 >>> .8ex=3D<br> >>> ;border-left:1px #ccc solid;padding-left:1ex;"><br> >>> Hi,<br><br> >>> Does anybody knows if Alien should work with pharo 1.1.1 (non cog >>> vm)?<b= >>> r><br> >>> With ConfigurationOfAlien, I&#39;m getting the &quot;invalid >>> array = >>> size&quo=3D<br> >>> t; prereq violated.<br><br> >>> <br><br> >>> Cheers,<br><font color=3D3D"#888888"><br> >>> Esteban<br><br> >>> <br><br> >>> <br><br> >>> <br><br> >>> </font></blockquote></div><br><br> >>> </blockquote> >>> <br> >>> <br> >>> <br> >>> <br> >>> </blockquote></div><br> >>> >> >> >> >> >> >
