Some background: I am trying to compile just the amule-gui and amule-cmd, for windows. This is for 6 users who use it to connect to a server which runs the daemon and the webinterface. Each user has it's own category. amule-cmd is used for integrating ed2k-links into the browser, amule-gui is used for management of the downloads. Downloaded files are stored on a samba share.
The --enable-daemon option is indeed wrong here, my bad. But amulecmd should compile, it has worked befor for me. I do not have MSVC.
I thought maybe the --enable-optimize --enable-profile --enable-static options were the problem, but that't not a fix either.
./configure --with-crypto-prefix=/mingw --disable-monolithic --enable-amulecmd \
--enable-amule-gui --enable-wxcas --disable-ed2k --disable-upnp --disable-xas \
--disable-nls
same error:
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DNOMINMAX -D__DEBUG__ -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -DUSE_WX_EXTENSIONS -I/usr/local/lib/wx/include/msw-unicode-debug-static-2.8 -I/usr/local/include/wx-2.8 -D__WXDEBUG__ -D__WXMSW__ -DwxUSE_GUI=0 -I./libs -Ilibs -I./include -I/mingw/include -D__WEAK_CRYPTO__ -DEC_REMOTE -DECSOCKET_USE_EVENTS=0 -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -mthreads -MT amulecmd-ExternalConnector.o -MD -MP -MF ".deps/amulecmd-ExternalConnector.Tpo" -c -o amulecmd-ExternalConnector.o `test -f 'ExternalConnector.cpp' || echo './'`ExternalConnector.cpp; \
then mv -f ".deps/amulecmd-ExternalConnector.Tpo" ".deps/amulecmd-ExternalConnector.Po"; else rm -f ".deps/amulecmd-ExternalConnector.Tpo"; exit 1; fi
In file included from C:/msys/1.0/local/include/wx-2.8/wx/filefn.h:29,
from C:/msys/1.0/local/include/wx-2.8/wx/file.h:21,
from C:/msys/1.0/local/include/wx-2.8/wx/textfile.h:23,
from C:/msys/1.0/local/include/wx-2.8/wx/fileconf.h:20,
from ./libs/ec/cpp/ECFileConfig.h:28,
from ExternalConnector.cpp:62:
c:/mingw/include/sys/stat.h:160: warning: `int _stat(const char*, _stat*)' hides constructor for `struct _stat'
c:/mingw/include/sys/stat.h:167: warning: `int stat(const char*, stat*)' hides constructor for `struct stat'
c:/mingw/include/sys/stat.h:173: warning: `int _stati64(const char*, _stati64*)' hides constructor for `struct _stati64'
ExternalConnector.cpp: In member function `virtual bool CaMuleExternalConnector::OnInit()':
ExternalConnector.cpp:569: error: `wxHandleFatalExceptions' was not declared in this scope
ExternalConnector.cpp:569: warning: unused variable 'wxHandleFatalExceptions'
make[3]: *** [amulecmd-ExternalConnector.o] Error 1
make[3]: Leaving directory `/home/Wouter/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Wouter/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Wouter/amule-cvs'
make: *** [all] Error 2
edit:
Ah, ok GonoszTopi