aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20060420 doesn't compile on suse9.3 and SuSE10.0  (Read 2616 times)

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
20060420 doesn't compile on suse9.3 and SuSE10.0
« on: April 20, 2006, 07:50:00 AM »

hi,
as topic says, today's cvs doesn't compile on SuSE9.3 or 10.0, using wxGTK-2.6.3:

if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -I./libs -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef   -MT libmuleappgui_a-ChatWnd.o -MD -MP -MF ".deps/libmuleappgui_a-ChatWnd.Tpo" -c -o libmuleappgui_a-ChatWnd.o `test -f 'ChatWnd.cpp' || echo './'`ChatWnd.cpp; \
then mv -f ".deps/libmuleappgui_a-ChatWnd.Tpo" ".deps/libmuleappgui_a-ChatWnd.Po"; else rm -f ".deps/libmuleappgui_a-ChatWnd.Tpo"; exit 1; fi
In file included from listctrl.h:7,
                 from MuleListCtrl.h:30,
                 from DownloadListCtrl.h:33,
                 from CatDialog.cpp:44:
extern/listctrl.cvs.h:187:5: warning: "WXWIN_COMPATIBILITY_2_6" is not defined
In file included from listctrl.h:7,
                 from MuleListCtrl.h:30,
                 from FriendListCtrl.h:29,
                 from ChatWnd.cpp:35:
extern/listctrl.cvs.h:187:5: warning: "WXWIN_COMPATIBILITY_2_6" is not defined
In file included from /usr/local/include/wx-2.6/wx/generic/filedlgg.h:19,
                 from /usr/local/include/wx-2.6/wx/gtk/filedlg.h:18,
                 from /usr/local/include/wx-2.6/wx/filedlg.h:177,
                 from /usr/local/include/wx-2.6/wx/wx.h:79,
                 from muuli_wdr.h:16,
                 from CatDialog.cpp:52:
/usr/local/include/wx-2.6/wx/listctrl.h:29: error: conflicting types for `const
   wxChar*wxListCtrlNameStr'
extern/listctrl.cvs.h:35: error: previous declaration as `const wxChar
   wxListCtrlNameStr[]'
In file included from /usr/local/include/wx-2.6/wx/generic/filedlgg.h:19,
                 from /usr/local/include/wx-2.6/wx/gtk/filedlg.h:18,
                 from /usr/local/include/wx-2.6/wx/filedlg.h:177,
                 from /usr/local/include/wx-2.6/wx/wx.h:79,
                 from muuli_wdr.h:16,
                 from ChatWnd.cpp:38:
/usr/local/include/wx-2.6/wx/listctrl.h:29: error: conflicting types for `const
   wxChar*wxListCtrlNameStr'
extern/listctrl.cvs.h:35: error: previous declaration as `const wxChar
   wxListCtrlNameStr[]'
make[3]: *** [libmuleappgui_a-CatDialog.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [libmuleappgui_a-ChatWnd.o] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/amule-cvs'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.72958 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.72958 (%build)


cu

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: 20060420 doesn't compile on suse9.3 and SuSE10.0
« Reply #1 on: April 20, 2006, 09:38:19 AM »

Same on Ubuntu 5.10 with wxGTK 2.6.3 and Patches.
Quote
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr//lib/wx/include/gtk2-unicode-relea se-2.6 -I/usr//include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BI TS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA   -I./libs -DUSE_EMBE DDED_CRYPTO -W -Wall -Wshadow -Wundef   -MT libmuleappgui_a-CatDialog.o -MD -MP -MF ".deps/libmuleappgui_a-CatDialog.Tpo" -c -o libmuleappgui_a-CatDialog.o `tes t -f 'CatDialog.cpp' || echo './'`CatDialog.cpp; \
then mv -f ".deps/libmuleappgui_a-CatDialog.Tpo" ".deps/libmuleappgui_a-CatDialo g.Po"; else rm -f ".deps/libmuleappgui_a-CatDialog.Tpo"; exit 1; fi
In file included from listctrl.h:7,
                 from MuleListCtrl.h:30,
                 from DownloadListCtrl.h:33,
                 from CatDialog.cpp:44:
extern/listctrl.cvs.h:187:5: warning: "WXWIN_COMPATIBILITY_2_6" is not defined
/usr//include/wx-2.6/wx/listctrl.h:29: error: conflicting declaration ‘const wxC har* wxListCtrlNameStr’
extern/listctrl.cvs.h:35: error: ‘wxListCtrlNameStr’ has a previous declaration as ‘const wxChar wxListCtrlNameStr []’
make[3]: *** [libmuleappgui_a-CatDialog.o] Error 1
make[3]: Leaving directory `/home/tux/packages/amule/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tux/packages/amule/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tux/packages/amule/amule-cvs'
make: *** [all] Error 2
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: 20060420 doesn't compile on suse9.3 and SuSE10.0
« Reply #2 on: April 20, 2006, 08:16:00 PM »

My fault, will fix it when i get home.
Logged

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
Re: 20060420 doesn't compile on suse9.3 and SuSE10.0
« Reply #3 on: April 21, 2006, 07:31:16 AM »

Hi,
seems to work again today. :) - Thanks.  :baby:


cu