swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] intel mac swarm trouble


From: Bill Northcott
Subject: Re: [Swarm-Support] intel mac swarm trouble
Date: Wed, 13 Sep 2006 10:08:32 +1000

Hi Brandon

On 12/09/2006, at 9:56 PM, Brandon M. Gabler wrote:
brandon-gablers-computer:~ StrayHawk$ cd swarm/
brandon-gablers-computer:~/swarm StrayHawk$ cd heatbugs/
brandon-gablers-computer:~/swarm/heatbugs StrayHawk$ make clean
rm -f Heatbug.o HeatSpace.o main.o HeatbugModelSwarm.o HeatbugObserverSwarm.o HeatbugBatchSwarm.o heatbugs .libs/heatbugs .libs/lt-heatbugs core gmon.out
heatbugs.core
brandon-gablers-computer:~/swarm/heatbugs StrayHawk$ make
gcc -B ../../tools -c -g -O2 -arch ppc -Wno-long-double -B /tools - fgnu-runtime
-fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long
-D_GNU_SOURCE -DAPPNAME=heatbugs -DAPPVERSION=2.1.1
address@hidden -I/usr/local/swarm2.2/include Heatbug.m In file included from /usr/local/swarm2.2/include/objc/ typedstream.h:31,
                 from /usr/local/swarm2.2/include/objc/Object.h:31,
                 from /usr/local/swarm2.2/include/defobj/deftype.h:35,
                 from /usr/local/swarm2.2/include/defobj.h:80,
                 from /usr/local/swarm2.2/include/objectbase.h:34,
                 from /usr/local/swarm2.2/include/space.h:37,
                 from Heatbug.h:8,
                 from Heatbug.m:13:
//usr/local/swarm2.2/include/objc/hash.h:34:30: error: string.h: No such file or
directory

In my version of heatbugs/hash.h line 34 reads:
#include <string.h> // strcmp

Since string.h is enclosed in <> the preprocessor should look for it first in any specified -I option directories and then in its standard header search path. It should have found it pretty quickly in /usr/ include. It should not look in /usr/local/swarm2.2/include/objc at all. It should only be looking there if the line read:
#include "string.h" // strcmp

There seems to be something adrift with your compiler setup. What is your gcc? Try gcc -v.
[PM-G5BN:apps/objc/heatbugs] billn% gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5363.obj~28/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^ [cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 -- with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc- apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5363)

If it looks OK then try running the Developer Tools uninstall.pl script on the Xcode disk, delete /Developer and try reinstalling the Developer Tools.

Bill


reply via email to

[Prev in Thread] Current Thread [Next in Thread]