Results of build latest 1.2.3 realease on Debian Stable Woody, gcc-2.9.5.4, on EPIA M10000.
System is: Linux freedom 2.4.21-xfs #1 vr dec 5 20:53:29 CET 2003 i686 unknown
ViA C3 is C3-2 so support i686 optimisation (fully cmov compatible)
BUILD of wxBase:
CXXFLAGS="-march=i686 -malign-double -fomit-frame-pointer -pipe" ../configure --prefix=/opt/wx --enable-shared --disable-gui --enable-soname --with-zlib=sys --enable-std_iostreams --enable-intl
BUILD on wxGTK:
CXXFLAGS="-march=i686 -malign-double -fomit-frame-pointer -pipe" ../configure --prefix=/opt/wx --disable-gtk2 --enable-timedate --enable-gui --enable-protocol --enable-http --enable-ftp --enable-resources --enable-prologio --disable-debug --enable-final --enable-timer --with-gtk --disable-profile --enable-soname --enable-dynamic-loader --enable-std_iostreams --enable-intl
BUILD of Curl:
CXXFLAGS="-O2 -march=i686 -malign-double -fomit-frame-pointer -pipe" CFLAGS="-O2 -march=i686 -malign-double -fomit-frame-pointer -pipe" ./configure --prefix=/opt/curl --disable-ipv6
BUILD of aMule 1.2.3:
The compilation need to modify the line 1962 in file src/Webserver.cpp:
replace:
Out.Replace("[ClearCompletedButton]",(completedAv && IsSessionAdmin(Data,sSession))?pThis->m_Templates.sClearCompleted :"");
by
Out.Replace("[ClearCompletedButton]",(completedAv &&
IsSessionAdmin(Data,sSession))?pThis->m_Templates.sClearCompleted :wxString(""));
Then
CXXFLAGS="-O2 -march=i686 -malign-double -fomit-frame-pointer -pipe" CFLAGS="-O2 -march=i686 -malign-double -fomit-frame-pointer -pipe" ./configure --prefix=/opt/amule --with-wx-prefix=/opt/wx --with-wxbase-prefix=/opt/wx --with-wxbase-config=/opt/wx/bin/wxbase-2.4-config --with-wx-config=/opt/wx/bin/wx-config --with-curl-config=/opt/curl/bin/curl-config --enable-optimise --disable-gtk --disable-systray --with-gnu-ld --enable-nls
The new aMule is in testing now and seems to work fine (i love aMule !) EXCEPT the webserver. Is the procedure different from 1.2.1 version to start it ?
the polish
PS: Happy new year !!
PS2: this is the warnig obtained during aMule compilation:
amulecmd-TextClient.o: In function `GetCommand(char *)':
/root/aMule-1.2.3/src/TextClient.cpp:140: the `gets' function is dangerous and should not be used.
WebServer.cpp:698: warning: #warning TODO: _SetSharedFilePriority
WebServer.cpp:1944: warning: #warning FIXME file priorities
WebServer.cpp:2243: warning: #warning wxPostEvent here
WebServer.cpp:2699: warning: #warning TODO implement this
WebServer.cpp:2711: warning: #warning TODO implement this
WebServer.cpp:2785: warning: #warning cant do this
WebServer.cpp:2832: warning: #warning cant do this
WebServer.cpp:2854: warning: #warning cant do this
WebServer.cpp:3217: warning: #warning cant do this
amuleweb-WebServer.o: In function `GetCommand(char *)':
/root/aMule-1.2.3/src/WebServer.cpp:128: the `gets' function is dangerous and should not be used.
WebServer.cpp:698: warning: #warning TODO: _SetSharedFilePriority
WebServer.cpp:1944: warning: #warning FIXME file priorities
WebServer.cpp:2243: warning: #warning wxPostEvent here
WebServer.cpp:2699: warning: #warning TODO implement this
WebServer.cpp:2711: warning: #warning TODO implement this
WebServer.cpp:2785: warning: #warning cant do this
WebServer.cpp:2832: warning: #warning cant do this
WebServer.cpp:2854: warning: #warning cant do this
WebServer.cpp:3217: warning: #warning cant do this
ListenSocket.cpp:506: warning: #warning TODO: CHECK SPAMMERS!
BaseClient.cpp:1450: warning: #warning ADDME
BaseClient.cpp: In method `void CUpDownClient::ProcessHelloTypePacket(CSafeMemFile *)':
BaseClient.cpp:415: warning: multi-character character constant
ChatSelector.cpp:327: warning: #warning FIXME
ChatSelector.cpp: In method `uint16 CChatSelector::GetTabByClient(CUpDownClient *)':
ChatSelector.cpp:247: warning: return of negative value `-1' to `uint16'
In file included from ServerList.h:24,
from ServerListCtrl.h:23,
from sockets.h:27,
from amuleDlg.h:24,
from amule.h:30,
from CFile.cpp:156:
Preferences.h:27: warning: `MAX_PATH' redefined
CFile.cpp:134: warning: this is the location of the previous definition
DownloadQueue.cpp:90: warning: #warning : **************************
DownloadQueue.cpp:91: warning: #warning : * need to be implemented *
DownloadQueue.cpp:92: warning: #warning : **************************
ExternalConn.cpp:343: warning: #warning FIXME ExportHTML()
KnownFile.cpp:138: warning: #warning FIXME
mfc.cpp: In method `void wxVoidListNode::DeleteData()':
mfc.cpp:23: warning: `_WX_LIST_ITEM_TYPE_VoidList *' is not a pointer-to-object type
PPgStats.cpp:145: warning: #warning COLOR IS NOT SET
ServerList.cpp:403: warning: `MAX_PATH' redefined
Preferences.h:27: warning: this is the location of the previous definition
TransferWnd.cpp:391: warning: #warning TODO: fix this
TransferWnd.cpp:407: warning: #warning TODO: fix this
TransferWnd.cpp:421: warning: #warning TODO: fix this
TransferWnd.cpp:472: warning: #warning TODO: fix this