aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Unable to compile 20070303cvs  (Read 2891 times)

Sheridan

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Unable to compile 20070303cvs
« 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

Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Unable to compile 20070303cvs
« Reply #1 on: March 03, 2007, 09:44:52 PM »

Blame phoenix. it'll be ok tomorrow.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Unable to compile 20070303cvs
« Reply #2 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.
Logged

Sheridan

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Unable to compile 20070303cvs
« Reply #3 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
« Last Edit: March 04, 2007, 04:05:31 PM by Sheridan »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Unable to compile 20070303cvs
« Reply #4 on: March 04, 2007, 09:56:47 PM »

Kry can give you a very good explanation. But he probably won't. :P
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Unable to compile 20070303cvs
« Reply #5 on: March 05, 2007, 02:20:08 AM »

It's all about cheese and the moon and brown sugar.
Logged