[VM] Recompiling the VM under MacOsX

Alexandre Bergel bergel at iam.unibe.ch
Sat Aug 23 15:06:32 UTC 2003


Hi Ned!

Unfortunately, I have tried with the VM from Ian, and it still does not work. I get a new error, but it seems to be related to the Darwin compiler:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
gcc -no-cpp-precomp -g -O2 -O3 -mcpu=750 -funroll-loops -DHAVE_CONFIG_H -I/Volumes/Data/Squeak2/Squeak-3.6-beta5/bld -I/Volumes/Data/Squeak2/Squeak-3.6-beta5/platforms/unix/vm -I/Volumes/Data/Squeak2/Squeak-3.6-beta5/platforms/Cross/vm -c /Volumes/Data/Squeak2/Squeak-3.6-beta5/platforms/unix/plugins/ObjectiveCPlugin/sqUnixObjC.m  -fno-common -DPIC -o sqUnixObjC.lo
/Volumes/Data/Squeak2/Squeak-3.6-beta5/platforms/unix/plugins/ObjectiveCPlugin/sqUnixObjC.m: In function `forwardByteArrayArgMsg':
/Volumes/Data/Squeak2/Squeak-3.6-beta5/platforms/unix/plugins/ObjectiveCPlugin/sqUnixObjC.m:406: internal error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[1]: *** [sqUnixObjC.lo] Error 1
make: *** [ObjectiveCPlugin.la] Error 2
bash-2.05a$ 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

When I use the src generated by VMMaker I still get:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
gcc -no-cpp-precomp -g -O2 -O3 -mcpu=750 -funroll-loops -o squeak disabledPlugins.o version.o -framework CoreFoundation  vm/vm.a ADPCMCodecPlugin/ADPCMCodecPlugin.a BMPReadWriterPlugin/BMPReadWriterPlugin.a B2DPlugin/B2DPlugin.a BitBltPlugin/BitBltPlugin.a DSAPrims/DSAPrims.a ZipPlugin/ZipPlugin.a FFTPlugin/FFTPlugin.a FloatArrayPlugin/FloatArrayPlugin.a GeniePlugin/GeniePlugin.a JPEGReaderPlugin/JPEGReaderPlugin.a Klatt/Klatt.a LargeIntegers/LargeIntegers.a Matrix2x3Plugin/Matrix2x3Plugin.a MiscPrimitivePlugin/MiscPrimitivePlugin.a StarSqueakPlugin/StarSqueakPlugin.a -lm vm/vm.a
ld: Undefined symbols:
_getNextWakeupTick
_interpret
_interpreterVersion
_printCallStack
_readImageFromFileHeapSizeStartingAt
_setInterruptCheckCounter
_success
make: *** [squeak] Error 1
bash-2.05a$ 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Anyone has already succeed to compile the VM under MacOSX?

Alexandre


On Fri, Aug 22, 2003 at 10:45:51AM -0700, Ned Konz wrote:
> On Friday 22 August 2003 10:28 am, Alexandre Bergel wrote:
> 
> > I get a copy of the source from sourceforge, run VMMaker to
> > generate the plugin and the interpreter. then I run the unix script
> > configure (the one present under the unix folder)
> 
> Please try Ian's latest, the 3.6-beta5 VM. I don't know if he has 
> updated SourceForge yet.
> http://www-sor.inria.fr/~piumarta/squeak/
> 
> You shouldn't run the configure in the platforms/unix/config directory 
> itself; you should do this:
> 
> $ ls
> platforms src
> $ mkdir build
> $ cd build
> $ ../platforms/unix/config/configure
> $ make
> $ sudo make install
> 
> -- 
> Ned Konz
> http://bike-nomad.com
> GPG key ID: BEEA7EFE
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



More information about the Squeak-dev mailing list