Not an error, but a warning which concerns me a little bit:
amuled.cpp: In member function ‘virtual int CamuleDaemonApp::OnExit()’:
amuled.cpp:484: warning: possible problem detected in invocation of delete operator:
amuled.cpp:484: warning: invalid use of undefined type ‘struct CListenSocket’
amule.h:49: warning: forward declaration of ‘struct CListenSocket’
amuled.cpp:484: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
amuled.cpp:487: warning: possible problem detected in invocation of delete operator:
amuled.cpp:487: warning: invalid use of undefined type ‘struct CClientUDPSocket’
amule.h:55: warning: forward declaration of ‘struct CClientUDPSocket’
amuled.cpp:487: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
The GCC version is 4.1.0.
Re-adding
#include "ClientUDPSocket.h"
#include "ListenSocket.h
to amuled.cpp makes the warning disappear again.