aMule Forum

English => Compilation problems => Topic started by: Sheridan on March 03, 2007, 06:27:32 PM

Title: Unable to compile 20070303cvs
Post by: Sheridan on March 03, 2007, 06:27:32 PM
Compiling the 2.13 stable version runs like a charm. On the contrary if I try to compile today cvs I get an error launching make

*****************
/usr/include/wx-2.6/wx/clntdata.h:26: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/wx-2.6/wx/clntdata.h: In member function ‘wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowO        bjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const’:
/usr/include/wx-2.6/wx/clntdata.h:31: warning: dereferencing type-punned pointer will break strict-aliasing rules
extern/wxWidgets/listctrl.cpp: In member function ‘int MuleExtern::wxListLineDataArray::Index(const MuleExtern::_wxObjAr        raywxListLineDataArray&, bool) const’:
extern/wxWidgets/listctrl.cpp:363: warning: declaration of ‘Item’ shadows a member of 'this'
extern/wxWidgets/listctrl.cpp: In member function ‘bool MuleExtern::wxListItemData::IsHit(int, int) const’:
extern/wxWidgets/listctrl.cpp:924: error: ‘class wxRect’ has no member named ‘Contains’
extern/wxWidgets/listctrl.cpp: In member function ‘long int MuleExtern::wxListMainWindow::HitTestLine(size_t, int, int)         const’:
extern/wxWidgets/listctrl.cpp:2343: error: ‘class wxRect’ has no member named ‘Contains’
extern/wxWidgets/listctrl.cpp:2354: error: ‘class wxRect’ has no member named ‘Contains’
extern/wxWidgets/listctrl.cpp: In member function ‘bool MuleExtern::wxGenericListCtrl::Create(wxWindow*, wxWindowID, con        st wxPoint&, const wxSize&, long int, const wxValidator&, const wxString&)’:
extern/wxWidgets/listctrl.cpp:4864: error: ‘SetInitialSize’ was not declared in this scope
make[3]: *** [libmuleappgui_a-listctrl.o] Error 1
make[3]: Leaving directory `/home/stefano/download/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/stefano/download/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stefano/download/amule-cvs'
make: *** [all] Error 2
*************************

wxGTK packets installed are:

wxGTK-gl-2.6.3.3-30
wxGTK-compat-2.6.3.3-30
wxGTK-2.6.3.3-30.2
wxGTK-devel-2.6.3.3-30

My distro is Suse 10.2

Thanks for your help

Title: Re: Unable to compile 20070303cvs
Post by: Kry on March 03, 2007, 09:44:52 PM
Blame phoenix. it'll be ok tomorrow.
Title: Re: Unable to compile 20070303cvs
Post by: phoenix on March 03, 2007, 11:47:30 PM
It is already fixed, my second commit just didn't make it on time to the tarball...

Try with tomorrow tarball and report, please.
Title: Re: Unable to compile 20070303cvs
Post by: Sheridan on March 04, 2007, 12:37:00 PM
Now it's fine. I've compiled the source code succesfully.

To start Amule I need to add the flag --even-if-lfroen-complains-this-will-stay. What the hell is that?  ;D

Ciao
Title: Re: Unable to compile 20070303cvs
Post by: phoenix on March 04, 2007, 09:56:47 PM
Kry can give you a very good explanation. But he probably won't. :P
Title: Re: Unable to compile 20070303cvs
Post by: Kry on March 05, 2007, 02:20:08 AM
It's all about cheese and the moon and brown sugar.