有没有人在mac os x 10.6.7或8,MacOSX10.6.sdk环境下编译通过toolchain?
下载了一个代码,编译了一把,编译不通过:
In file included from ../../../odcctools/include/libkern/OSByteOrder.h:70,
from ../../../odcctools/include/mach/ndr.h:94,
from ../../../odcctools/include/mach/clock_priv.h:7,
from ../../../odcctools/include/mach/mach_interface.h:37,
from ../../../odcctools/include/mach/mach.h:62,
from ../../../odcctools/libstuff/execute.c:25:
../../../odcctools/include/libkern/machine/OSByteOrder.h:45: error: redefinition of
‘_OSSwapInt16’
/usr/include/libkern/i386/_OSByteOrder.h:49: error: previous definition of ‘_OSSwapInt16’ was
here
../../../odcctools/include/libkern/machine/OSByteOrder.h:54: error: redefinition of
‘_OSSwapInt32’
/usr/include/libkern/i386/_OSByteOrder.h:58: error: previous definition of ‘_OSSwapInt32’ was
here
../../../odcctools/include/libkern/machine/OSByteOrder.h:63: error: redefinition of
‘_OSSwapInt64’
/usr/include/libkern/i386/_OSByteOrder.h:69: error: previous definition of ‘_OSSwapInt64’ was
here
make[1]: *** [execute.o] Error 1
make: *** [libstuff] Error 2
按照网上的修改:
export INCPRIVEXT=”-isysroot /Developer/SDKs/MacOSX10.6.sdk”
再编译,错误依然。。。。。。