Same or at least very similar problem here in Proxy.cpp, line 175:
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/wx/include/gtk2-unicode-release-static-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -DwxUSE_GUI=0 -I./libs -Ilibs -DAMULE_DAEMON -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -MT amuled-Proxy.o -MD -MP -MF ".deps/amuled-Proxy.Tpo" -c -o amuled-Proxy.o `test -f 'Proxy.cpp' || echo './'`Proxy.cpp; \
then mv -f ".deps/amuled-Proxy.Tpo" ".deps/amuled-Proxy.Po"; else rm -f ".deps/amuled-Proxy.Tpo"; exit 1; fi
Proxy.cpp: In member function ‘bool CProxyStateMachine::Start(const wxIPaddress&, wxSocketClient*)’:
Proxy.cpp:175: error: expected unqualified-id before ‘&’ token
Proxy.cpp:175: error: ISO C++ forbids declaration of ‘type name’ with no type
Proxy.cpp:175: error: expected `)' before ‘&’ token
Proxy.cpp:175: error: expected `{' before ‘&’ token
Proxy.cpp:175: error: ‘e’ was not declared in this scope
Proxy.cpp:175: error: expected `;' before ‘)’ token
Proxy.cpp: In member function ‘virtual wxDatagramSocket& CDatagramSocketProxy::RecvFrom(wxSockAddress&, void*, wxUint32)’:
Proxy.cpp:1377: error: expected unqualified-id before ‘&’ token
Proxy.cpp:1377: error: ISO C++ forbids declaration of ‘type name’ with no type
Proxy.cpp:1377: error: expected `)' before ‘&’ token
Proxy.cpp:1377: error: expected `{' before ‘&’ token
Proxy.cpp:1377: error: ‘e’ was not declared in this scope
Proxy.cpp:1377: error: expected `;' before ‘)’ token
make[3]: *** [amuled-Proxy.o] Fehler 1
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Fehler 2
Try the attached patch.