[Vm-dev] Conflicting type on readImageFromFileHeapSizeStartingAt

David T. Lewis lewis at mail.msen.com
Fri Apr 23 00:21:23 UTC 2010

On Thu, Apr 22, 2010 at 03:27:56PM +0200, Jean Baptiste Arnaud wrote:
> hi,
> i take the source from svn.
> I Install Clean VMMaker, generate source (on Mac OS)
> then :
> src / interp.c >>
> 	sqInt readImageFromFileHeapSizeStartingAt(sqImageFile  f, sqInt desiredHeapSize, squeakFileOffsetType  imageOffset);
> Cross / sq.h>>
> 	sqInt readImageFromFileHeapSizeStartingAt(sqImageFile f, usqInt desiredHeapSize, squeakFileOffsetType imageOffset);
> If i correct  manually that compile and work .
> I missing something ?


You are using an out of date version of VMMaker. The declarations
in both interp.c and sq.h were changed last month. I think that
you are trying to build with the latest platform sources from svn
and with some older version of VMMaker.

If you are using Pharo with ConfigurationOfVMMaker, you probably
should *not* use one of the declared version levels, because it will
generally be out of date with respect to current svn sources. Instead,
tell Metacello to load the latest version. If you are using a Squeak
image with MCMcmUpdater, you can evaluate "VMMaker updateFromServer"
to get the latest version.

The latest version of the VMMaker package is always at SqueakSource.


More information about the Vm-dev mailing list