cd libstuff && make
make[1]: Nothing to be done for `default'.
cd ar && make
make[1]: Nothing to be done for `default'.
cd as && make
cd ppc && make
make[2]: Nothing to be done for `default'.
cd ppc64 && make
make[2]: Nothing to be done for `default'.
cd i386 && make
make[2]: Nothing to be done for `default'.
cd x86_64 && make
make[2]: Nothing to be done for `default'.
cd include && make
make[1]: Nothing to be done for `default'.
cd libmacho && make
make[1]: Nothing to be done for `default'.
cd ld && make
make[1]: Nothing to be done for `default'.
cd ld64 && make
g++ -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DDEBUG -I/opt/local/include -I. -I. -I./src -I..//include -I../include -O2 -fno-builtin-round -fno-builtin-trunc -no-cpp-precomp -O2 -mdynamic-no-pic -c -o ld.o ./src/ld.cpp
In file included from ./src/MachOWriterExecutable.hpp:39,
from ./src/ld.cpp:55:
..//include/mach/ppc/thread_status.h:44:1: warning: "THREAD_STATE_NONE" redefined
In file included from ..//include/mach/machine/thread_status.h:29,
from ..//include/mach/thread_status.h:70,
from ..//include/mach/exception_types.h:147,
from ..//include/mach/mach_types.h:75,
from ..//include/mach/mach_time.h:26,
from ./src/ld.cpp:33:
..//include/mach/i386/thread_status.h:84:1: warning: this is the location of the previous definition
In file included from ./src/MachOWriterExecutable.hpp:39,
from ./src/ld.cpp:55:
..//include/mach/ppc/thread_status.h:53:1: warning: "VALID_THREAD_STATE_FLAVOR" redefined
In file included from ..//include/mach/machine/thread_status.h:29,
from ..//include/mach/thread_status.h:70,
from ..//include/mach/exception_types.h:147,
from ..//include/mach/mach_types.h:75,
from ..//include/mach/mach_time.h:26,
from ./src/ld.cpp:33:
..//include/mach/i386/thread_status.h:100:1: warning: this is the location of the previous definition
In file included from ./src/MachOWriterExecutable.hpp:39,
from ./src/ld.cpp:55:
..//include/mach/ppc/thread_status.h:153:1: warning: "MACHINE_THREAD_STATE" redefined
In file included from ..//include/mach/machine/thread_status.h:29,
from ..//include/mach/thread_status.h:70,
from ..//include/mach/exception_types.h:147,
from ..//include/mach/mach_types.h:75,
from ..//include/mach/mach_time.h:26,
from ./src/ld.cpp:33:
..//include/mach/i386/thread_status.h:269:1: warning: this is the location of the previous definition
In file included from ./src/MachOWriterExecutable.hpp:39,
from ./src/ld.cpp:55:
..//include/mach/ppc/thread_status.h:154:1: warning: "MACHINE_THREAD_STATE_COUNT" redefined
In file included from ..//include/mach/machine/thread_status.h:29,
from ..//include/mach/thread_status.h:70,
from ..//include/mach/exception_types.h:147,
from ..//include/mach/mach_types.h:75,
from ..//include/mach/mach_time.h:26,
from ./src/ld.cpp:33:
..//include/mach/i386/thread_status.h:270:1: warning: this is the location of the previous definition
./src/MachOWriterExecutable.hpp: In member function ‘uint64_t mach_o::executable::ThreadsLoadCommandsAtom::getSize() const [with A = x86_64]’:
./src/MachOWriterExecutable.hpp:4644: error: ‘x86_THREAD_STATE64_COUNT’ was not declared in this scope
./src/MachOWriterExecutable.hpp: In member function ‘void mach_o::executable::ThreadsLoadCommandsAtom::copyRawContent(uint8_t*) const [with A = x86_64]’:
./src/MachOWriterExecutable.hpp:4706: error: ‘x86_THREAD_STATE64’ was not declared in this scope
./src/MachOWriterExecutable.hpp:4707: error: ‘x86_THREAD_STATE64_COUNT’ was not declared in this scope
make[1]: *** [ld.o] Error 1
make: *** [ld64] Error 2