VM build problem: sqInt?

Jay Hardesty jayh at panix.com
Sun Sep 3 07:22:05 UTC 2006


I tried to patch around the conflicting definitions for flag,
by moving the second one into sqVirtualMachine.c (and
removing "inline").  That problem then seems to go away
(or at least into hiding for the moment).

Now I get as far as compiling interp.c, wherein occurs:

	error: invalid operands to binary+
		return longAt(((((char *) oop)) + BaseHeaderSize) + (fieldIndex <<  
2));

This is at line 4343 of interp.c in function fetchWordofObject.

This is from a fresh setup using:
	revision 1444 of the C code (revision 1520 yields the same outcome)
	VMMaker 3.8b6
	Squeak3.8-6665full.image
	Squeak 3.8.12beta4U.app

Question: should I still be filing in the special change sets:
	VMM38-64bit-imageUpdates.1.cs
	VMM38-gc-instrument-image.1.cs
for use with VMMaker 3.8b6?  (The readme indicates these should be filed
in after loading version 3.7, along with ArraysToGlobalStruct-JMM.1.cs
and Gnuifier.6.cs)


Thanks
-Jay


On Sep 3, 2006, at 2:35 AM, Jay Hardesty wrote:

>
>
> On Sep 3, 2006, at 12:55 AM, tim Rowledge wrote:
>
>> [...] Oh my, the 'Slathering SafflowerOil release?
>
> OK, I won't ask...
>
>
> Any case, thanks - the VMMaker/image combo you recommended
> got me apparently closer to success.  The only remaining problem is:
>
> 	error: conflicting types for 'flag'
> 		static sqInt flag(sqInt aSymbol); (LargeIntegers.c:68)
> 	previous definition of 'flag' was here
> 		static void inline flag(char *ignored) {} (sqMemoryAccess.h:166)
>
> The latest code from svn is revision 1520.  I also tried revision  
> 1444 based on the comment
> on the "EndOfTheRoad" VMMaker page, but get the same result. (Quick  
> scan of the mailing
> list didn't turn up anything)
>
>
>
>> - that is seriously out of date Jay. Two years is it? Something  
>> like that anyway.
>
> Perhaps the text in platforms/Mac OS/vm/Documentation/readme (in  
> revision 1520 of the sources)
> should be changed from:
> 	"0.  Grab your 3.9 image, and then install the 32/64bit version of  
> VMMaker or better, and Balloon 3D.
> 	As of Nov 10th 2005, You need a beta VMMaker from
> 	http://www.rowledge.org/tim/squeak/SqFiles/packages/VMMaker/ 
> VMMaker-tpr.37.mcz"
>
> to:
> 	"0.  Grab your 3.8.1 image, install Balloon 3D, and then install  
> version 3.8b6 of VMMaker, from
> 	http://map.squeak.org/accountbyid/ 
> 4340a66e-2296-48b7-9aa8-5305d303752f/files/VMMaker-3.8b6.mcz"
>
> ??
>
>
> Now interp.c does contain the variables that were previously  
> undefined, and it's definitely helpful to
> know that I shouldn't be trying to build with the "64-bit VM" checked.
>
> Thanks again for the info,
> Jay
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060903/b2f68d99/attachment.htm


More information about the Squeak-dev mailing list