[Vm-dev] Building Squeak 3.9-9 on an Intel Mac

Anant Narayanan anant at kix.in
Thu Jun 7 11:46:58 UTC 2007


Hi All,

I know this question has been asked on the Mailing List several times,
but I couldn't find any solution to my specific problem in the archives.

I'm trying to build Squeak on an Intel Macbook Pro. I have all the build
pre-requisites. I downloaded Squeak-3.9-9.src.tar.gz, untarred it and:

$ cd Squeak-3.9-9
$ mkdir build
$ cd build
$ ../platforms/unix/config/configure
<successful>
$ make

I get the following error(s):

In file included from
<snip>/CarbonCore.framework/Headers/MachineExceptions.h:29, from
<snip>/CarbonCore.framework/Headers/DriverServices.h:32, from
<snip>/CarbonCore.framework/Headers/CarbonCore.h:125, from
<snip>/CoreServices.framework/Headers/CoreServices.h:21,from
/Users/anant/sq/Squeak-3.9-9/platforms/unix/vm/mac-alias.c:7, from
/Users/anant/sq/Squeak-3.9-9/platforms/unix/vm/sqUnixMain.c:1405:
/Users/anant/gentoo/prefix/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/xmmintrin.h:35:3:
error: #error "SSE instruction set not enabled"

In file included from
<snip>/CarbonCore.framework/Headers/DriverServices.h:32, from
<snip>/CarbonCore.framework/Headers/CarbonCore.h:125, from
<snip>/CoreServices.framework/Headers/CoreServices.h:21, from
/Users/anant/sq/Squeak-3.9-9/platforms/unix/vm/mac-alias.c:7, from
/Users/anant/sq/Squeak-3.9-9/platforms/unix/vm/sqUnixMain.c:1405:
<snip>/CarbonCore.framework/Headers/MachineExceptions.h:254: error:
syntax error before '__m128'
<snip>/CarbonCore.framework/Headers/MachineExceptions.h:256: error:
syntax error before 'sd'
<snip>/CarbonCore.framework/Headers/MachineExceptions.h:258: error:
syntax error before '}' token
<snip>/CarbonCore.framework/Headers/MachineExceptions.h:261: error:
array type has incomplete element type
make[1]: *** [sqUnixMain.o] Error 1

The first error is eliminated by exporting `-msse' into CFLAGS; however
I have no idea what the second one is about. A Google search shows that
it *appears* to be something to do with the `inline' -> `__inline'
confusion, but that's just a hunch.

Any ideas? I'm ultimately planning to port Squeak to Plan 9, but I can't
even seem to get past this first step :/

Help would be appreciated :)

Regards,
-- 
Anant Narayanan
http://www.kix.in/
gpg --recv-keys 0EF6914E
<anant at kix.in,gentoo.org,php.net>


More information about the Vm-dev mailing list