kasbert / OS-X-SAT-SMART-Driver

Max OS X kernel driver for providing access to external drive SMART data
585 stars 76 forks source link

Building with Xcode Version 4.6 (4H127) #5

Closed ghost closed 11 years ago

ghost commented 11 years ago

Any luck? I have no idea what the this means and absolutely no idea how to fix it.

\ BUILD FAILED **

The following build commands failed: CompileC build/SATSMARTDriver.build/Release/SATSMARTDriver.build/Objects-normal/x86_64/IOSATServices.o IOSATServices.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure)

FYI: $ xcodebuild -showsdks OS X SDKs: Mac OS X 10.5 -sdk macosx10.5 Mac OS X 10.6 -sdk macosx10.6 Mac OS X 10.7 -sdk macosx10.7 OS X 10.8 -sdk macosx10.8

kasbert commented 11 years ago

Have you tried compiling it for 10.8 ? Replace all references to 10.6 with 10.8 in SATSMARTDriver.xcodeproj

Gnome:SATSMARTDriver.xcodeproj kasper$ fgrep 10.6 * project.pbxproj: HEADER_SEARCH_PATHS = /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers; project.pbxproj: HEADER_SEARCH_PATHS = /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers; project.pbxproj: SDKROOT = macosx10.6; project.pbxproj: SDKROOT = macosx10.6; project.pbxproj: HEADER_SEARCH_PATHS = /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/; project.pbxproj: HEADER_SEARCH_PATHS = /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/IOKit.framework/Versions/A/Headers/;

Check that the paths are valid.

I have only Xcode 3.2.6 in Mac OS X 10.6.8. There is no more a working Xcode 4 for Snow Leopard.

kasbert commented 11 years ago

Compiling should work now. See issue #8