aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: can't compile with wx 2.4.2  (Read 16256 times)

nico-de-nantes

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
can't compile with wx 2.4.2
« on: December 27, 2004, 10:16:51 AM »

Libraries aMule will use to build:
                                       wxWidgets          2.4.2
                                       GTK                2.3.5


In file included from /usr/include/wx/defs.h:23,
                 from /usr/include/wx/event.h:19,
                 from /usr/include/wx/app.h:24,
                 from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/platform.h:85:22: wx/setup.h: No such file or directory
In file included from /usr/include/wx/platform.h:88,
                 from /usr/include/wx/defs.h:23,
                 from /usr/include/wx/event.h:19,
                 from /usr/include/wx/app.h:24,
                 from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/chkconf.h:47:9: #error "wxUSE_DYNLIB_CLASS must be defined."
/usr/include/wx/chkconf.h:55:9: #error "wxUSE_FILESYSTEM must be defined."
/usr/include/wx/chkconf.h:68:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
/usr/include/wx/chkconf.h:76:9: #error "wxUSE_LOG must be defined."
/usr/include/wx/chkconf.h:84:9: #error "wxUSE_LONGLONG must be defined."
/usr/include/wx/chkconf.h:92:9: #error "wxUSE_MIMETYPE must be defined."
/usr/include/wx/chkconf.h:100:9: #error "wxUSE_PROLOGIO must be defined."
/usr/include/wx/chkconf.h:108:9: #error "wxUSE_PROTOCOL must be defined."
/usr/include/wx/chkconf.h:150:9: #error "wxUSE_REGEX must be defined."
/usr/include/wx/chkconf.h:158:9: #error "wxUSE_SOCKETS must be defined."
/usr/include/wx/chkconf.h:166:9: #error "wxUSE_STREAMS must be defined."
/usr/include/wx/chkconf.h:174:9: #error "wxUSE_STOPWATCH must be defined."
/usr/include/wx/chkconf.h:182:9: #error "wxUSE_TEXTBUFFER must be defined."
/usr/include/wx/chkconf.h:190:9: #error "wxUSE_TEXTFILE must be defined."
/usr/include/wx/chkconf.h:198:9: #error "wxUSE_UNICODE must be defined."
/usr/include/wx/chkconf.h:206:9: #error "wxUSE_URL must be defined."
/usr/include/wx/chkconf.h:224:9: #error "wxUSE_ACCEL must be defined."
/usr/include/wx/chkconf.h:232:9: #error "wxUSE_BMPBUTTON must be defined."
/usr/include/wx/chkconf.h:240:9: #error "wxUSE_BUTTON must be defined."
/usr/include/wx/chkconf.h:248:9: #error "wxUSE_CALENDARCTRL must be defined."
/usr/include/wx/chkconf.h:256:9: #error "wxUSE_CARET must be defined."
/usr/include/wx/chkconf.h:264:9: #error "wxUSE_CHECKBOX must be defined."
/usr/include/wx/chkconf.h:272:9: #error "wxUSE_CHECKLISTBOX must be defined."
/usr/include/wx/chkconf.h:280:9: #error "wxUSE_CHOICE must be defined."
/usr/include/wx/chkconf.h:288:9: #error "wxUSE_CHOICEDLG must be defined."
/usr/include/wx/chkconf.h:296:9: #error "wxUSE_CLIPBOARD must be defined."
/usr/include/wx/chkconf.h:304:9: #error "wxUSE_COLOURDLG must be defined."
/usr/include/wx/chkconf.h:312:9: #error "wxUSE_COMBOBOX must be defined."
/usr/include/wx/chkconf.h:320:9: #error "wxUSE_DATAOBJ must be defined."
/usr/include/wx/chkconf.h:328:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
/usr/include/wx/chkconf.h:336:9: #error "wxUSE_FILEDLG must be defined."
/usr/include/wx/chkconf.h:344:9: #error "wxUSE_FONTDLG must be defined."
/usr/include/wx/chkconf.h:352:9: #error "wxUSE_FONTMAP must be defined."
/usr/include/wx/chkconf.h:360:9: #error "wxUSE_GAUGE must be defined."
/usr/include/wx/chkconf.h:368:9: #error "wxUSE_GRID must be defined."
/usr/include/wx/chkconf.h:376:9: #error "wxUSE_HELP must be defined."
/usr/include/wx/chkconf.h:384:9: #error "wxUSE_HTML must be defined."
/usr/include/wx/chkconf.h:392:9: #error "wxUSE_ICO_CUR must be defined."
/usr/include/wx/chkconf.h:400:9: #error "wxUSE_IFF must be defined."
/usr/include/wx/chkconf.h:408:9: #error "wxUSE_IMAGLIST must be defined."
/usr/include/wx/chkconf.h:416:9: #error "wxUSE_JOYSTICK must be defined."
/usr/include/wx/chkconf.h:424:9: #error "wxUSE_LISTBOX must be defined."
/usr/include/wx/chkconf.h:432:9: #error "wxUSE_LISTCTRL must be defined."
/usr/include/wx/chkconf.h:440:9: #error "wxUSE_LOGGUI must be defined."
/usr/include/wx/chkconf.h:448:9: #error "wxUSE_LOGWINDOW must be defined."
/usr/include/wx/chkconf.h:456:9: #error "wxUSE_LOG_DIALOG must be defined."
/usr/include/wx/chkconf.h:464:9: #error "wxUSE_MDI_ARCHITECTURE must be defined."
/usr/include/wx/chkconf.h:472:9: #error "wxUSE_MENUS must be defined."
/usr/include/wx/chkconf.h:480:9: #error "wxUSE_MSGDLG must be defined."
/usr/include/wx/chkconf.h:488:9: #error "wxUSE_NEW_GRID must be defined."
/usr/include/wx/chkconf.h:496:9: #error "wxUSE_NOTEBOOK must be defined."
/usr/include/wx/chkconf.h:504:9: #error "wxUSE_PALETTE must be defined."
/usr/include/wx/chkconf.h:512:9: #error "wxUSE_POPUPWIN must be defined."
/usr/include/wx/chkconf.h:520:9: #error "wxUSE_PRINTING_ARCHITECTURE must be defined."
/usr/include/wx/chkconf.h:528:9: #error "wxUSE_RADIOBOX must be defined."
/usr/include/wx/chkconf.h:536:9: #error "wxUSE_RADIOBTN must be defined."
/usr/include/wx/chkconf.h:544:9: #error "wxUSE_SASH must be defined."
/usr/include/wx/chkconf.h:552:9: #error "wxUSE_SCROLLBAR must be defined."
/usr/include/wx/chkconf.h:560:9: #error "wxUSE_SLIDER must be defined."
/usr/include/wx/chkconf.h:568:9: #error "wxUSE_SPINBTN must be defined."
/usr/include/wx/chkconf.h:576:9: #error "wxUSE_SPINCTRL must be defined."
/usr/include/wx/chkconf.h:584:9: #error "wxUSE_SPLASH must be defined."
/usr/include/wx/chkconf.h:592:9: #error "wxUSE_SPLITTER must be defined."
/usr/include/wx/chkconf.h:600:9: #error "wxUSE_STATBMP must be defined."
/usr/include/wx/chkconf.h:608:9: #error "wxUSE_STATBOX must be defined."
/usr/include/wx/chkconf.h:616:9: #error "wxUSE_STATLINE must be defined."
/usr/include/wx/chkconf.h:624:9: #error "wxUSE_STATTEXT must be defined."
/usr/include/wx/chkconf.h:632:9: #error "wxUSE_STATUSBAR must be defined."
/usr/include/wx/chkconf.h:640:9: #error "wxUSE_TAB_DIALOG must be defined."
/usr/include/wx/chkconf.h:648:9: #error "wxUSE_TEXTCTRL must be defined."
/usr/include/wx/chkconf.h:656:9: #error "wxUSE_TIPWINDOW must be defined."
/usr/include/wx/chkconf.h:664:9: #error "wxUSE_TOOLBAR must be defined."
/usr/include/wx/chkconf.h:672:9: #error "wxUSE_TOOLTIPS must be defined."
/usr/include/wx/chkconf.h:680:9: #error "wxUSE_TREECTRL must be defined."
/usr/include/wx/chkconf.h:688:9: #error "wxUSE_WX_RESOURCES must be defined."
/usr/include/wx/chkconf.h:696:9: #error "wxUSE_WXHTML_HELP must be defined."
/usr/include/wx/chkconf.h:1138:9: #error "wxMessageBox is always needed"
/usr/include/wx/chkconf.h:1184:9: #error "wxUSE_DYNAMIC_CLASSES must be defined as 1"
In file included from /usr/include/wx/event.h:19,
                 from /usr/include/wx/app.h:24,
                 from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/defs.h:32:2: #error "No Target! You should use wx-config program for compilation flags!"
