aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Configure ok, make.... ko [SOLVED]  (Read 6015 times)

Axl_Mas

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 73
Configure ok, make.... ko [SOLVED]
« on: October 19, 2005, 01:34:31 PM »

I installed amule 2.0.3 in my mandriva 2005le with urpmi ad it works fine.
Today i should install cvs version for kad, well i download the last cvs build (19-10),type ./configure --enable-kad-compile --enable-optimize --disable-debug  and all was ok without any error.

After this, when i type "make" i see this horrible lines:

Code: [Select]
[axl@bart amule-cvs]$ make
make  all-recursive
make[1]: Entering directory `/home/axl/downloads/amule-cvs'
Making all in m4
make[2]: Entering directory `/home/axl/downloads/amule-cvs/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/axl/downloads/amule-cvs/m4'
Making all in docs
make[2]: Entering directory `/home/axl/downloads/amule-cvs/docs'
Making all in man
make[3]: Entering directory `/home/axl/downloads/amule-cvs/docs/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/axl/downloads/amule-cvs/docs/man'
make[3]: Entering directory `/home/axl/downloads/amule-cvs/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/axl/downloads/amule-cvs/docs'
make[2]: Leaving directory `/home/axl/downloads/amule-cvs/docs'
Making all in src
make[2]: Entering directory `/home/axl/downloads/amule-cvs/src'
make  all-recursive
make[3]: Entering directory `/home/axl/downloads/amule-cvs/src'
Making all in utils
make[4]: Entering directory `/home/axl/downloads/amule-cvs/src/utils'
Making all in xas
make[5]: Entering directory `/home/axl/downloads/amule-cvs/src/utils/xas'
Making all in docs
make[6]: Entering directory `/home/axl/downloads/amule-cvs/src/utils/xas/docs'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/axl/downloads/amule-cvs/src/utils/xas/docs'
make[6]: Entering directory `/home/axl/downloads/amule-cvs/src/utils/xas'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/home/axl/downloads/amule-cvs/src/utils/xas'
make[5]: Leaving directory `/home/axl/downloads/amule-cvs/src/utils/xas'
make[5]: Entering directory `/home/axl/downloads/amule-cvs/src/utils'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/axl/downloads/amule-cvs/src/utils'
make[4]: Leaving directory `/home/axl/downloads/amule-cvs/src/utils'
Making all in pixmaps
make[4]: Entering directory `/home/axl/downloads/amule-cvs/src/pixmaps'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/axl/downloads/amule-cvs/src/pixmaps'
Making all in kademlia
make[4]: Entering directory `/home/axl/downloads/amule-cvs/src/kademlia'
Making all in io
make[5]: Entering directory `/home/axl/downloads/amule-cvs/src/kademlia/io'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/axl/downloads/amule-cvs/src/kademlia/io'
Making all in kademlia
make[5]: Entering directory `/home/axl/downloads/amule-cvs/src/kademlia/kademlia'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/axl/downloads/amule-cvs/src/kademlia/kademlia'Making all in net
make[5]: Entering directory `/home/axl/downloads/amule-cvs/src/kademlia/net'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/axl/downloads/amule-cvs/src/kademlia/net'
Making all in routing
make[5]: Entering directory `/home/axl/downloads/amule-cvs/src/kademlia/routing'make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/axl/downloads/amule-cvs/src/kademlia/routing'
Making all in utils
make[5]: Entering directory `/home/axl/downloads/amule-cvs/src/kademlia/utils'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/axl/downloads/amule-cvs/src/kademlia/utils'
make[5]: Entering directory `/home/axl/downloads/amule-cvs/src/kademlia'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/axl/downloads/amule-cvs/src/kademlia'
make[4]: Leaving directory `/home/axl/downloads/amule-cvs/src/kademlia'
make[4]: Entering directory `/home/axl/downloads/amule-cvs/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/base-2.4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES     -D__COMPILE_KAD__ -DUSE_EMBEDDED_CRYPTO  -O2  -MT amule-AddFriend.o -MD -MP -MF ".deps/amule-AddFriend.Tpo" -c -o amule-AddFriend.o `test -f 'AddFriend.cpp' || echo './'`AddFriend.cpp; \
then mv -f ".deps/amule-AddFriend.Tpo" ".deps/amule-AddFriend.Po"; else rm -f ".deps/amule-AddFriend.Tpo"; exit 1; fi
/usr/include/wx/cursor.h: In constructor 'wxBusyCursorSuspender::wxBusyCursorSuspender()':
/usr/include/wx/cursor.h:46: error: 'wxIsBusy' was not declared in this scope
/usr/include/wx/cursor.h:48: error: 'wxBusyCursor' has not been declared
/usr/include/wx/cursor.h:48: error: 'GetStoredCursor' was not declared in this scope
/usr/include/wx/cursor.h:48: error: 'wxSetCursor' was not declared in this scope/usr/include/wx/cursor.h: In destructor 'wxBusyCursorSuspender::~wxBusyCursorSuspender()':
/usr/include/wx/cursor.h:53: error: 'wxIsBusy' was not declared in this scope
/usr/include/wx/cursor.h:55: error: 'wxBusyCursor' has not been declared
/usr/include/wx/cursor.h:55: error: 'GetBusyCursor' was not declared in this scope
/usr/include/wx/cursor.h:55: error: 'wxSetCursor' was not declared in this scope/usr/include/wx/font.h: At global scope:
/usr/include/wx/font.h:82: error: expected class-name before '{' token
/usr/include/wx/font.h: In member function 'bool wxFontBase::Ok() const':
/usr/include/wx/font.h:104: error: 'm_refData' was not declared in this scope
/usr/include/wx/font.h: In member function 'wxFontRefData* wxFontBase::GetFontData() const':
/usr/include/wx/font.h:156: error: 'm_refData' was not declared in this scope
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:105: error: expected ',' or '...' before '&' token
/usr/include/wx/window.h:189: error: expected ',' or '...' before '&' token
/usr/include/wx/window.h:192: error: expected ',' or '...' before '&' token
/usr/include/wx/window.h:192: error: 'void wxWindowBase::SetSize(int)' cannot be overloaded
/usr/include/wx/window.h:189: error: with 'void wxWindowBase::SetSize(int)'
/usr/include/wx/window.h:209: error: expected ',' or '...' before '&' token
/usr/include/wx/window.h:212: error: expected ',' or '...' before '&' token
/usr/include/wx/window.h:212: error: 'void wxWindowBase::SetClientSize(int)' cannot be overloaded
/usr/include/wx/window.h:209: error: with 'void wxWindowBase::SetClientSize(int)'
/usr/include/wx/window.h:226: error: 'wxSize' does not name a type
/usr/include/wx/window.h:233: error: 'wxRect' does not name a type
/usr/include/wx/window.h:243: error: 'wxSize' does not name a type
/usr/include/wx/window.h:257: error: 'wxRect' does not name a type
/usr/include/wx/window.h:264: error: 'wxSize' does not name a type
/usr/include/wx/window.h:279: error: 'wxSize' does not name a type
/usr/include/wx/window.h:319: error: 'wxSize' does not name a type
/usr/include/wx/window.h:327: error: expected ',' or '...' before '&' token
/usr/include/wx/window.h:330: error: 'wxSize' does not name a type
/usr/include/wx/window.h:346: error: 'wxSize' does not name a type
/usr/include/wx/window.h:351: error: 'wxSize' does not name a type
/usr/include/wx/window.h:529: error: 'wxSize' does not name a type
/usr/include/wx/window.h:536: error: 'wxSize' does not name a type
/usr/include/wx/window.h:569: error: expected ',' or '...' before '*' token
/usr/include/wx/window.h:572: error: expected ',' or '...' before '&' token
/usr/include/wx/window.h:591: error: expected ';' before '&' token
/usr/include/wx/window.h:592: error: expected `;' before 'wxRegion'
/usr/include/wx/window.h:592: error: expected ';' before '&' token
/usr/include/wx/window.h:595: error: expected `;' before 'wxRect'
/usr/include/wx/window.h:595: error: 'wxRect' does not name a type
/usr/include/wx/window.h:604: error: expected ',' or '...' before '&' token
/usr/include/wx/window.h:612: error: expected ',' or '...' before '&' token
/usr/include/wx/window.h:613: error: expected ',' or '...' before '&' token
/usr/include/wx/window.h:615: error: 'wxColour' does not name a type
/usr/include/wx/window.h:616: error: 'wxColour' does not name a type
/usr/include/wx/window.h:722: error: expected ',' or '...' before '*' token
/usr/include/wx/window.h:837: error: 'wxSysColourChangedEvent' has not been declared
/usr/include/wx/window.h:838: error: 'wxInitDialogEvent' has not been declared
/usr/include/wx/window.h:839: error: 'wxMouseEvent' has not been declared
/usr/include/wx/window.h:847: error: 'WXWidget' does not name a type
/usr/include/wx/window.h:901: error: field 'm_cursor' has incomplete type
/usr/include/wx/window.h:902: error: field 'm_font' has incomplete type
/usr/include/wx/window.h:903: error: 'wxColour' does not name a type
/usr/include/wx/window.h:910: error: 'wxRegion' does not name a type
/usr/include/wx/window.h:963: error: 'wxSize' does not name a type
/usr/include/wx/window.h:991: error: expected ',' or '...' before '&' token
/usr/include/wx/window.h:1038: error: 'wxSize' does not name a type
/usr/include/wx/window.h:104: error: 'wxDefaultPosition' was not declared in this scope
/usr/include/wx/window.h: In member function 'void wxWindowBase::SetSize(int)':
/usr/include/wx/window.h:190: error: 'size' was not declared in this scope
/usr/include/wx/window.h: In member function 'void wxWindowBase::SetSize(int)':
/usr/include/wx/window.h:193: error: 'rect' was not declared in this scope
/usr/include/wx/window.h:193: error: 'sizeFlags' was not declared in this scope
/usr/include/wx/window.h: In member function 'void wxWindowBase::Move(const wxPoint&, int)':
/usr/include/wx/window.h:199: error: invalid use of undefined type 'const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'const struct wxPoint'/usr/include/wx/window.h:199: error: invalid use of undefined type 'const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'const struct wxPoint'/usr/include/wx/window.h: In member function 'void wxWindowBase::SetClientSize(int)':
/usr/include/wx/window.h:210: error: 'size' was not declared in this scope
/usr/include/wx/window.h: In member function 'void wxWindowBase::SetClientSize(int)':
/usr/include/wx/window.h:213: error: 'rect' was not declared in this scope
/usr/include/wx/window.h: In member function 'wxPoint wxWindowBase::GetPosition() const':
/usr/include/wx/window.h:218: error: return type 'struct wxPoint' is incomplete
/usr/include/wx/window.h:222: error: invalid use of undefined type 'struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'struct wxPoint'
/usr/include/wx/window.h: In member function 'void wxWindowBase::GetBestSize(int*, int*) const':
/usr/include/wx/window.h:267: error: 'wxSize' was not declared in this scope
/usr/include/wx/window.h:267: error: expected `;' before 's'
/usr/include/wx/window.h:269: error: 's' was not declared in this scope
/usr/include/wx/window.h:271: error: 's' was not declared in this scope
/usr/include/wx/window.h: In member function 'void wxWindowBase::SetVirtualSize(int)':
/usr/include/wx/window.h:327: error: 'size' was not declared in this scope
/usr/include/wx/window.h: In member function 'void wxWindowBase::GetVirtualSize(int*, int*) const':
/usr/include/wx/window.h:333: error: 'wxSize' was not declared in this scope
/usr/include/wx/window.h:333: error: expected `;' before 's'
/usr/include/wx/window.h:336: error: 's' was not declared in this scope
/usr/include/wx/window.h:338: error: 's' was not declared in this scope
/usr/include/wx/window.h: In member function 'void wxWindowBase::RefreshRect(int)':
/usr/include/wx/window.h:572: error: 'rect' was not declared in this scope
/usr/include/wx/window.h: In member function 'bool wxWindowBase::IsExposed(const wxPoint&) const':
/usr/include/wx/window.h:603: error: invalid use of undefined type 'const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'const struct wxPoint'/usr/include/wx/window.h:603: error: invalid use of undefined type 'const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'const struct wxPoint'/usr/include/wx/window.h: In member function 'bool wxWindowBase::IsExposed(int) const':
/usr/include/wx/window.h:605: error: 'rect' was not declared in this scope
/usr/include/wx/window.h: In member function 'const wxCursor& wxWindowBase::GetCursor() const':
/usr/include/wx/window.h:621: error: 'm_cursor' was not declared in this scope
/usr/include/wx/window.h: In member function 'wxCursor& wxWindowBase::GetCursor()':
/usr/include/wx/window.h:622: error: 'm_cursor' was not declared in this scope
/usr/include/wx/window.h: In member function 'const wxFont& wxWindowBase::GetFont() const':
/usr/include/wx/window.h:627: error: 'm_font' was not declared in this scope
/usr/include/wx/window.h: In member function 'wxFont& wxWindowBase::GetFont()':
/usr/include/wx/window.h:628: error: 'm_font' was not declared in this scope
/usr/include/wx/window.h: In member function 'wxPoint wxWindowBase::ClientToScreen(const wxPoint&) const':
/usr/include/wx/window.h:661: error: return type 'struct wxPoint' is incomplete
/usr/include/wx/window.h:662: error: invalid use of undefined type 'const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'const struct wxPoint'/usr/include/wx/window.h:662: error: invalid use of undefined type 'const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'const struct wxPoint'/usr/include/wx/window.h:665: error: invalid use of undefined type 'struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'struct wxPoint'
/usr/include/wx/window.h: In member function 'wxPoint wxWindowBase::ScreenToClient(const wxPoint&) const':
/usr/include/wx/window.h:669: error: return type 'struct wxPoint' is incomplete
/usr/include/wx/window.h:670: error: invalid use of undefined type 'const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'const struct wxPoint'/usr/include/wx/window.h:670: error: invalid use of undefined type 'const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'const struct wxPoint'/usr/include/wx/window.h:673: error: invalid use of undefined type 'struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'struct wxPoint'
/usr/include/wx/window.h: In member function 'wxHitTest wxWindowBase::HitTest(const wxPoint&) const':
/usr/include/wx/window.h:681: error: invalid use of undefined type 'const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'const struct wxPoint'/usr/include/wx/window.h:681: error: invalid use of undefined type 'const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of 'const struct wxPoint'/usr/include/wx/window.h: In member function 'void wxWindowBase::SetBestSize(int)':
/usr/include/wx/window.h:996: error: 'size' was not declared in this scope
/usr/include/wx/window.h:998: error: expected `;' before 'sizeBest'
/usr/include/wx/window.h:1000: error: 'sizeBest' was not declared in this scope
/usr/include/wx/window.h:1002: error: 'sizeBest' was not declared in this scope
/usr/include/wx/window.h:1004: error: 'sizeBest' was not declared in this scope
/usr/include/wx/window.h: In member function 'wxWindow* wxWindowBase::GetGrandParent() const':
/usr/include/wx/window.h:1156: error: invalid use of undefined type 'struct wxWindow'
/usr/include/wx/containr.h:22: error: forward declaration of 'struct wxWindow'
/usr/include/wx/toplevel.h: At global scope:
/usr/include/wx/toplevel.h:60: error: invalid use of undefined type 'struct wxWindow'
/usr/include/wx/containr.h:22: error: forward declaration of 'struct wxWindow'
/usr/include/wx/toplevel.h:125: error: 'wxCloseEvent' has not been declared
/usr/include/wx/toplevel.h:126: error: 'wxSizeEvent' has not been declared
/usr/include/wx/toplevel.h:130: error: 'wxActivateEvent' has not been declared
/usr/include/wx/generic/panelg.h:34: error: invalid use of undefined type 'struct wxWindow'
/usr/include/wx/containr.h:22: error: forward declaration of 'struct wxWindow'
/usr/include/wx/generic/panelg.h:77: error: 'wxSysColourChangedEvent' has not been declared
/usr/include/wx/generic/panelg.h:80: error: 'wxSizeEvent' has not been declared
/usr/include/wx/generic/panelg.h:89: error: 'wxChildFocusEvent' has not been declared
AddFriend.h:32: error: expected class-name before '{' token
AddFriend.h:41: error: 'wxCommandEvent' has not been declared
AddFriend.h:42: error: 'wxCommandEvent' has not been declared
/usr/include/wx/generic/spinctlg.h:119: error: invalid use of undefined type 'struct wxTextCtrl'
/usr/include/wx/log.h:26: error: forward declaration of 'struct wxTextCtrl'
/usr/include/wx/generic/spinctlg.h: In member function 'bool wxSpinCtrl::Create(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, int, int, int, const wxString&)':
/usr/include/wx/generic/spinctlg.h:147: error: incomplete type 'wxTextCtrl' used in nested name specifier
/usr/include/wx/generic/spinctlg.h: In member function 'int wxSpinCtrl::GetValue(int) const':
/usr/include/wx/generic/spinctlg.h:158: error: incomplete type 'wxTextCtrl' used in nested name specifier
/usr/include/wx/generic/spinctlg.h: In member function 'void wxSpinCtrl::SetValue(const wxString&)':
/usr/include/wx/generic/spinctlg.h:168: error: incomplete type 'wxTextCtrl' used in nested name specifier
/usr/include/wx/generic/spinctlg.h: In member function 'void wxSpinCtrl::SetValue(int)':
/usr/include/wx/generic/spinctlg.h:169: error: incomplete type 'wxTextCtrl' used in nested name specifier
/usr/include/wx/generic/splitter.h: At global scope:
/usr/include/wx/generic/splitter.h:56: error: invalid use of undefined type 'struct wxWindow'
/usr/include/wx/containr.h:22: error: forward declaration of 'struct wxWindow'
/usr/include/wx/generic/splitter.h:184: error: 'wxPaintEvent' has not been declared
/usr/include/wx/generic/splitter.h:187: error: 'wxMouseEvent' has not been declared
/usr/include/wx/generic/splitter.h:190: error: 'wxSizeEvent' has not been declared
/usr/include/wx/generic/splitter.h:193: error: 'wxIdleEvent' has not been declared
/usr/include/wx/generic/splitter.h:273: error: field 'm_sashCursorWE' has incomplete type
/usr/include/wx/generic/splitter.h:274: error: field 'm_sashCursorNS' has incomplete type
/usr/include/wx/generic/splitter.h:284: error: 'wxChildFocusEvent' has not been declared
/usr/include/wx/generic/splitter.h:299: error: expected class-name before '{' token
/usr/include/wx/generic/splitter.h: In constructor 'wxSplitterEvent::wxSplitterEvent(wxEventType, wxSplitterWindow*)':
/usr/include/wx/generic/splitter.h:303: error: class 'wxSplitterEvent' does not have any field named 'wxNotifyEvent'
/usr/include/wx/generic/splitter.h:305: error: 'SetEventObject' was not declared in this scope
/usr/include/wx/generic/splitter.h:306: error: 'm_id' was not declared in this scope
/usr/include/wx/generic/splitter.h:306: error: 'class wxSplitterWindow' has no member named 'GetId'
muuli_wdr.h: At global scope:
muuli_wdr.h:538: error: variable or field 'muleToolbar' declared void
muuli_wdr.h:538: error: 'wxToolBar' was not declared in this scope
muuli_wdr.h:538: error: 'parent' was not declared in this scope
amule.h:232: error: 'wxTimerEvent' has not been declared
amule.h:234: error: 'wxTimerEvent' has not been declared
amule.h:273: error: ISO C++ forbids declaration of 'wxTimer' with no type
amule.h:273: error: expected ';' before '*' token
amule.h:311: error: 'wxCloseEvent' has not been declared
/usr/include/wx/frame.h:149: error: 'wxIdleEvent' has not been declared
/usr/include/wx/frame.h:150: error: 'wxMenuEvent' has not been declared
/usr/include/wx/dc.h:738: error: field 'm_pen' has incomplete type
/usr/include/wx/dc.h:739: error: field 'm_brush' has incomplete type
/usr/include/wx/dc.h:740: error: field 'm_backgroundBrush' has incomplete type
/usr/include/wx/dc.h:741: error: field 'm_textForegroundColour' has incomplete type
/usr/include/wx/dc.h:742: error: field 'm_textBackgroundColour' has incomplete type
/usr/include/wx/dc.h:743: error: field 'm_font' has incomplete type
/usr/include/wx/dc.h: In constructor 'wxDCBase::wxDCBase()':
/usr/include/wx/dc.h:122: error: class 'wxDCBase' does not have any field named 'm_pen'
/usr/include/wx/dc.h:123: error: class 'wxDCBase' does not have any field named 'm_brush'
/usr/include/wx/dc.h:124: error: class 'wxDCBase' does not have any field named 'm_backgroundBrush'
/usr/include/wx/dc.h:125: error: class 'wxDCBase' does not have any field named 'm_textForegroundColour'
/usr/include/wx/dc.h:126: error: class 'wxDCBase' does not have any field named 'm_textBackgroundColour'
/usr/include/wx/dc.h:127: error: class 'wxDCBase' does not have any field named 'm_font'
/usr/include/wx/dc.h: In member function 'const wxBrush& wxDCBase::GetBackground() const':
/usr/include/wx/dc.h:429: error: 'm_backgroundBrush' was not declared in this scope
/usr/include/wx/dc.h: In member function 'const wxBrush& wxDCBase::GetBrush() const':
/usr/include/wx/dc.h:430: error: 'm_brush' was not declared in this scope
/usr/include/wx/dc.h: In member function 'const wxFont& wxDCBase::GetFont() const':
/usr/include/wx/dc.h:431: error: 'm_font' was not declared in this scope
/usr/include/wx/dc.h: In member function 'const wxPen& wxDCBase::GetPen() const':
/usr/include/wx/dc.h:432: error: 'm_pen' was not declared in this scope
/usr/include/wx/dc.h: In member function 'const wxColour& wxDCBase::GetTextBackground() const':
/usr/include/wx/dc.h:433: error: 'm_textBackgroundColour' was not declared in this scope
/usr/include/wx/dc.h: In member function 'const wxColour& wxDCBase::GetTextForeground() const':
/usr/include/wx/dc.h:434: error: 'm_textForegroundColour' was not declared in this scope
/usr/include/wx/dc.h: In member function 'wxBrush& wxDCBase::GetBackground()':
/usr/include/wx/dc.h:437: error: 'm_backgroundBrush' was not declared in this scope
/usr/include/wx/dc.h: In member function 'wxBrush& wxDCBase::GetBrush()':
/usr/include/wx/dc.h:438: error: 'm_brush' was not declared in this scope
/usr/include/wx/dc.h: In member function 'wxFont& wxDCBase::GetFont()':
/usr/include/wx/dc.h:439: error: 'm_font' was not declared in this scope
/usr/include/wx/dc.h: In member function 'wxPen& wxDCBase::GetPen()':
/usr/include/wx/dc.h:440: error: 'm_pen' was not declared in this scope
/usr/include/wx/dc.h: In member function 'wxColour& wxDCBase::GetTextBackground()':
/usr/include/wx/dc.h:441: error: 'm_textBackgroundColour' was not declared in this scope
/usr/include/wx/dc.h: In member function 'wxColour& wxDCBase::GetTextForeground()':
/usr/include/wx/dc.h:442: error: 'm_textForegroundColour' was not declared in this scope
/usr/include/wx/dc.h: In member function 'virtual void wxDCBase::SetTextForeground(const wxColour&)':
/usr/include/wx/dc.h:445: error: 'm_textForegroundColour' was not declared in this scope
/usr/include/wx/dc.h: In member function 'virtual void wxDCBase::SetTextBackground(const wxColour&)':
/usr/include/wx/dc.h:447: error: 'm_textBackgroundColour' was not declared in this scope
/usr/include/wx/dc.h: At global scope:
/usr/include/wx/dc.h:803: error: field 'm_colFgOld' has incomplete type
/usr/include/wx/dc.h: In constructor 'wxDCTextColourChanger::wxDCTextColourChanger(wxDC&)':
/usr/include/wx/dc.h:785: error: class 'wxDCTextColourChanger' does not have any field named 'm_colFgOld'
/usr/include/wx/dc.h: In destructor 'wxDCTextColourChanger::~wxDCTextColourChanger()':
/usr/include/wx/dc.h:789: error: 'm_colFgOld' was not declared in this scope
/usr/include/wx/dc.h:790: error: invalid use of undefined type 'struct wxDC'
/usr/include/wx/window.h:59: error: forward declaration of 'struct wxDC'
/usr/include/wx/dc.h: In member function 'void wxDCTextColourChanger::Set(const wxColour&)':
/usr/include/wx/dc.h:795: error: 'm_colFgOld' was not declared in this scope
/usr/include/wx/dc.h:796: error: invalid use of undefined type 'struct wxDC'
/usr/include/wx/window.h:59: error: forward declaration of 'struct wxDC'
/usr/include/wx/dc.h:797: error: invalid use of undefined type 'struct wxDC'
/usr/include/wx/window.h:59: error: forward declaration of 'struct wxDC'
/usr/include/wx/dc.h: In constructor 'wxDCClipper::wxDCClipper(wxDC&, const wxRect&)':
/usr/include/wx/dc.h:815: error: invalid use of undefined type 'struct wxDC'
/usr/include/wx/window.h:59: error: forward declaration of 'struct wxDC'
/usr/include/wx/dc.h: In constructor 'wxDCClipper::wxDCClipper(wxDC&, wxCoord, wxCoord, wxCoord, wxCoord)':
/usr/include/wx/dc.h:817: error: invalid use of undefined type 'struct wxDC'
/usr/include/wx/window.h:59: error: forward declaration of 'struct wxDC'
/usr/include/wx/dc.h: In destructor 'wxDCClipper::~wxDCClipper()':
/usr/include/wx/dc.h:819: error: invalid use of undefined type 'struct wxDC'
/usr/include/wx/window.h:59: error: forward declaration of 'struct wxDC'
amuleDlg.h: At global scope:
amuleDlg.h:102: error: invalid use of undefined type 'struct wxFrame'
/usr/include/wx/utils.h:43: error: forward declaration of 'struct wxFrame'
amuleDlg.h:139: error: 'wxCloseEvent' has not been declared
amuleDlg.h:199: error: 'wxIconizeEvent' has not been declared
amuleDlg.h:206: error: 'wxSizeEvent' has not been declared
amuleDlg.h:214: error: ISO C++ forbids declaration of 'wxTimer' with no type
amuleDlg.h:214: error: expected ';' before '*' token
amuleDlg.h: In member function 'void CamuleDlg::StartGuiTimer()':
amuleDlg.h:178: error: 'gui_timer' was not declared in this scope
amuleDlg.h: In member function 'void CamuleDlg::StopGuiTimer()':
amuleDlg.h:179: error: 'gui_timer' was not declared in this scope
ChatWnd.h: At global scope:
ChatWnd.h:60: error: 'wxNotebookEvent' has not been declared
AddFriend.cpp:43: error: 'wxDialog' has not been declared
AddFriend.cpp:44: error: 'wxCommandEventFunction' was not declared in this scopeAddFriend.cpp:45: error: 'wxCommandEventFunction' was not declared in this scopeAddFriend.cpp: In constructor 'CAddFriend::CAddFriend(wxWindow*)':
AddFriend.cpp:50: error: class 'CAddFriend' does not have any field named 'wxDialog'
AddFriend.cpp:53: error: cannot convert 'CAddFriend* const' to 'wxWindow*' for argument '1' to 'wxSizer* addFriendDlg(wxWindow*, bool, bool)'
AddFriend.cpp:54: error: no matching function for call to 'wxSizer::Show(CAddFriend* const, bool)'
/usr/include/wx/sizer.h:208: note: candidates are: void wxSizer::Show(wxWindow*, bool)
/usr/include/wx/sizer.h:211: note:                 void wxSizer::Show(wxSizer*, bool)
AddFriend.cpp: At global scope:
AddFriend.cpp:57: error: prototype for 'void CAddFriend::OnAddBtn(wxCommandEvent&)' does not match any in class 'CAddFriend'
AddFriend.h:41: error: candidate is: void CAddFriend::OnAddBtn(int&)
AddFriend.cpp: In member function 'void CAddFriend::OnAddBtn(wxCommandEvent&)':
AddFriend.cpp:63: error: 'FindWindow' was not declared in this scope
AddFriend.cpp:71: error: 'wxMessageBox' was not declared in this scope
AddFriend.cpp:76: error: 'wxMessageBox' was not declared in this scope
AddFriend.cpp:90: error: 'EndModal' was not declared in this scope
AddFriend.cpp: At global scope:
AddFriend.cpp:94: error: prototype for 'void CAddFriend::OnCloseBtn(wxCommandEvent&)' does not match any in class 'CAddFriend'
AddFriend.h:42: error: candidate is: void CAddFriend::OnCloseBtn(int&)
AddFriend.cpp: In member function 'void CAddFriend::OnCloseBtn(wxCommandEvent&)':
AddFriend.cpp:97: error: 'EndModal' was not declared in this scope
/usr/include/wx/event.h: At global scope:
/usr/include/wx/event.h:1949: warning: inline function 'wxEventTableEntry::wxEventTableEntry(const wxEventTableEntry&)' used but never defined
make[4]: *** [amule-AddFriend.o] Error 1
make[4]: Leaving directory `/home/axl/downloads/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/axl/downloads/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/axl/downloads/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/axl/downloads/amule-cvs'
make: *** [all] Error 2

How i can fix the problem?
Please help me!!!!
« Last Edit: October 21, 2005, 03:29:10 PM by Axl_Mas »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Configure ok, make.... ko [SOLVED]
« Reply #1 on: October 19, 2005, 01:54:59 PM »

Could you try to upgrade your wxwidgets to 2.6.1 ?
Logged

Axl_Mas

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 73
Re: Configure ok, make.... ko [SOLVED]
« Reply #2 on: October 19, 2005, 04:51:24 PM »

I tryed wxGTK 2.6 and nothing!!!
I think that the mandrivas wxgtk have some problems with amule:::  :(
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Configure ok, make.... ko [SOLVED]
« Reply #3 on: October 20, 2005, 03:38:50 PM »

Quote
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/base-2.4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES     -D__COMPILE_KAD__ -DUSE_EMBEDDED_CRYPTO  -O2  -MT amule-AddFriend.o -MD -MP -MF ".deps/amule-AddFriend.Tpo" -c -o amule-AddFriend.o `test -f 'AddFriend.cpp' || echo './'`AddFriend.cpp; \  then mv -f ".deps/amule-AddFriend.Tpo" ".deps/amule-AddFriend.Po"; else rm -f ".deps/amule-AddFriend.Tpo"; exit 1; fi
You're trying to compile amule with wxBase-2.4. If you have multiple wx installations, please remove them all, and install wxGTK-2.6.1 only.

Read: http://forum.amule.org/thread.php?threadid=5356&sid=

And, oh, please install wxGTK from our site.
Logged
concordia cum veritate

Axl_Mas

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 73
Re: Configure ok, make.... ko [SOLVED]
« Reply #4 on: October 20, 2005, 10:00:39 PM »

Done!!!!!
It works thank you!!!!!!
But now i have another problem.......if i write "amule" from root it runs the program without any problem, but if i type "amule" from my normal user i have this respose:
Code: [Select]
[axl@bart ~]$ amule
bash: amule: command not found
Infact there isn't any folder .aMule in my home!

I compiled and make the cvs using my normal user (axl) and installed [make install] as super user...

How i can resolve?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Configure ok, make.... ko [SOLVED]
« Reply #5 on: October 21, 2005, 12:00:27 AM »

What's the output of 'whereis amule'?
Logged

Axl_Mas

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 73
Re: Configure ok, make.... ko [SOLVED]
« Reply #6 on: October 21, 2005, 12:49:26 AM »

Quote
Originally posted by wuischke
What's the output of 'whereis amule'?
/usr/local/bin/amule

I tried to go into consolle in /usr/local/bin directory and type "amule" but i receved the some error.
If i open nautilus and click on the "amule" the program start!!!!

how i can fix this consolle trouble? (i hope the last trouble!!!!!)
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: Configure ok, make.... ko [SOLVED]
« Reply #7 on: October 21, 2005, 12:58:12 AM »

Quote
Originally posted by Axl_Mas
I tried to go into consolle in /usr/local/bin directory and type "amule" but i receved the some error.
If i open nautilus and click on the "amule" the program start!!!!

This is something that works different in Linux than you are used to in DOS. In DOS the current directory is the first one in the PATH which is searched when you enter a programs name and then hit Enter. So DOS looks for the program in the current directory and then in the directories listed in the PATH-variable (C:\DOS for example). In Linux the current directory is NEVER included in the PATH variable. You always have to enter the program name with a (full or relative) path to execute it. So you might either enter '/usr/local/bin/amule' or (if you are in /usr/local/bin) you can enter './amule'. The '.' is a shortcut for "current directory".

To your problem:
Please enter 'echo $PATH' as user and as root in a console and paste both outputs here.
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Axl_Mas

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 73
Re: Configure ok, make.... ko [SOLVED]
« Reply #8 on: October 21, 2005, 01:02:34 AM »

[axl@bart /]$ echo $PATH
/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/axl/bin
[axl@bart /]$ su
Password:
[root@bart /]# echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[root@bart /]#
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: Configure ok, make.... ko [SOLVED]
« Reply #9 on: October 21, 2005, 02:11:51 PM »

Axl_Mas:
As the PATH for the user shows Mandriva doesn't look for binaries in /usr/local/bin (don't ask me why, it's the default place for self-compiled binaries), but as root it does. You have two options now:
- Create a link in /usr/bin with 'ln -s /usr/local/bin/amule /usr/bin/' (as root)
- Reconfigure amule with '--prefix=/usr', recompile & make install. amule will then be installed in /usr/ instead of /usr/local/
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Axl_Mas

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 73
Re: Configure ok, make.... ko [SOLVED]
« Reply #10 on: October 21, 2005, 03:20:41 PM »

Perfect!!!!!
It works!!!!!
Thank you a lot!!!!!!!!!!

 :baby:  :baby:  :baby:  :)
Logged

Axl_Mas

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 73
Re: Configure ok, make.... ko [SOLVED]
« Reply #11 on: October 21, 2005, 03:27:44 PM »

For the others users that will have a similar problem with mandriva i solved in this way:

1)urpme wx (and erase all packet that contains the word wx)
2)install wxGTK-2.6.0-1.i586-FC3.rpm (yes,the fedora rpm is the onlyone that works!)
3)compile amule
4)Create a link in /usr/bin with 'ln -s /usr/local/bin/amule /usr/bin/' (as root)

Thank to all that help me, sincerely!
Logged