[Vm-dev] Re: StackVM compilation problem

Esteban Lorenzano estebanlm at gmail.com
Tue Jun 19 12:33:47 UTC 2012


yes, I added that for iOS but should be transparent for other platforms. Maybe a flag somewhere?

On Jun 19, 2012, at 2:27 PM, Pavel Krivanek wrote:

> 
> On Tue, Jun 19, 2012 at 1:41 PM, Esteban Lorenzano <estebanlm at gmail.com> wrote:
>> 
>> did you run build> ../codegen-scripts/extract-commit-info.sh ?
> 
> yes, It is interesting that sqImageFileReadEntireImage is defined only
> for iOS, maybe there is some problem with platform identification
> where it supposes that if my platform is not x86 it must be ARM.
> 
> -- Pavel
> 
> 
>> 
>> Esteban
>> 
>> On Jun 19, 2012, at 11:39 AM, Pavel Krivanek wrote:
>> 
>>> 
>>> I tried some git clone from March and it is working so this must be
>>> quite new problem.
>>> 
>>> -- Pavel
>>> 
>>> On Tue, Jun 19, 2012 at 11:10 AM, Pavel Krivanek
>>> <pavel.krivanek at gmail.com> wrote:
>>>> Hi,
>>>> 
>>>> I'm trying to compile the StackVM on Linux (x86_64) but I get this error:
>>>> 
>>>> Linking C executable /tmp/stackvm/blessed/results/StackVM
>>>> CMakeFiles/StackVM.dir/tmp/stackvm/blessed/src/vm/gcc3x-interp.c.o: In
>>>> function `L0checkImageVersionFromstartingAt':
>>>> gcc3x-interp.c:(.text+0x104e5): undefined reference to
>>>> `sqImageFileReadEntireImage'
>>>> collect2: error: ld returned 1 exit status
>>>> make[2]: *** [/tmp/stackvm/blessed/results/StackVM] Error 1
>>>> make[1]: *** [CMakeFiles/StackVM.dir/all] Error 2
>>>> make: *** [all] Error 2
>>>> 
>>>> I generate the code using:
>>>> StackUnixConfig new
>>>>  addExternalPlugins: #( FT2Plugin SqueakSSLPlugin );
>>>>  addInternalPlugins: #( UnixOSProcessPlugin );
>>>>  generateSources; generate.
>>>> Smalltalk snapshot: false andQuit: true.
>>>> 
>>>> The CogUnixConfig produces working virtual machine. The StackVM
>>>> Jenkins job is working well but I do not see any difference in
>>>> comparison to the process I do. Any Idea?
>>>> 
>>>> Cheers,
>>>> -- Pavel
>> 



More information about the Vm-dev mailing list