Rev 10400 should be fixed for that specific problem.
When posting a compilation output file like above, please use make -j1 instead of -j8 so that the error is more clear and threads don't overlap output with each other on the terminal.
The fix is just:
Index: D:/Development/aMule/amule-dev/src/PlatformSpecific.cpp
===================================================================
--- D:/Development/aMule/amule-dev/src/PlatformSpecific.cpp (revision 10399)
+++ D:/Development/aMule/amule-dev/src/PlatformSpecific.cpp (revision 10400)
@@ -320,6 +320,7 @@
#ifdef __WXMAC__
// 10.5 only
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
+ #include <IOPMLib.h>
static IOPMAssertionID assertionID;
#else
#warning Power event vetoing not implemented.
So you can edit the file and make the addition manually if you don't want to wait.