aMule Forum
English => Compilation problems => Topic started by: setabi on April 08, 2005, 02:32:08 PM
-
Hi folks,
I'm trying to build the lastest CVS version without luck... here's the output:
make[4]: Entering directory `/home/luca/tmp/amule-cvs/src'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DUSE_WX_TRAY -I/usr/l
ib/wx/include/gtk2-unicode-release-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CAST
S -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/g
tk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/fr
eetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-
2.0/include -D__GTK2__ -DCLIENT_GUI -DEC_REMOTE -DNO_GCC_PRAGMA -DUSE_EMBEDD
ED_CRYPTO -MT amulegui-FriendListCtrl.o -MD -MP -MF ".deps/amulegui-FriendLis
tCtrl.Tpo" \
-c -o amulegui-FriendListCtrl.o `test -f 'FriendListCtrl.cpp' || echo './'`Fri
endListCtrl.cpp; \
then mv -f ".deps/amulegui-FriendListCtrl.Tpo" ".deps/amulegui-FriendListCtrl.Po
"; \
else rm -f ".deps/amulegui-FriendListCtrl.Tpo"; exit 1; \
fi
FriendListCtrl.cpp:50:2: warning: #warning REMOVE WHEN EC IS CODED!
In file included from FriendListCtrl.cpp:51:
FriendList.h:67:3: warning: #warning THIS MUST BE MADE PRIVATE AFTER EC IS CODED
FriendListCtrl.cpp:98:3: warning: #warning CORE/GUI
FriendListCtrl.cpp:121:3: warning: #warning CORE/GUI
FriendListCtrl.cpp:140:3: warning: #warning CORE/GUI
FriendListCtrl.cpp:155:3: warning: #warning CORE/GUI
FriendListCtrl.cpp:189:3: warning: #warning EC: ASK THE LIST TO CORE!
FriendListCtrl.cpp:265:4: warning: #warning CORE/GUI!
FriendListCtrl.cpp:298:5: warning: #warning EC: We need a reply packet with a full CUpDownClient
FriendListCtrl.cpp:314:4: warning: #warning CORE/GUI!
FriendListCtrl.cpp:326:3: warning: #warning CORE/GUI!
FriendListCtrl.cpp: In member function `void CFriendListCtrl::OnSetFriendslot(wxCommandEvent&)':
FriendListCtrl.cpp:333: error: `wxMessageBox' undeclared (first use this function)
FriendListCtrl.cpp:333: error: (Each undeclared identifier is reported only once for each function it appears in.
)
make[4]: *** [amulegui-FriendListCtrl.o] Error 1
make[4]: Leaving directory `/home/luca/tmp/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/luca/tmp/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/luca/tmp/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/luca/tmp/amule-cvs'
make: *** [all] Error 2
-
I got the same also, its seams like the cvs from today and yesterday are borked.
"wxMessageBox' undeclared (first use this function)". Probably missed some header or so.
I edited FriendListCtrl.h and added #include there. Seems to compile further now :D
-
Has been fixed on CVS. Next snapshot should work.
-
Strange...
I've compiled both 20050407 & 20050408 without any problems.
-
I know it works with wx2.4.2, but I'm guessing that one of the wx2.5.x releases were missing an include the others had and hence broke. In either case, the missing include has been added to the file, so it should work with any version now.
-
I've got 2.5.4, as I said, it compiled well.
-
I think at this point most of the devs use 2.5.5 or 2.4.2. We don't bother to test every point release of the unstable wx-branch. ;)
-
2.5.3 worked too.