[Vm-dev] Cog VM on FreeBSD 8.1
Levente Uzonyi
leves at elte.hu
Mon Dec 6 19:51:57 UTC 2010
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. :)
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
>
More information about the Vm-dev
mailing list