aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule lastest CVS version new compilation errors on solaris x86  (Read 3121 times)

wbjmail

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2

hello,
I have installed solaris 9 x86, and I also installed GTK+2.6 and wxGTK+2.5. when I type ./configure under amule-install folder, It passed. But when I used make command,I got follow error:


/usr/local/include/wx-2.5/wx/scrolwin.h:31: note:                 wxScrollHelper::wxScrollHelper(wxWindow*)
In file included from /usr/local/include/wx-2.5/wx/grid.h:4,
                 from muuli_wdr.h:27,
                 from AddFriend.cpp:29:
/usr/local/include/wx-2.5/wx/generic/grid.h: At global scope:
/usr/local/include/wx-2.5/wx/generic/grid.h:342: error: `IsAcceptedKey' declared as a `virtual' field
/usr/local/include/wx-2.5/wx/generic/grid.h:342: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h:346: error: variable or field `StartingKey' declared void
/usr/local/include/wx-2.5/wx/generic/grid.h:346: error: `StartingKey' declared as a `virtual' field
/usr/local/include/wx-2.5/wx/generic/grid.h:346: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h:354: error: variable or field `HandleReturn' declared void
/usr/local/include/wx-2.5/wx/generic/grid.h:354: error: `HandleReturn' declared as a `virtual' field
/usr/local/include/wx-2.5/wx/generic/grid.h:354: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h:379: error: field `m_colFgOld' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:380: error: field `m_colBgOld' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:381: error: field `m_fontOld' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:743: error: field `m_colText' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:744: error: field `m_colBack' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:745: error: field `m_font' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h: In constructor `wxGridCellAttr::wxGridCellAttr(const wxColour&, const wxColour&, const wxFont&, int, int)':
/usr/local/include/wx-2.5/wx/generic/grid.h:650: error: class `wxGridCellAttr' does not have any field named `m_colText'
/usr/local/include/wx-2.5/wx/generic/grid.h:650: error: class `wxGridCellAttr' does not have any field named `m_colBack'
/usr/local/include/wx-2.5/wx/generic/grid.h:650: error: class `wxGridCellAttr' does not have any field named `m_font'
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `void wxGridCellAttr::SetTextColour(const wxColour&)':
/usr/local/include/wx-2.5/wx/generic/grid.h:667: error: `m_colText' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `void wxGridCellAttr::SetBackgroundColour(const wxColour&)':
/usr/local/include/wx-2.5/wx/generic/grid.h:668: error: `m_colBack' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `void wxGridCellAttr::SetFont(const wxFont&)':
/usr/local/include/wx-2.5/wx/generic/grid.h:669: error: `m_font' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `bool wxGridCellAttr::HasTextColour() const':
/usr/local/include/wx-2.5/wx/generic/grid.h:690: error: `m_colText' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `bool wxGridCellAttr::HasBackgroundColour() const':
/usr/local/include/wx-2.5/wx/generic/grid.h:691: error: `m_colBack' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `bool wxGridCellAttr::HasFont() const':
/usr/local/include/wx-2.5/wx/generic/grid.h:692: error: `m_font' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: At global scope:
/usr/local/include/wx-2.5/wx/generic/grid.h:1120: error: variable or field `ProcessRowLabelMouseEvent' declared void
/usr/local/include/wx-2.5/wx/generic/grid.h:1120: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h:1121: error: variable or field `ProcessColLabelMouseEvent' declared void
/usr/local/include/wx-2.5/wx/generic/grid.h:1121: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h:1122: error: variable or field `ProcessCornerLabelMouseEvent' declared void
/usr/local/include/wx-2.5/wx/generic/grid.h:1122: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h:1123: error: variable or field `ProcessGridCellMouseEvent' declared void
/usr/local/include/wx-2.5/wx/generic/grid.h:1123: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h:1754: error: field `m_selectionBackground' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:1755: error: field `m_selectionForeground' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:1796: error: field `m_labelBackgroundColour' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:1797: error: field `m_labelTextColour' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:1798: error: field `m_labelFont' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:1809: error: field `m_gridLineColour' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:1811: error: field `m_cellHighlightColour' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:1903: error: field `m_rowResizeCursor' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:1904: error: field `m_colResizeCursor' has incomplete type
/usr/local/include/wx-2.5/wx/generic/grid.h:1919: error: `wxMouseEvent' has not been declared
/usr/local/include/wx-2.5/wx/generic/grid.h:1919: error: ISO C++ forbids declaration of `parameter' with no type
/usr/local/include/wx-2.5/wx/generic/grid.h:1928: error: variable or field `OnPaint' declared void
/usr/local/include/wx-2.5/wx/generic/grid.h:1928: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h:1929: error: variable or field `OnSize' declared void
/usr/local/include/wx-2.5/wx/generic/grid.h:1929: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h:1930: error: variable or field `OnKeyDown' declared void
/usr/local/include/wx-2.5/wx/generic/grid.h:1930: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h:1931: error: variable or field `OnKeyUp' declared void
/usr/local/include/wx-2.5/wx/generic/grid.h:1931: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h:1932: error: variable or field `OnEraseBackground' declared void
/usr/local/include/wx-2.5/wx/generic/grid.h:1932: error: expected `;' before '(' token
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `wxColour wxGrid::GetLabelBackgroundColour()':
/usr/local/include/wx-2.5/wx/generic/grid.h:1277: error: return type `struct wxColour' is incomplete
/usr/local/include/wx-2.5/wx/generic/grid.h:1277: error: `m_labelBackgroundColour' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `wxColour wxGrid::GetLabelTextColour()':
/usr/local/include/wx-2.5/wx/generic/grid.h:1278: error: return type `struct wxColour' is incomplete
/usr/local/include/wx-2.5/wx/generic/grid.h:1278: error: `m_labelTextColour' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `wxFont wxGrid::GetLabelFont()':
/usr/local/include/wx-2.5/wx/generic/grid.h:1279: error: return type `struct wxFont' is incomplete
/usr/local/include/wx-2.5/wx/generic/grid.h:1279: error: `m_labelFont' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `wxColour wxGrid::GetGridLineColour()':
/usr/local/include/wx-2.5/wx/generic/grid.h:1285: error: return type `struct wxColour' is incomplete
/usr/local/include/wx-2.5/wx/generic/grid.h:1285: error: `m_gridLineColour' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `wxColour wxGrid::GetCellHighlightColour()':
/usr/local/include/wx-2.5/wx/generic/grid.h:1286: error: return type `struct wxColour' is incomplete
/usr/local/include/wx-2.5/wx/generic/grid.h:1286: error: `m_cellHighlightColour' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `wxColour wxGrid::GetSelectionBackground() const':
/usr/local/include/wx-2.5/wx/generic/grid.h:1510: error: return type `struct wxColour' is incomplete
/usr/local/include/wx-2.5/wx/generic/grid.h:1510: error: `m_selectionBackground' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `wxColour wxGrid::GetSelectionForeground() const':
/usr/local/include/wx-2.5/wx/generic/grid.h:1512: error: return type `struct wxColour' is incomplete
/usr/local/include/wx-2.5/wx/generic/grid.h:1512: error: `m_selectionForeground' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `void wxGrid::SetSelectionBackground(const wxColour&)':
/usr/local/include/wx-2.5/wx/generic/grid.h:1514: error: `m_selectionBackground' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `void wxGrid::SetSelectionForeground(const wxColour&)':
/usr/local/include/wx-2.5/wx/generic/grid.h:1515: error: `m_selectionForeground' undeclared (first use this function)
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `wxFont wxGrid::GetCellTextFont() const':
/usr/local/include/wx-2.5/wx/generic/grid.h:1677: error: return type `struct wxFont' is incomplete
/usr/local/include/wx-2.5/wx/generic/grid.h: In member function `wxFont wxGrid::GetCellTextFont(int, int) const':
/usr/local/include/wx-2.5/wx/generic/grid.h:1680: error: return type `struct wxFont' is incomplete
/usr/local/include/wx-2.5/wx/generic/grid.h: At global scope:
/usr/local/include/wx-2.5/wx/generic/grid.h:1964: error: expected class-name before '{' token
/usr/local/include/wx-2.5/wx/generic/grid.h: In constructor `wxGridEvent::wxGridEvent()':
/usr/local/include/wx-2.5/wx/generic/grid.h:1967: error: class `wxGridEvent' does not have any field named `wxNotifyEvent'
/usr/local/include/wx-2.5/wx/generic/grid.h: At global scope:
/usr/local/include/wx-2.5/wx/generic/grid.h:2000: error: expected class-name before '{' token
/usr/local/include/wx-2.5/wx/generic/grid.h: In constructor `wxGridSizeEvent::wxGridSizeEvent()':
/usr/local/include/wx-2.5/wx/generic/grid.h:2003: error: class `wxGridSizeEvent' does not have any field named `wxNotifyEvent'
/usr/local/include/wx-2.5/wx/generic/grid.h: At global scope:
/usr/local/include/wx-2.5/wx/generic/grid.h:2033: error: expected class-name before '{' token
/usr/local/include/wx-2.5/wx/generic/grid.h: In constructor `wxGridRangeSelectEvent::wxGridRangeSelectEvent()':
/usr/local/include/wx-2.5/wx/generic/grid.h:2036: error: class `wxGridRangeSelectEvent' does not have any field named `wxNotifyEvent'
/usr/local/include/wx-2.5/wx/generic/grid.h: At global scope:
/usr/local/include/wx-2.5/wx/generic/grid.h:2079: error: expected class-name before '{' token
/usr/local/include/wx-2.5/wx/generic/grid.h: In constructor `wxGridEditorCreatedEvent::wxGridEditorCreatedEvent()':
/usr/local/include/wx-2.5/wx/generic/grid.h:2082: error: class `wxGridEditorCreatedEvent' does not have any field named `wxCommandEvent'
In file included from AddFriend.cpp:29:
muuli_wdr.h: At global scope:
muuli_wdr.h:506: error: variable or field `muleToolbar' declared void
muuli_wdr.h:506: error: `wxToolBar' was not declared in this scope
muuli_wdr.h:506: error: `parent' was not declared in this scope
In file included from amuleDlg.h:32,
                 from AddFriend.cpp:31:
MuleTrayIcon.h:68: error: expected class-name before '{' token
MuleTrayIcon.h:99: error: variable or field `SwitchShow' declared void
MuleTrayIcon.h:99: error: expected `;' before '(' token
MuleTrayIcon.h:109: error: field `Disconnected_Icon' has incomplete type
MuleTrayIcon.h:110: error: field `LowId_Icon' has incomplete type
MuleTrayIcon.h:111: error: field `HighId_Icon' has incomplete type
MuleTrayIcon.h:113: error: field `CurrentIcon' has incomplete type
MuleTrayIcon.h:114: error: `wxMemoryDC' does not name a type
MuleTrayIcon.h:68: warning: `class CMuleTrayIcon' has virtual functions but non-virtual destructor
In file included from amuleDlg.h:36,
                 from AddFriend.cpp:31:
/usr/local/include/wx-2.5/wx/frame.h:58: error: expected class-name before '{' token
In file included from AddFriend.cpp:31:
amuleDlg.h:68: error: invalid use of undefined type `struct wxFrame'
/usr/local/include/wx-2.5/wx/utils.h:52: error: forward declaration of `struct wxFrame'
amuleDlg.h:103: error: variable or field `OnClose' declared void
amuleDlg.h:103: error: expected `;' before '(' token
amuleDlg.h:154: error: variable or field `OnMinimize' declared void
amuleDlg.h:154: error: expected `;' before '(' token
amuleDlg.h:161: error: variable or field `OnMainGUISizeChange' declared void
amuleDlg.h:161: error: expected `;' before '(' token
amuleDlg.h:68: warning: `class CamuleDlg' has virtual functions but non-virtual destructor
amuleDlg.h: In member function `void CamuleDlg::StartGuiTimer()':
amuleDlg.h:139: error: invalid use of undefined type `struct wxTimer'
/usr/local/include/wx-2.5/wx/scrolwin.h:18: error: forward declaration of `struct wxTimer'
In file included from AddFriend.cpp:39:
/usr/local/include/wx-2.5/wx/sizer.h: In member function `void wxSizerItem::SetMinSize(const wxSize&)':
/usr/local/include/wx-2.5/wx/sizer.h:167: error: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx-2.5/wx/containr.h:22: error: forward declaration of `struct wxWindow'
/usr/local/include/wx-2.5/wx/sizer.h: In member function `void wxSizerItem::SetWindow(wxWindow*)':
/usr/local/include/wx-2.5/wx/sizer.h:212: error: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx-2.5/wx/containr.h:22: error: forward declaration of `struct wxWindow'
AddFriend.cpp: At global scope:
AddFriend.cpp:42: error: `wxDialog' has not been declared
AddFriend.cpp:43: error: `OnAddBtn' is not a member of `CAddFriend'
AddFriend.cpp:43: error: `wxCommandEventHandler' was not declared in this scope
AddFriend.cpp:44: error: `OnCloseBtn' is not a member of `CAddFriend'
AddFriend.cpp:44: error: `wxCommandEventHandler' was not declared in this scope
AddFriend.cpp: In constructor `CAddFriend::CAddFriend(wxWindow*)':
AddFriend.cpp:49: error: class `CAddFriend' does not have any field named `wxDialog'
AddFriend.cpp:52: error: cannot convert `CAddFriend* const' to `wxWindow*' for argument `1' to `wxSizer* addFriendDlg(wxWindow*, bool, bool)'
AddFriend.cpp:53: error: invalid conversion from `CAddFriend* const' to `size_t'AddFriend.cpp:53: error:   initializing argument 1 of `bool wxSizer::Show(size_t, bool)'
AddFriend.cpp: At global scope:
AddFriend.cpp:57: error: no `void CAddFriend::OnAddBtn(wxCommandEvent&)' member function declared in class `CAddFriend'
AddFriend.cpp: In member function `void CAddFriend::OnAddBtn(wxCommandEvent&)':
AddFriend.cpp:62: error: `FindWindow' undeclared (first use this function)
AddFriend.cpp:70: error: `wxMessageBox' undeclared (first use this function)
AddFriend.cpp:89: error: `EndModal' undeclared (first use this function)
AddFriend.cpp: At global scope:
AddFriend.cpp:94: error: no `void CAddFriend::OnCloseBtn(wxCommandEvent&)' member function declared in class `CAddFriend'
AddFriend.cpp: In member function `void CAddFriend::OnCloseBtn(wxCommandEvent&)':
AddFriend.cpp:96: error: `EndModal' undeclared (first use this function)
make[4]: *** [amule-AddFriend.o] Error 1
make[4]: Leaving directory `/export/home/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/amule-cvs'
make: *** [all] Error 2



any help will be appreciated.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule lastest CVS version new compilation errors on solaris x86
« Reply #1 on: March 03, 2005, 05:11:26 AM »

It's wx, not amule.
Logged