In file included from /usr/include/wx/memory.h:20,
                 from /usr/include/wx/object.h:25,
                 from /usr/include/wx/event.h:20,
                 from /usr/include/wx/app.h:24,
                 from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/string.h:443: error: `wxChar wxString::operator[](unsigned int) const' and `wxChar wxString::operator[](unsigned int) const' cannot be overloaded
/usr/include/wx/string.h:447: error: `wxChar& wxString::operator[](unsigned int)' and `wxChar& wxString::operator[](unsigned int)' cannot be overloaded
In file included from /usr/include/wx/event.h:20,
                 from /usr/include/wx/app.h:24,
                 from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/object.h:438: error: `wxClassInfo' was not declared in this scope
/usr/include/wx/object.h:438: error: `info' was not declared in this scope
/usr/include/wx/object.h:438: error: invalid data member initialization
/usr/include/wx/object.h:438: error: (use `=' to initialize static data members)
/usr/include/wx/object.h:479: error: syntax error before `*' token
/usr/include/wx/object.h:480: error: semicolon missing after declaration of `wxObject'
/usr/include/wx/object.h: In constructor `wxObject::wxObject()':
/usr/include/wx/object.h:420: error: `m_refData' undeclared (first use this function)
/usr/include/wx/object.h:420: error: (Each undeclared identifier is reported only once for each function it appears in.)
/usr/include/wx/object.h: In destructor `virtual wxObject::~wxObject()':
/usr/include/wx/object.h:421: error: `UnRef' undeclared (first use this function)
/usr/include/wx/object.h: At global scope:
/usr/include/wx/object.h:480: error: `wxObjectRefData' was not declared in this scope
/usr/include/wx/object.h:480: error: `data' was not declared in this scope
/usr/include/wx/object.h:480: error: ISO C++ forbids defining types within return type
/usr/include/wx/object.h:480: error: two or more data types in declaration of `SetRefData'
/usr/include/wx/object.h:480: error: syntax error before `{' token
/usr/include/wx/object.h:486: error: `void UnRef()' used prior to declaration
/usr/include/wx/object.h:488: error: syntax error before `protected'
/usr/include/wx/object.h:498: error: syntax error before `*' token
/usr/include/wx/object.h:501: error: syntax error before `*' token
/usr/include/wx/object.h:503: error: syntax error before `*' token
/usr/include/wx/object.h:525: error: type specifier omitted for parameter `wxClassInfo'
/usr/include/wx/object.h:525: error: syntax error before `*' token
/usr/include/wx/object.h: In function `wxObject* wxCheckDynamicCast(...)':
/usr/include/wx/object.h:527: error: `obj' undeclared (first use this function)
/usr/include/wx/object.h:527: error: `classInfo' undeclared (first use this function)
In file included from /usr/include/wx/event.h:24,
                 from /usr/include/wx/app.h:24,
                 from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/gdicmn.h:27:22: wx/setup.h: No such file or directory
In file included from /usr/include/wx/font.h:24,
                 from /usr/include/wx/gdicmn.h:29,
                 from /usr/include/wx/event.h:24,
                 from /usr/include/wx/app.h:24,
                 from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/fontenc.h:131:6: #error "Unsupported toolkit"
In file included from /usr/include/wx/gdicmn.h:29,
                 from /usr/include/wx/event.h:24,
                 from /usr/include/wx/app.h:24,
                 from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/font.h: At global scope:
/usr/include/wx/font.h:82: error: syntax error before `{' token
/usr/include/wx/font.h:104: error: non-member function `bool Ok()' cannot have `const' method qualifier
/usr/include/wx/font.h:107: error: non-member function `bool operator==(const wxFont&)' cannot have `const' method qualifier
/usr/include/wx/font.h:107: error: `bool operator==(const wxFont&)' must take exactly two arguments
/usr/include/wx/font.h:108: error: non-member function `bool operator!=(const wxFont&)' cannot have `const' method qualifier
/usr/include/wx/font.h:108: error: `bool operator!=(const wxFont&)' must take exactly two arguments
/usr/include/wx/font.h:111: error: virtual outside class declaration
/usr/include/wx/font.h:111: error: non-member function `int GetPointSize()' cannot have `const' method qualifier
/usr/include/wx/font.h:111: error: function `int GetPointSize()' is initialized like a variable
/usr/include/wx/font.h:112: error: virtual outside class declaration
/usr/include/wx/font.h:112: error: non-member function `int GetFamily()' cannot have `const' method qualifier
/usr/include/wx/font.h:112: error: function `int GetFamily()' is initialized like a variable
/usr/include/wx/font.h:113: error: virtual outside class declaration
/usr/include/wx/font.h:113: error: non-member function `int GetStyle()' cannot have `const' method qualifier
/usr/include/wx/font.h:113: error: function `int GetStyle()' is initialized like a variable
/usr/include/wx/font.h:114: error: virtual outside class declaration
/usr/include/wx/font.h:114: error: non-member function `int GetWeight()' cannot have `const' method qualifier
/usr/include/wx/font.h:114: error: function `int GetWeight()' is initialized like a variable
/usr/include/wx/font.h:115: error: virtual outside class declaration
/usr/include/wx/font.h:115: error: non-member function `bool GetUnderlined()' cannot have `const' method qualifier
/usr/include/wx/font.h:115: error: function `bool GetUnderlined()' is initialized like a variable
/usr/include/wx/font.h:116: error: virtual outside class declaration
/usr/include/wx/font.h:116: error: non-member function `wxString GetFaceName()' cannot have `const' method qualifier
/usr/include/wx/font.h:116: error: function `wxString GetFaceName()' is initialized like a variable
/usr/include/wx/font.h:117: error: virtual outside class declaration
/usr/include/wx/font.h:117: error: non-member function `wxFontEncoding GetEncoding()' cannot have `const' method qualifier
/usr/include/wx/font.h:117: error: function `wxFontEncoding GetEncoding()' is initialized like a variable
/usr/include/wx/font.h:118: error: virtual outside class declaration
/usr/include/wx/font.h:118: error: non-member function `wxNativeFontInfo* GetNativeFontInfo()' cannot have `const' method qualifier
/usr/include/wx/font.h:120: error: virtual outside class declaration
/usr/include/wx/font.h:120: error: non-member function `bool IsFixedWidth()' cannot have `const' method qualifier
/usr/include/wx/font.h:122: error: non-member function `wxString GetNativeFontInfoDesc()' cannot have `const' method qualifier
/usr/include/wx/font.h:123: error: non-member function `wxString GetNativeFontInfoUserDesc()' cannot have `const' method qualifier
/usr/include/wx/font.h:126: error: virtual outside class declaration
/usr/include/wx/font.h:126: error: function `void SetPointSize(int)' is initialized like a variable
/usr/include/wx/font.h:127: error: virtual outside class declaration
/usr/include/wx/font.h:127: error: function `void SetFamily(int)' is initialized like a variable
/usr/include/wx/font.h:128: error: virtual outside class declaration
/usr/include/wx/font.h:128: error: function `void SetStyle(int)' is initialized like a variable
/usr/include/wx/font.h:129: error: virtual outside class declaration
/usr/include/wx/font.h:129: error: function `void SetWeight(int)' is initialized like a variable
/usr/include/wx/font.h:130: error: virtual outside class declaration
/usr/include/wx/font.h:130: error: function `void SetFaceName(const wxString&)' is initialized like a variable
/usr/include/wx/font.h:131: error: virtual outside class declaration
/usr/include/wx/font.h:131: error: function `void SetUnderlined(bool)' is initialized like a variable
/usr/include/wx/font.h:132: error: virtual outside class declaration
/usr/include/wx/font.h:132: error: function `void SetEncoding(wxFontEncoding)' is initialized like a variable
/usr/include/wx/font.h:133: error: virtual outside class declaration
/usr/include/wx/font.h:140: error: non-member function `wxString GetFamilyString()' cannot have `const' method qualifier
/usr/include/wx/font.h:141: error: non-member function `wxString GetStyleString()' cannot have `const' method qualifier
/usr/include/wx/font.h:142: error: non-member function `wxString GetWeightString()' cannot have `const' method qualifier
/usr/include/wx/font.h:145: error: virtual outside class declaration
/usr/include/wx/font.h:146: error: virtual outside class declaration
/usr/include/wx/font.h: In function `wxFontEncoding GetDefaultEncoding()':
/usr/include/wx/font.h:150: error: `ms_encodingDefault' undeclared (first use this function)
/usr/include/wx/font.h: At global scope:
/usr/include/wx/font.h:153: error: syntax error before `protected'
In file included from /usr/include/wx/event.h:25,
                 from /usr/include/wx/app.h:24,
                 from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/cursor.h: In destructor `wxBusyCursorSuspender::~wxBusyCursorSuspender()':
/usr/include/wx/cursor.h:55: error: invalid use of undefined type `const struct wxCursor'
/usr/include/wx/gdicmn.h:38: error: forward declaration of `const struct wxCursor'
In file included from /usr/include/wx/app.h:24,
                 from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/event.h: At global scope:
/usr/include/wx/event.h:801: error: field `m_cursor' has incomplete type
/usr/include/wx/event.h: In constructor `wxSetCursorEvent::wxSetCursorEvent(int, int)':
/usr/include/wx/event.h:782: error: class `wxSetCursorEvent' does not have any field named `m_cursor'
/usr/include/wx/event.h: In copy constructor `wxSetCursorEvent::wxSetCursorEvent(const wxSetCursorEvent&)':
/usr/include/wx/event.h:788: error: `m_cursor' undeclared (first use this function)
/usr/include/wx/event.h:788: error: 'const class wxSetCursorEvent' has no member named 'm_cursor'
In file included from /usr/include/wx/app.h:27,
                 from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/window.h: At global scope:
/usr/include/wx/window.h:847: error: `WXWidget' declared as a `virtual' field
/usr/include/wx/window.h:847: error: syntax error before `(' token
/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: field `m_backgroundColour' has incomplete type
/usr/include/wx/window.h:903: error: field `m_foregroundColour' has incomplete type
/usr/include/wx/window.h:910: error: field `m_updateRegion' has incomplete type
/usr/include/wx/window.h: In member function `const wxRegion& wxWindowBase::GetUpdateRegion() const':
/usr/include/wx/window.h:591: error: `m_updateRegion' undeclared (first use this function)
/usr/include/wx/window.h: In member function `wxColour wxWindowBase::GetBackgroundColour() const':
/usr/include/wx/window.h:615: error: return type `struct wxColour' is incomplete
/usr/include/wx/window.h:615: error: `m_backgroundColour' undeclared (first use this function)
/usr/include/wx/window.h: In member function `wxColour wxWindowBase::GetForegroundColour() const':
/usr/include/wx/window.h:616: error: return type `struct wxColour' is incomplete
/usr/include/wx/window.h:616: error: `m_foregroundColour' undeclared (first use this function)
/usr/include/wx/window.h: In member function `const wxFont& wxWindowBase::GetFont() const':
/usr/include/wx/window.h:627: error: `m_font' undeclared (first use this function)
/usr/include/wx/window.h: In member function `wxWindow* wxWindowBase::GetGrandParent() const':
/usr/include/wx/window.h:1156: error: `GetParent' undeclared (first use this function)
In file included from ExternalConnector.h:34,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
/usr/include/wx/app.h: At global scope:
/usr/include/wx/app.h:456: error: syntax error before `*' token
/usr/include/wx/app.h: In constructor `wxAppInitializer::wxAppInitializer(wxObject*(*)())':
/usr/include/wx/app.h:536: error: `wxApp' undeclared (first use this function)
/usr/include/wx/app.h:536: error: syntax error before `;' token
In file included from ExternalConnector.h:42,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
ECSocket.h: At global scope:
ECSocket.h:57: error: syntax error before `&' token
ECSocket.h:70: error: `wxSockAddress' was not declared in this scope
ECSocket.h:70: error: `address' was not declared in this scope
ECSocket.h:70: error: syntax error before `=' token
ECSocket.h:77: error: syntax error before `*' token
ECSocket.h:78: error: semicolon missing after declaration of `ECSocket'
ECSocket.h: In member function `bool ECSocket::Destroy()':
ECSocket.h:64: error: `m_sock' undeclared (first use this function)
ECSocket.h: In member function `bool ECSocket::Connect(...)':
ECSocket.h:70: error: `wxSocketClient' undeclared (first use this function)
ECSocket.h:70: error: syntax error before `bool'
ECSocket.h:70: error: `address' undeclared (first use this function)
ECSocket.h:70: error: syntax error before `bool'
ECSocket.h: In member function `bool ECSocket::WaitOnConnect(long int, long int)':
ECSocket.h:71: error: syntax error before `bool'
ECSocket.h: In member function `bool ECSocket::IsConnected()':
ECSocket.h:72: error: syntax error before `bool'
ECSocket.h: At global scope:
ECSocket.h:78: error: ISO C++ forbids defining types within return type
ECSocket.h:78: error: `bool' is now a keyword
ECSocket.h:78: error: semicolon missing after declaration of `class ECSocket'
ECSocket.h: In function `int WaitForAccept(long int, long int)':
ECSocket.h:78: error: `wxSocketServer' undeclared (first use this function)
ECSocket.h:78: error: syntax error before `)' token
ECSocket.h: At global scope:
ECSocket.h:83: error: `wxSocketBase' was not declared in this scope
ECSocket.h:83: error: `sock' was not declared in this scope
ECSocket.h:84: error: `wxSocketBase' was not declared in this scope
ECSocket.h:84: error: `sock' was not declared in this scope
ECSocket.h:84: error: syntax error before `*' token
ECSocket.h:87: error: `wxSocketBase' was not declared in this scope
ECSocket.h:87: error: `sock' was not declared in this scope
ECSocket.h:87: error: syntax error before `*' token
ECSocket.h:88: error: `wxSocketBase' was not declared in this scope
ECSocket.h:88: error: `sock' was not declared in this scope
ECSocket.h:88: error: syntax error before `*' token
ECSocket.h:90: error: `wxSocketBase' was not declared in this scope
ECSocket.h:90: error: `sock' was not declared in this scope
ECSocket.h:90: error: syntax error before `void'
ECSocket.h:91: error: `wxSocketBase' was not declared in this scope
ECSocket.h:91: error: `sock' was not declared in this scope
ECSocket.h:91: error: syntax error before `void'
ECSocket.h: In function `CECPacket* ReadPacket()':
ECSocket.h:96: error: `CECPacket* ReadPacket()' redeclared as different kind of symbol
ECSocket.h:83: error: previous declaration of `CECPacket*ReadPacket'
ECSocket.h:83: error: previous non-function declaration `CECPacket*ReadPacket'
ECSocket.h:96: error: conflicts with function declaration `CECPacket* ReadPacket()'
ECSocket.h:96: error: `ReadPacket' cannot be used as a function
ECSocket.h: At global scope:
ECSocket.h:105: error: syntax error before `private'
ECSocket.h:108: error: syntax error before `*' token
In file included from ECPacket.h:28,
                 from ExternalConnector.h:43,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
StringFunctions.h:49: error: syntax error before `(' token
In file included from ExternalConnector.h:43,
                 from TextClient.h:60,
                 from TextClient.cpp:33:
ECPacket.h: In member function `wxString CECTag::GetStringData() const':
ECPacket.h:77: error: `cMB2WC' undeclared (first use this function)
ECPacket.h:77: error: `aMuleConv' undeclared (first use this function)
In file included from TextClient.h:60,
                 from TextClient.cpp:33:
ExternalConnector.h: At global scope:
ExternalConnector.h:61: error: syntax error before `{' token
ExternalConnector.h:71: error: virtual outside class declaration
ExternalConnector.h:72: error: virtual outside class declaration
ExternalConnector.h:73: error: virtual outside class declaration
ExternalConnector.h:74: error: virtual outside class declaration
ExternalConnector.h:75: error: virtual outside class declaration
ExternalConnector.h:76: error: virtual outside class declaration
ExternalConnector.h: In function `void DebugShow(const wxString&)':
ExternalConnector.h:82: error: `m_Verbose' undeclared (first use this function)
ExternalConnector.h: At global scope:
ExternalConnector.h:85: error: non-member function `const wxString& GetCmdArgs()' cannot have `const' method qualifier
ExternalConnector.h: In function `const wxString& GetCmdArgs()':
ExternalConnector.h:85: error: `m_cmdargs' undeclared (first use this function)
ExternalConnector.h: At global scope:
ExternalConnector.h:99: error: syntax error before `private'
ExternalConnector.h:102: error: `wxString m_cmdargs' used prior to declaration
ExternalConnector.h:112: error: `bool m_Verbose' used prior to declaration
ExternalConnector.h:115: error: syntax error before `private'
ExternalConnector.h:117: error: 'StrList' is used as a type, but is not defined as a type.
ExternalConnector.h:118: error: 'wxMutex' is used as a type, but is not defined as a type.
ExternalConnector.h:120: error: syntax error before `}' token
In file included from TextClient.h:67,
                 from TextClient.cpp:33:
/usr/include/wx/timer.h:20:22: wx/setup.h: No such file or directory
In file included from TextClient.cpp:33:
TextClient.h:69: error: base class `wxFrame' has incomplete type
TextClient.h:79: error: `wxTimerEvent' was not declared in this scope
TextClient.h:79: error: `event' was not declared in this scope
TextClient.h:79: error: invalid data member initialization
TextClient.h:79: error: variable or field `OnTimerEvent' declared void
TextClient.h:80: error: syntax error before `*' token
TextClient.h:81: error: syntax error before `*' token
TextClient.h:82: error: syntax error before `*' token
TextClient.h:92: error: base class `CaMuleExternalConnector' has incomplete type
In file included from /usr/include/wx/frame.h:23,
                 from /usr/include/wx/sizer.h:22,
                 from TextClient.cpp:40:
/usr/include/wx/toplevel.h:61: error: base class `wxWindow' has incomplete type
In file included from /usr/include/wx/panel.h:4,
                 from /usr/include/wx/dialog.h:25,
                 from /usr/include/wx/sizer.h:23,
                 from TextClient.cpp:40:
/usr/include/wx/generic/panelg.h:35: error: base class `wxWindow' has incomplete type
TextClient.cpp:88: error: syntax error before `*' token
TextClient.cpp:88: error: `wxCreateApp' was not declared in this scope
TextClient.cpp: In function `CamulecmdApp& wxGetApp()':
TextClient.cpp:88: error: `wxTheApp' undeclared (first use this function)
TextClient.cpp: At global scope:
TextClient.cpp:111: error: incomplete type `wxFrame' does not have member `sm_eventTable'
TextClient.cpp:114: error: `EVT_TEXT_ENTER' was not declared in this scope
TextClient.cpp:115: error: syntax error before `(' token
TextClient.cpp:115: error: syntax error before `)' token
TextClient.cpp:116: error: `EVT_TIMER' was not declared in this scope
TextClient.cpp:117: error: syntax error before `(' token
TextClient.cpp:117: error: syntax error before `)' token
TextClient.cpp: In constructor `CamulecmdFrame::CamulecmdFrame(const wxString&, const wxPoint&, const wxSize&, long int)':
TextClient.cpp:122: error: type `struct wxFrame' is not a direct base of `CamulecmdFrame'
TextClient.cpp:124: error: invalid use of undefined type `struct wxMenu'
/usr/include/wx/event.h:38: error: forward declaration of `struct wxMenu'
TextClient.cpp:125: error: `Append' undeclared (first use this function)
TextClient.cpp:127: error: invalid use of undefined type `struct wxMenu'
/usr/include/wx/event.h:38: error: forward declaration of `struct wxMenu'
TextClient.cpp:131: error: invalid use of undefined type `struct wxMenuBar'
/usr/include/wx/frame.h:31: error: forward declaration of `struct wxMenuBar'
TextClient.cpp:136: error: `SetMenuBar' undeclared (first use this function)
TextClient.cpp:140: error: `log_text' undeclared (first use this function)
TextClient.cpp:140: error: syntax error before `(' token
TextClient.cpp:148: error: invalid use of undefined type `struct wxFont'
/usr/include/wx/font.h:33: error: forward declaration of `struct wxFont'
TextClient.cpp:149: error: `wxTextAttr' undeclared (first use this function)
TextClient.cpp:152: error: `wxStaticLine' undeclared (first use this function)
TextClient.cpp:152: error: `line' undeclared (first use this function)
TextClient.cpp:152: error: syntax error before `(' token
TextClient.cpp:155: error: `cmd_control' undeclared (first use this function)
TextClient.cpp:155: error: syntax error before `(' token
TextClient.cpp:162: error: `SetSizer' undeclared (first use this function)
TextClient.cpp:163: error: no matching function for call to `wxBoxSizer::SetSizeHints(CamulecmdFrame* const)'
/usr/include/wx/sizer.h:198: error: candidates are: void wxSizer::SetSizeHints(wxWindow*)
TextClient.cpp:165: error: `m_timer' undeclared (first use this function)
TextClient.cpp:165: error: syntax error before `(' token
TextClient.cpp: In member function `void CamulecmdFrame::OnQuit(wxCommandEvent&)':
TextClient.cpp:173: error: `Close' undeclared (first use this function)
TextClient.cpp: In member function `void CamulecmdFrame::OnAbout(wxCommandEvent&)':
Logged

nico-de-nantes

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: can't compile with wx 2.4.2
« Reply #1 on: December 27, 2004, 10:17:29 AM »

TextClient.cpp:183: error: `wxMessageBox' undeclared (first use this function)
TextClient.cpp: In member function `void CamulecmdFrame::OnComandEnter(wxCommandEvent&)':
TextClient.cpp:194: error: `Close' undeclared (first use this function)
TextClient.cpp: At global scope:
TextClient.cpp:204: error: `wxTimerEvent' was not declared in this scope
TextClient.cpp:204: error: `event' was not declared in this scope
TextClient.cpp:205: error: variable or field `OnTimerEvent' declared void
TextClient.cpp:205: error: `int CamulecmdFrame::OnTimerEvent' is not a static member of `class CamulecmdFrame'
TextClient.cpp:205: error: syntax error before `{' token
TextClient.cpp: In member function `void CamulecmdApp::LocalShow(const wxString&)':
TextClient.cpp:218: error: 'class CamulecmdFrame' has no member named 'log_text'
TextClient.cpp: In member function `virtual bool CamulecmdApp::OnInit()':
TextClient.cpp:671: error: incomplete type 'CaMuleExternalConnector' cannot be used to name a scope
TextClient.cpp:673: error: `Show' undeclared (first use this function)
make[4]: *** [amulecmd-TextClient.o] Error 1
make[4]: Leaving directory `/home/users/neoclust/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/users/neoclust/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/users/neoclust/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/users/neoclust/amule-cvs'
make: *** [all] Error 2
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: can't compile with wx 2.4.2
« Reply #2 on: December 27, 2004, 10:43:14 AM »

Quote
/usr/include/wx/platform.h:85:22: wx/setup.h: No such file or directory
Bad/broken wx installation.

c&p the results of the following commands here

$ rpm -qa | grep wx
$ ls -l /usr/lib/wx*
$ ls -l /usr/local/lib/wx*
$ ls -l /usr/lib/wx/include/*/wx/*
$ ls -l /usr/local/lib/wx/include/*/wx/*
Logged
concordia cum veritate

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: can't compile with wx 2.4.2
« Reply #3 on: December 27, 2004, 12:32:37 PM »

nico-de-nantes,

Also tell us your distro. The probable fix is uninstalling the wx rpms or debs or whatever your distro uses and using the version in our home page:

http://www.amule.org/files/files.php?cat=12

Also, don't use gtk2 with wxGTK-2.4.2. Either use gtk1+wxGTK2.4.2 or use gtk2+wxGTK-2.5.3.

Cheers!
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: can't compile with wx 2.4.2
« Reply #4 on: December 27, 2004, 03:42:21 PM »

Quote
Originally posted by phoenix
nico-de-nantes,

Also tell us your distro. The probable fix is uninstalling the wx rpms or debs or whatever your distro uses and using the version in our home page:

http://www.amule.org/files/files.php?cat=12

Also, don't use gtk2 with wxGTK-2.4.2. Either use gtk1+wxGTK2.4.2 or use gtk2+wxGTK-2.5.3.

Cheers!

http://www.amule.org/wiki/index.php/Compilation_Installation

and here a howto ;)

cheers

nico-de-nantes

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: can't compile with wx 2.4.2
« Reply #5 on: December 27, 2004, 05:03:19 PM »

@GonoszTopi:

$ wget rpm -qa | grep wx
wget: option requires an argument -- a
[neoclust@virgo SOURCES]$ rpm -qa | grep wx
libwxgtkgl2.4-2.4.2-1mdk
libwx_base2.4_0-devel-2.4.1-2mdk
libwxgtk2.4-devel-2.4.2-1mdk
wxGTK-2.4.2-1mdk
wxPythonGTK-2.4.1.2-3mdk
libwxPythonGTK2.4-2.4.1.2-3mdk
libwxgtk2.4-2.4.2-1mdk
libwx_base2.4_0-2.4.1-2mdk


$ ls -l /usr/lib/wx*
/usr/lib/wx:
total 0
drwxr-xr-x    5 root     root          120 Feb 25  2004 include/

/usr/lib/wxPython:
total 0
drwxr-xr-x    2 root     root          216 Dec  5  2003 lib/
drwxr-xr-x    4 root     root           96 Dec  5  2003 share/

$  ls -l /usr/local/lib/wx*
ls: /usr/local/lib/wx*: No such file or directory


$ ls -l /usr/lib/wx/include/*/wx/*
-rw-r--r--    1 root     root        21809 Feb 25  2004 /usr/lib/wx/include/base-2.4/wx/setup.h
-rw-r--r--    1 root     root        22020 Oct  2  2003 /usr/lib/wx/include/gtk2-2.4/wx/setup.h

$ls -l /usr/local/lib/wx/include/*/wx/*
ls: /usr/local/lib/wx/include/*/wx/*: No such file or directory


@phoenix:


I use mandrakelinux  with mandrakelinux rpms and i don't mix packages.

thepolish told me here: http://forum.amule.org/thread.php?sid=&postid=24095#post24095 that amulecmd requires  wxGTK 2.5
« Last Edit: December 27, 2004, 05:03:38 PM by nico-de-nantes »
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: can't compile with wx 2.4.2
« Reply #6 on: December 27, 2004, 05:07:50 PM »

1. amuled requires wxgtk >= 2.5.3, not amulecmd

2. never use wxgtk from mandrake - and you have a lot of it there

3. uninstall all those wxGTK and libwx rpms (rpm -e name..rpm)

4. mdk 10 or 10.1 ?

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: can't compile with wx 2.4.2
« Reply #7 on: December 27, 2004, 05:09:14 PM »

Well, you have different versions for wxBase (2.4.1) and wxGTK (2.4.2).

If you want a stable and good aMule, best would be to uninstall mdk rpms, and install ours. If you don't want to, don't blame us if something doesn't work.

You don't even have wx-config. Didn't configure tell you?

Anyway, have fun.
Logged
concordia cum veritate

nico-de-nantes

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: can't compile with wx 2.4.2
« Reply #8 on: December 27, 2004, 09:25:51 PM »

my rpm of aMule 2.0.0rc8 made with mdk's rpm wx 2.5.3 ( mdk coooker )    is stable  for previous release i have not tested for a long time but for the version i tested i doesn't see any problem

@GonoszTopi: i doesn't blame anybody :) i have questions with no answer so i ask :)

@deltaHF: it doesn't work for mandrake 9.2 and we haven't wx 2.5.3 for mdk 9.2
and you doesn't provide rpms for mandrake 9.2
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: can't compile with wx 2.4.2
« Reply #9 on: December 27, 2004, 09:49:08 PM »

nico-de-nantes, you are using mdk 9.2 ?

we don't have any mdk 9.2 rpms, because noone of us have mdk 9.2 here.. maybe with your support we can provide some ;)

nico-de-nantes

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: can't compile with wx 2.4.2
« Reply #10 on: December 27, 2004, 10:32:50 PM »

Have have mdk 9.2 10.0 10.1 and cooker


i am making rpms for PLF and as some of our users are still using mdk 9.2 i have done rpm for them

I prefer people add our repository to urpmi  we have aMule's rpm for mandrake 9.2-10.0-10.1-10.2.
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: can't compile with wx 2.4.2
« Reply #11 on: December 27, 2004, 10:35:26 PM »

tho we don't prefer mdk wxgtk but org. from wxwidgets

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: can't compile with wx 2.4.2
« Reply #12 on: December 28, 2004, 03:47:06 AM »

nico-de-nantes: it might be time to compile these programs from source.
Logged
-- El payaso cabron me dice que tengo que consumir!

nico-de-nantes

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: can't compile with wx 2.4.2
« Reply #13 on: December 28, 2004, 02:47:21 PM »

@ateo: what ?
Logged

Ateo

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 138
  • pfft.
    • http://www.atheistnetwork.com
Re: can't compile with wx 2.4.2
« Reply #14 on: December 29, 2004, 08:04:55 PM »

It looks like you'll need to compile wxGTK for your system instead of using precompiled binaries. Precompiled binaries are a shot in the dark as far as working on every single system it's attempted to be installed on....
Logged
-- El payaso cabron me dice que tengo que consumir!
Pages: [1] 2