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 <[hidden email],gentoo.org,php.net> |
I'm wondering about your compiler setup. Normally after installing GCC via XCode on os-x you would have /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/ include/xmmintrin.h & /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/xmmintrin.h where /usr/lib/gcc/i686-apple-darwin8/4.0.1/include/xmmintrin.h -rw-r--r-- 1 root wheel 39019 Sep 27 2006 /usr/lib/gcc/i686- apple-darwin8/4.0.1/include/xmmintrin.h first line says /* APPLE LOCAL file mainline 2005-06-30 Radar 4131077 */ However googling gives clues. Say for example http://www.nabble.com/Re:-keywording-p7851365.html On Jun 7, 2007, at 4:46 AM, Anant Narayanan wrote: > > 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 > <[hidden email],gentoo.org,php.net> -- ======================================================================== === John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== === |
Free forum by Nabble | Edit this page |