Hey,
I am trying to build open tool chain for iphone development. I am following exactly guideline on iphone-dev.org. I even bought Johathan Zdziarski's book. When I tried to build odcctools, I got error message as this:
../odcctools/otool/ofile_print.c
In file included from ../../../odcctools/include/libkern/OSByteOrder.h:70,
from ../../../odcctools/include/architecture/byte_order.h:34,
from ../../../odcctools/include/mach-o/fat.h:46,
from ../../../odcctools/otool/ofile_print.c:204:
../../../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

I am using Mac OS X Leopard, and latest Iphone dev sdk from apple published two days ago.

Please help

Thanks in advance.