|
From: | Bill Northcott |
Subject: | [Swarm-Support] Re: Running troubles with a swarm-objc-based application on macosX |
Date: | Fri, 22 Feb 2008 08:45:17 +1100 |
On 21/02/2008, at 11:22 PM, Thomas Louail wrote:
files). But right now i'm still stucked with thatVersion -1599795008 doesn't match runtime protocol version 2 Abort trapruntime error....Don't want to bother you too long with my error stuff, but if any idea...
From your makefile
OBJCFLAGS=-ObjC -v -fgnu-runtime -fnested-functions -nostdlib -pg - ffloat-store \-g -O0 -Wall -fno-inline \ -Wno-import -Werror $(EXTRAOBJCFLAGS) \ $(ADDSWARMLIBS)ProbabilityIndexDistribution.o: base/misc/ ProbabilityIndexDistribution.h base/misc/ ProbabilityIndexDistribution.m $(OBJC) -c $(OBJCFLAGS) $(CPPFLAGS) $(DLLCPPFLAGS) $(EXTRACPPFLAGS) $(SWARMINCLUDES) base/misc/ProbabilityIndexDistribution.m
Your makefile is almost certainly the problem. You should not attempt to change any flags or define how to build any objects. All that stuff is in the included makefiles.
Look at the heatbugs makefile. All it does is define the OBJECTS, DATAFILES and dependencies - nothing else. If you try to improve it, it will break.
Also be very sure that your build tree is very clean and that you do not try to link objects compiled with gcc-3.x and gcc-4.x. They are incompatible.
Bill
[Prev in Thread] | Current Thread | [Next in Thread] |