[Vm-dev] Cog VM on FreeBSD 8.1

Igor Stasenko siguctua at gmail.com
Mon Dec 6 21:40:41 UTC 2010


On 6 December 2010 20:51, Levente Uzonyi <leves at elte.hu> wrote:
>
> On Mon, 6 Dec 2010, Amir Ansari wrote:
>
>>
>> Dear List
>>
>> I'm trying to build Cog VM on FreeBSD 8.1, following the instructions at
>> http://tech.groups.yahoo.com/group/squeak/message/157755
>>
>> It's a fresh installation, nothing in /etc/make.conf
>>
>> Here's the error:
>>
>>
>
> snip
>
>> /root/CogVM/src/vm/gcc3x-cointerp.c:37962: error: conflicting types for
>> 'readImageFromFileHeapSizeStartingAt'
>> /root/CogVM/platforms/Cross/vm/sq.h:480: error: previous declaration of
>> 'readImageFromFileHeapSizeStartingAt' was here
>> *** Error code 1
>>
>> Stop in /root/CogVM/unixbuild/bld/vm.
>> *** Error code 1
>>
>> Stop in /root/CogVM/unixbuild/bld.
>>
>>
>> Anyone have any ideas?
>
> I simply added the following pragma to Interpreter's, CoInterpreter's and
> StackInterpreter's #readImageFromFile:HeapSize:StartingAt: method.
>
> <var: #desiredHeapSize type: 'usqInt'>
>
> This solved the problem. :)

yeah. that's what i did too in SqS/VMMaker/VMMaker-oscog-Igor.Stasenko.38.mcz


>
> I also updated the workspace text, to make it cross platform. It's available
> here: http://leves.web.elte.hu/squeak/Workspace.text .
>
>
> Levente
>
>>
>> Thanks,
>> Amir
>>
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list