[kismac] Re: Compiling-problems on new Intel-iMac

  • From: Geoffrey Kruse <gkruse@xxxxxxxxxxxxxx>
  • To: kismac@xxxxxxxxxxxxx
  • Date: Sat, 11 Feb 2006 11:12:43 -0700

Unfortunately, there are some other problems besides the cpu flag. While the cpu flag can be set differently for different architectures, there is some altivec specific code that somehow needs to be addressed. Also, the atheros driver uses a binary only hardware abstraction layer. This issue will also have to be addressed. I am opening a ticket in trac for intel compilation, however i expect it to take a fair amount of effort to get this to work.

Geoff
On Feb 11, 2006, at 5:48 AM, Mike Williams wrote:

Ahh - I tried to set it to x86 or something - without this option it works...
_but_ nor I get this problem.


I'm using a default installation of MacOS and developer-tools.
I was able to build release 65 without problem - after 65 no build was compiled without problems.
----------------------------------------------------
Distributed-CompileC build/KisMAC.build/Deployment/KisMAC.build/ Objects-normal/ppc/ScanControllerMenus.o /Users/Mike/kismac/bi/ KisMACng/Sources/Controller/ScanControllerMenus.m normal ppc objective-c com.apple.compilers.gcc.4_0
cd /Users/Mike/kismac/bi/KisMACng
setenv DISTCC_COMPILER "gcc version 4.0.1 (Apple Computer, Inc. build 5250)"
setenv DISTCC_HOSTS localhost/2
setenv DISTCC_SYSTEM "10.4.4 (i386)"
/usr/bin/distcc /usr/bin/gcc-4.0 -x objective-c -arch ppc -pipe -Wno-trigraphs -fobjc-exceptions -fpascal-strings -fasm-blocks -g - Os -fmessage-length=0 -fobjc-direct-dispatch -funroll-loops - mtune=G4 -fvisibility=hidden -mmacosx-version-min=10.4 -I/Users/ Mike/kismac/bi/KisMACng/build/KisMAC.build/Deployment/KisMAC.build/ KisMAC.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas - Wall -mdynamic-no-pic -fpch-preprocess -F/Users/Mike/kismac/bi/ KisMACng/build/Deployment -F/Users/Mike/kismac/bi/KisMACng/ Subprojects/files -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/ PrivateFrameworks -F/Users/Mike/kismac/bi/KisMACng/UnitTest -I/ Users/Mike/kismac/bi/KisMACng/build/Deployment/include -I/Users/ Mike/kismac/bi/KisMACng/build/KisMAC.build/Deployment/KisMAC.build/ DerivedSources -force_cpusubtype_ALL -isysroot /Developer/SDKs/ MacOSX10.4u.sdk -c /Users/Mike/kismac/bi/KisMACng/Sources/ Controller/ScanControllerMenus.m -o /Users/Mike/kismac/bi/KisMACng/ build/KisMAC.build/Deployment/KisMAC.build/Objects-normal/ppc/ ScanControllerMenus.o
/Users/Mike/kismac/bi/KisMACng/Sources/Controller/ ScanControllerMenus.m:26:42: error: BIGeneric/ ColoredRowTableView.h: No such file or directory
/Users/Mike/kismac/bi/KisMACng/Sources/Controller/ ScanControllerMenus.m:26:42: error: BIGeneric/ ColoredRowTableView.h: No such file or directory
In file included from /Users/Mike/kismac/bi/KisMACng/Sources/ Controller/ScanControllerMenus.m:29:
/Users/Mike/kismac/bi/KisMACng/Sources/Controller/ ScanControllerScriptable.h:27:32: error: BIGeneric/BIGeneric.h: No such file or directory
In file included from /Users/Mike/kismac/bi/KisMACng/Sources/ Controller/../WindowControllers/DownloadMapController.h:26,
from /Users/Mike/kismac/bi/KisMACng/Sources/ Controller/ScanControllerMenus.m:31:
/Users/Mike/kismac/bi/KisMACng/Sources/Support/GPSController.h: 27:34: error: BIGeneric/BIValuePair.h: No such file or directory
In file included from /Users/Mike/kismac/bi/KisMACng/Sources/ Controller/ScanControllerMenus.m:29:
/Users/Mike/kismac/bi/KisMACng/Sources/Controller/ ScanControllerScriptable.h:27:32: error: BIGeneric/BIGeneric.h: No such file or directory
In file included from /Users/Mike/kismac/bi/KisMACng/Sources/ Controller/ScanControllerMenus.m:29:
/Users/Mike/kismac/bi/KisMACng/Sources/Controller/ ScanControllerScriptable.h:48: error: parse error before 'waypoint'
/Users/Mike/kismac/bi/KisMACng/Sources/Controller/ ScanControllerScriptable.h:49: fatal error: method definition not in @implementation context
compilation terminated.
{standard input}:10:FATAL:.abort detected. Assembly stopping.
distcc[3324] ERROR: compile /Users/Mike/kismac/bi/KisMACng/Sources/ Controller/ScanControllerMenus.m on localhost failed
** BUILD FAILED **





Am 11.02.2006 um 12:59 schrieb Thomas Kollbach:


Am 11.02.2006 um 12:37 schrieb Mike Williams:

cc1obj: error: invalid option 'cpu=G3'
** BUILD FAILED **

Seems that the buildoptions set the CPU to G3, wich of course does not exist on an Intel arcitecture.


You need to open all the xcodeproj-files and look at the "Target"- Get Info dialog. In the build Tab you'll find "Other C Flags" from wich you have to remove "-mcpu=G3"

Be sure to do that for the KisMac.xcodeproject as well as for all the projects in the /Subprojects directory.


toto



Other related posts: