aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: errors in compile  (Read 5959 times)

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
errors in compile
« on: March 21, 2005, 04:47:33 PM »

this topic is the continue of the topic:
http://www.amule.org/amule/thread.php?threadid=5452&sid=

thanks,
Leo Torjeman
Logged

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
Re: errors in compile
« Reply #1 on: March 21, 2005, 05:26:30 PM »

well i am now compiling the wx dependencies, i downloaded and now compiling wxGTK-2.5.4, what else do i need to compile and from where to download it? also do i need to set something in the ./configure?

thanks
Logged

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
Re: errors in compile
« Reply #2 on: March 21, 2005, 05:56:46 PM »

i completed compiling and installing wxgtk-2.5.4 and removed 2.5.3, now ./configure returns:

Code: [Select]
checking for sys/timeb.h... yes
checking for mkdir... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking whether SysTray should be compiled... yes
checking whether SysTray should use UTF-8 strings... no
checking whether pure GTK code should be compiled... yes
checking for a readline compatible library... no
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: error: cannot find input file: intl/Makefile.in

what am i missing?

thanks
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: errors in compile
« Reply #3 on: March 21, 2005, 05:57:24 PM »

well if you want --enable-gtk2 --enable-unicode
or compile with --disable-gtk2 --with-gtk

and for the other thread, the compile error you had can be fixed by installing the cvs package from your distro...

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: errors in compile
« Reply #4 on: March 21, 2005, 06:22:54 PM »

No. he did run autogen, and he can't run autogen.

Re-dl the amule CVs and try to compile it.
Logged

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
Re: errors in compile
« Reply #5 on: March 21, 2005, 06:55:32 PM »

well i removed the wxgtk 2.5.4 that i compiled because ./configure returns a few errors, so i reinstalled amule through apt so all the dependencies are installed, i downloaded again the cvs and apply the patch, still get errors:

Code: [Select]
/usr/include/wx-2.5/wx/zipstrm.h: In member function `const int&
   const_reverse_iterator::operator*() const':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `;' token
/usr/include/wx-2.5/wx/list.h: In member function `const_reverse_iterator&
   const_reverse_iterator::operator++()':
/usr/include/wx-2.5/wx/list.h:345: error: `wxNodeBase*
   wxNodeBase::GetPrevious() const' is protected
/usr/include/wx-2.5/wx/zipstrm.h:265: error: within this context
/usr/include/wx-2.5/wx/zipstrm.h:265: error: invalid conversion from `
   wxNodeBase*' to `wx_wxZipEntryListNode*'
/usr/include/wx-2.5/wx/list.h: In member function `const_reverse_iterator
   const_reverse_iterator::operator++(int)':
/usr/include/wx-2.5/wx/list.h:345: error: `wxNodeBase*
   wxNodeBase::GetPrevious() const' is protected
/usr/include/wx-2.5/wx/zipstrm.h:265: error: within this context
/usr/include/wx-2.5/wx/zipstrm.h:265: error: invalid conversion from `
   wxNodeBase*' to `wx_wxZipEntryListNode*'
/usr/include/wx-2.5/wx/list.h: In member function `const_reverse_iterator&
   const_reverse_iterator::operator--()':
/usr/include/wx-2.5/wx/list.h:344: error: `wxNodeBase* wxNodeBase::GetNext()
   const' is protected
/usr/include/wx-2.5/wx/zipstrm.h:265: error: within this context
/usr/include/wx-2.5/wx/zipstrm.h:265: error: invalid conversion from `
   wxNodeBase*' to `wx_wxZipEntryListNode*'
/usr/include/wx-2.5/wx/list.h: In member function `const_reverse_iterator
   const_reverse_iterator::operator--(int)':
/usr/include/wx-2.5/wx/list.h:344: error: `wxNodeBase* wxNodeBase::GetNext()
   const' is protected
/usr/include/wx-2.5/wx/zipstrm.h:265: error: within this context
/usr/include/wx-2.5/wx/zipstrm.h:265: error: invalid conversion from `
   wxNodeBase*' to `wx_wxZipEntryListNode*'
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `,' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `,' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: non-member function `
   const_iterator begin()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h:265: error: semicolon missing after
   declaration of `class const_iterator'
/usr/include/wx-2.5/wx/zipstrm.h: In function `int begin()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: new declaration `int begin()'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: ambiguates old declaration `
   iterator begin()'
/usr/include/wx-2.5/wx/zipstrm.h: In function `iterator begin()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: cannot convert `const_iterator' to
   `int' in return
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: non-member function `
   const_iterator end()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `const_iterator end()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: new declaration `const_iterator
   end()'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: ambiguates old declaration `
   iterator end()'
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: non-member function `
   const_reverse_iterator rbegin()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `const_reverse_iterator rbegin()
   ':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: new declaration `
   const_reverse_iterator rbegin()'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: ambiguates old declaration `
   reverse_iterator rbegin()'
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: non-member function `
   const_reverse_iterator rend()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `const_reverse_iterator rend()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: new declaration `
   const_reverse_iterator rend()'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: ambiguates old declaration `
   reverse_iterator rend()'
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `size_type' was not declared in
   this scope
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `,' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void resize(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `n' undeclared (first use this
   function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `size' undeclared (first use this
   function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `pop_back' undeclared (first use
   this function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `v' undeclared (first use this
   function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `push_back' undeclared (first use
   this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: non-member function `bool empty()'
   cannot have `const' method qualifier
/usr/include/wx-2.5/wx/string.h: In function `bool empty()':
/usr/include/wx-2.5/wx/string.h:110: error: too few arguments to function `bool
   IsEmpty(const char*)'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: at this point in file
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void push_front(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `const_base_reference' undeclared
   (first use this function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void push_back(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `void push_back(...)' used prior
   to declaration
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void pop_back()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `void pop_back()' used prior to
   declaration
/usr/include/wx-2.5/wx/zipstrm.h: In function `void assign(const_iterator,
   const_iterator)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `clear' undeclared (first use this
   function)
/usr/include/wx-2.5/wx/zipstrm.h:265: warning: cannot pass objects of non-POD
   type `class const_iterator' through `...'; call will abort at runtime
/usr/include/wx-2.5/wx/zipstrm.h:265: warning: cannot pass objects of non-POD
   type `class const_iterator' through `...'; call will abort at runtime
/usr/include/wx-2.5/wx/zipstrm.h:265: error: no match for 'operator++' in '++
   first'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `Append' cannot be used as a
   function
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `,' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void assign(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `size_type' undeclared (first use
   this function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `i' undeclared (first use this
   function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: type specifier omitted for
   parameter `const_reference'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `iterator insert(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: type specifier omitted for
   parameter `size_type'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `,' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void insert(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: new declaration `void insert(...)'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: ambiguates old declaration `
   iterator insert(...)'
/usr/include/wx-2.5/wx/zipstrm.h: In function `iterator insert(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void insert(iterator,
   const_iterator, const_iterator)':
/usr/include/wx-2.5/wx/zipstrm.h:265: warning: cannot pass objects of non-POD
   type `class const_iterator' through `...'; call will abort at runtime
/usr/include/wx-2.5/wx/zipstrm.h:265: warning: cannot pass objects of non-POD
   type `class const_iterator' through `...'; call will abort at runtime
/usr/include/wx-2.5/wx/zipstrm.h:265: error: no match for 'operator++' in '++
   first'
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `Insert' cannot be used as a
   function
/usr/include/wx-2.5/wx/list.h: In function `iterator erase(iterator)':
/usr/include/wx-2.5/wx/list.h:344: error: `wxNodeBase* wxNodeBase::GetNext()
   const' is protected
/usr/include/wx-2.5/wx/zipstrm.h:265: error: within this context
/usr/include/wx-2.5/wx/zipstrm.h:265: error: invalid conversion from `
   wxNodeBase*' to `wx_wxZipEntryListNode*'
/usr/include/wx-2.5/wx/zipstrm.h:265: error:   initializing argument 1 of `
   iterator::iterator(wx_wxZipEntryListNode*, wx_wxZipEntryListNode*)'
/usr/include/wx-2.5/wx/zipstrm.h: In function `iterator erase(iterator,
   iterator)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `DeleteNodes' undeclared (first
   use this function)
/usr/include/wx-2.5/wx/zipstrm.h: In function `void clear()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `void clear()' used prior to
   declaration
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `Clear' undeclared (first use this
   function)
/usr/include/wx-2.5/wx/zipstrm.h: In function `void splice(iterator,
   _wxZipEntryList&, iterator, iterator)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `erase' undeclared (first use this
   function)
/usr/include/wx-2.5/wx/zipstrm.h: In function `void splice(iterator,
   _wxZipEntryList&)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `begin' undeclared (first use this
   function)
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `end' undeclared (first use this
   function)
/usr/include/wx-2.5/wx/zipstrm.h: In function `void splice(iterator,
   _wxZipEntryList&, iterator)':
/usr/include/wx-2.5/wx/zipstrm.h:265: warning: cannot pass objects of non-POD
   type `class iterator' through `...'; call will abort at runtime
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `erase' undeclared (first use this
   function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void remove(...)':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `)' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void reverse()':
/usr/include/wx-2.5/wx/zipstrm.h:265: error: `Reverse' undeclared (first use
   this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:265: error: parse error before `}' token
/usr/include/wx-2.5/wx/zipstrm.h:268: error: parse error before `{' token
/usr/include/wx-2.5/wx/zipstrm.h:273: error: destructors must be member
   functions
/usr/include/wx-2.5/wx/zipstrm.h:273: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:275: error: `entry' was not declared in this
   scope
/usr/include/wx-2.5/wx/zipstrm.h:275: error: syntax error before `{' token
/usr/include/wx-2.5/wx/zipstrm.h:279: error: `bool PutNextEntry(const
   wxString&, const wxDateTime&, long long int)' redeclared as different kind
   of symbol
/usr/include/wx-2.5/wx/zipstrm.h:275: error: previous declaration of `bool
   PutNextEntry'
/usr/include/wx-2.5/wx/zipstrm.h:275: error: previous non-function declaration
   `bool PutNextEntry'
/usr/include/wx-2.5/wx/zipstrm.h:279: error: conflicts with function
   declaration `bool PutNextEntry(const wxString&, const wxDateTime&, long long
   int)'
/usr/include/wx-2.5/wx/zipstrm.h:284: error: `entry' was not declared in this
   scope
/usr/include/wx-2.5/wx/zipstrm.h:284: error: parse error before `&' token
/usr/include/wx-2.5/wx/zipstrm.h: In function `void SetComment(const wxString&)
   ':
/usr/include/wx-2.5/wx/zipstrm.h:291: error: redefinition of `void
   SetComment(const wxString&)'
/usr/include/wx-2.5/wx/zipstrm.h:168: error: `void SetComment(const wxString&)'
   previously defined here
/usr/include/wx-2.5/wx/zipstrm.h:291: error: redefinition of `void
   SetComment(const wxString&)'
/usr/include/wx-2.5/wx/zipstrm.h:168: error: `void SetComment(const wxString&)'
   previously defined here
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:293: error: non-member function `int
   GetLevel()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `int GetLevel()':
/usr/include/wx-2.5/wx/zipstrm.h:293: error: `m_level' undeclared (first use
   this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:296: error: parse error before `protected'
/usr/include/wx-2.5/wx/zipstrm.h:298: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:298: error: non-member function `wxFileOffset
   OnSysTell()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `wxFileOffset OnSysTell()':
/usr/include/wx-2.5/wx/zipstrm.h:298: error: `m_entrySize' undeclared (first
   use this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:302: error: type specifier omitted for
   parameter `wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:302: error: parse error before `&' token
/usr/include/wx-2.5/wx/zipstrm.h:303: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:304: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:306: error: non-member function `bool
   IsParentSeekable()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `bool IsParentSeekable()':
/usr/include/wx-2.5/wx/zipstrm.h:307: error: `m_offsetAdjustment' undeclared
   (first use this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:309: error: parse error before `private'
/usr/include/wx-2.5/wx/zipstrm.h:311: error: `wxArchiveEntry' was not declared
   in this scope
/usr/include/wx-2.5/wx/zipstrm.h:311: error: `entry' was not declared in this
   scope
/usr/include/wx-2.5/wx/zipstrm.h:311: error: `wxArchiveInputStream' was not
   declared in this scope
/usr/include/wx-2.5/wx/zipstrm.h:311: error: `stream' was not declared in this
   scope
/usr/include/wx-2.5/wx/zipstrm.h:311: error: `bool CopyEntry' redeclared as
   different kind of symbol
/usr/include/wx-2.5/wx/zipstrm.h:284: error: previous declaration of `bool
   CopyEntry(...)'
/usr/include/wx-2.5/wx/zipstrm.h:311: error: initializer list being treated as
   compound expression
/usr/include/wx-2.5/wx/zipstrm.h:312: error: `wxArchiveInputStream' was not
   declared in this scope
/usr/include/wx-2.5/wx/zipstrm.h:312: error: `stream' was not declared in this
   scope
/usr/include/wx-2.5/wx/zipstrm.h:312: error: `bool CopyArchiveMetaData'
   redeclared as different kind of symbol
/usr/include/wx-2.5/wx/zipstrm.h:285: error: previous declaration of `bool
   CopyArchiveMetaData(wxZipInputStream&)'
/usr/include/wx-2.5/wx/zipstrm.h:314: error: non-member function `bool
   IsOpened()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `bool IsOpened()':
/usr/include/wx-2.5/wx/zipstrm.h:314: error: `m_comp' undeclared (first use
   this function)
/usr/include/wx-2.5/wx/zipstrm.h:314: error: `m_pending' undeclared (first use
   this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:316: error: `entry' was not declared in this
   scope
/usr/include/wx-2.5/wx/zipstrm.h:316: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h:322: error: conflicting types for `
   wxZipStreamLink*m_backlink'
/usr/include/wx-2.5/wx/zipstrm.h:253: error: previous declaration as `
   wxZipWeakLinks*m_backlink'
/usr/include/wx-2.5/wx/zipstrm.h:323: error: cannot declare variable `m_entries
   ' to be of type `_wxZipEntryList'
/usr/include/wx-2.5/wx/zipstrm.h:323: error:   because the following virtual
   functions are abstract:
/usr/include/wx-2.5/wx/list.h:435: error:       virtual wxNodeBase*
   wxListBase::CreateNode(wxNodeBase*, wxNodeBase*, void*, const wxListKey&)
/usr/include/wx-2.5/wx/zipstrm.h:326: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:330: error: `wxFileOffset m_entrySize' used
   prior to declaration
/usr/include/wx-2.5/wx/zipstrm.h:332: error: `wxOutputStream*m_comp' used prior
   to declaration
/usr/include/wx-2.5/wx/zipstrm.h:333: error: `int m_level' used prior to
   declaration
/usr/include/wx-2.5/wx/zipstrm.h:334: error: `wxFileOffset m_offsetAdjustment'
   used prior to declaration
/usr/include/wx-2.5/wx/zipstrm.h:335: error: redefinition of `wxString
   m_Comment'
/usr/include/wx-2.5/wx/zipstrm.h:244: error: `wxString m_Comment' previously
   declared here
/usr/include/wx-2.5/wx/zipstrm.h:337: error: parse error before `private'
/usr/include/wx-2.5/wx/zipstrm.h:337: error: syntax error before `&' token
/usr/include/wx-2.5/wx/zipstrm.h:345: error: parse error before `{' token
/usr/include/wx-2.5/wx/zipstrm.h:349: error: parse error before `&' token
/usr/include/wx-2.5/wx/zipstrm.h:350: error: parse error before `const'
/usr/include/wx-2.5/wx/zipstrm.h:351: error: destructors must be member
   functions
/usr/include/wx-2.5/wx/zipstrm.h:351: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:353: error: `entry' was not declared in this
   scope
/usr/include/wx-2.5/wx/zipstrm.h:353: error: syntax error before `{' token
/usr/include/wx-2.5/wx/zipstrm.h:356: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:361: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:361: error: non-member function `wxFileOffset
   GetLength()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `wxFileOffset GetLength()':
/usr/include/wx-2.5/wx/zipstrm.h:361: error: `m_entry' undeclared (first use
   this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:363: error: parse error before `protected'
/usr/include/wx-2.5/wx/zipstrm.h:365: error: non-member function `wxFileOffset
   OnSysTell()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `wxFileOffset OnSysTell()':
/usr/include/wx-2.5/wx/zipstrm.h:365: error: redefinition of `wxFileOffset
   OnSysTell()'
/usr/include/wx-2.5/wx/zipstrm.h:298: error: `wxFileOffset OnSysTell()'
   previously defined here
/usr/include/wx-2.5/wx/zipstrm.h:365: error: redefinition of `wxFileOffset
   OnSysTell()'
/usr/include/wx-2.5/wx/zipstrm.h:298: error: `wxFileOffset OnSysTell()'
   previously defined here
/usr/include/wx-2.5/wx/zipstrm.h:365: error: `m_decomp' undeclared (first use
   this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:368: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:369: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:371: error: parse error before `private'
/usr/include/wx-2.5/wx/zipstrm.h:375: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:377: error: `wxArchiveEntry' was not declared
   in this scope
/usr/include/wx-2.5/wx/zipstrm.h:377: error: `entry' was not declared in this
   scope
/usr/include/wx-2.5/wx/zipstrm.h:377: error: redefinition of `bool OpenEntry'
/usr/include/wx-2.5/wx/zipstrm.h:353: error: `bool OpenEntry' previously
   defined here
/usr/include/wx-2.5/wx/zipstrm.h:386: error: non-member function `bool
   AtHeader()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h:387: error: non-member function `bool
   AfterHeader()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h:388: error: non-member function `bool
   IsOpened()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `bool IsOpened()':
/usr/include/wx-2.5/wx/zipstrm.h:388: error: redefinition of `bool IsOpened()'
/usr/include/wx-2.5/wx/zipstrm.h:314: error: `bool IsOpened()' previously
   defined here
/usr/include/wx-2.5/wx/zipstrm.h:388: error: redefinition of `bool IsOpened()'
/usr/include/wx-2.5/wx/zipstrm.h:314: error: `bool IsOpened()' previously
   defined here
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:390: error: `out' was not declared in this
   scope
/usr/include/wx-2.5/wx/zipstrm.h:392: error: `entry' was not declared in this
   scope
/usr/include/wx-2.5/wx/zipstrm.h:392: error: parse error before `=' token
/usr/include/wx-2.5/wx/zipstrm.h:395: error: conflicting types for `
   wxStoredInputStream*m_store'
/usr/include/wx-2.5/wx/zipstrm.h:320: error: previous declaration as `
   wxStoredOutputStream*m_store'
/usr/include/wx-2.5/wx/zipstrm.h:399: error: 'wxZipEntry' is used as a type,
   but is not defined as a type.
/usr/include/wx-2.5/wx/zipstrm.h:400: error: redefinition of `bool m_raw'
/usr/include/wx-2.5/wx/zipstrm.h:327: error: `bool m_raw' previously declared
   here
/usr/include/wx-2.5/wx/zipstrm.h:401: error: redefinition of `size_t
   m_headerSize'
/usr/include/wx-2.5/wx/zipstrm.h:329: error: `size_t m_headerSize' previously
   declared here
/usr/include/wx-2.5/wx/zipstrm.h:402: error: redefinition of `wxUint32
   m_crcAccumulator'
/usr/include/wx-2.5/wx/zipstrm.h:331: error: `wxUint32 m_crcAccumulator'
   previously declared here
/usr/include/wx-2.5/wx/zipstrm.h:403: error: `wxInputStream*m_decomp' used
   prior to declaration
/usr/include/wx-2.5/wx/zipstrm.h:407: error: redefinition of `wxFileOffset
   m_offsetAdjustment'
/usr/include/wx-2.5/wx/zipstrm.h:334: error: `wxFileOffset m_offsetAdjustment'
   previously declared here
/usr/include/wx-2.5/wx/zipstrm.h:411: error: redefinition of `wxString
   m_Comment'
/usr/include/wx-2.5/wx/zipstrm.h:335: error: `wxString m_Comment' previously
   declared here
/usr/include/wx-2.5/wx/zipstrm.h:414: error: `entry' was not declared in this
   scope
/usr/include/wx-2.5/wx/zipstrm.h:414: error: `inputStream' was not declared in
   this scope
/usr/include/wx-2.5/wx/zipstrm.h:414: error: `wxZipOutputStream::CopyEntry'
   declared as a friend
/usr/include/wx-2.5/wx/zipstrm.h:414: error: initializer list being treated as
   compound expression
/usr/include/wx-2.5/wx/zipstrm.h:416: error: `inputStream' was not declared in
   this scope
/usr/include/wx-2.5/wx/zipstrm.h:416: error: `
   wxZipOutputStream::CopyArchiveMetaData' declared as a friend
/usr/include/wx-2.5/wx/zipstrm.h:418: error: parse error before `private'
/usr/include/wx-2.5/wx/zipstrm.h:418: error: syntax error before `&' token
/usr/include/wx-2.5/wx/zipstrm.h:426: error: parse error before `{' token
/usr/include/wx-2.5/wx/zipstrm.h:430: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:432: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:437: error: non-member function `wxString
   GetInternalName(const wxString&, wxPathFormat)' cannot have `const' method
   qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `wxString GetInternalName(const
   wxString&, wxPathFormat)':
/usr/include/wx-2.5/wx/zipstrm.h:437: error: incomplete type 'wxZipEntry'
   cannot be used to name a scope
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:439: error: parse error before `protected'
/usr/include/wx-2.5/wx/zipstrm.h:442: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:444: error: syntax error before `*' token
/usr/include/wx-2.5/wx/zipstrm.h:448: error: virtual outside class declaration
/usr/include/wx-2.5/wx/zipstrm.h:448: error: non-member function `wxClassInfo*
   GetClassInfo()' cannot have `const' method qualifier
/usr/include/wx-2.5/wx/zipstrm.h: In function `wxClassInfo* GetClassInfo()':
/usr/include/wx-2.5/wx/zipstrm.h:448: error: redefinition of `wxClassInfo*
   GetClassInfo()'
/usr/include/wx-2.5/wx/zipstrm.h:258: error: `wxClassInfo* GetClassInfo()'
   previously defined here
/usr/include/wx-2.5/wx/zipstrm.h:448: error: redefinition of `wxClassInfo*
   GetClassInfo()'
/usr/include/wx-2.5/wx/zipstrm.h:258: error: `wxClassInfo* GetClassInfo()'
   previously defined here
/usr/include/wx-2.5/wx/zipstrm.h:448: error: `wxZipClassFactory' undeclared
   (first use this function)
/usr/include/wx-2.5/wx/zipstrm.h:448: error: parse error before `::' token
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:466: error: invalid use of undefined type `
   class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
   wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h: In member function `bool wxZipEntry::IsText()
   const':
/usr/include/wx-2.5/wx/zipstrm.h:467: error: `TEXT_ATTR' undeclared (first use
   this function)
/usr/include/wx-2.5/wx/zipstrm.h: At global scope:
/usr/include/wx-2.5/wx/zipstrm.h:471: error: invalid use of undefined type `
   class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
   wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:476: error: invalid use of undefined type `
   class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
   wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:481: error: invalid use of undefined type `
   class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
   wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:496: error: invalid use of undefined type `
   class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
   wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:504: error: invalid use of undefined type `
   class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
   wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:513: error: invalid use of undefined type `
   class wxZipEntry'
/usr/include/wx-2.5/wx/zipstrm.h:108: error: forward declaration of `class
   wxZipEntry'
IPFilter.cpp: In member function `int CIPFilter::LoadFromZipFile(const
   wxString&)':
IPFilter.cpp:365: error: `wxZipInputStream' undeclared (first use this
   function)
IPFilter.cpp:365: error: parse error before `(' token
IPFilter.cpp:366: error: `inputStream' undeclared (first use this function)
make[4]: *** [amuled-IPFilter.o] Error 1
make[4]: Leaving directory `/home/leo/Desktop/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/leo/Desktop/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/leo/Desktop/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/leo/Desktop/amule-cvs'
make: *** [all] Error 2
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: errors in compile
« Reply #6 on: March 21, 2005, 08:02:49 PM »

well this is stil your wxGTK error in your distors packages...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
Re: errors in compile
« Reply #7 on: March 21, 2005, 10:03:35 PM »

Quote
Originally posted by stefanero
well this is stil your wxGTK error in your distors packages...

so i should compile wxGTK? and if yes then what else i need to compile?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: errors in compile
« Reply #8 on: March 21, 2005, 10:20:25 PM »

nothing, just compile wxGTK 2.5.4 DONT !!!!!! use wxBase 2.5.4

compiel with

./configure --enable-gtk2 --enable-unicode --prefix=/usr/

or

./configure --disable-gtk2 --with-gtk --prefix=/usr/

either one is fine

BUT
make usre to remove ALL wxBAse and wxGTK packages you still have
if you get configure errors make sure you have gtk+ and/or gtk2 devel installed
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Linuxsys

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: errors in compile
« Reply #9 on: March 22, 2005, 09:38:03 AM »

Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: errors in compile
« Reply #10 on: March 22, 2005, 10:27:59 AM »

well I knew that was the problem, and Kry said it aswell that you miss that file...

and I think in th eother thread you already said, that you downloaded archives.h so I dont know why you gave me the link   ?(
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
Re: errors in compile
« Reply #11 on: March 22, 2005, 01:00:00 PM »

yes i did downloaded archive.h and it didn't work, but after compiling and installing wxGTK-2.5.4 amule has finnaly compiled succesfully, and now i am running amule-cvs.

thanks stefanero and Kry, thanks to you i have tha latest amule-cvs.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: errors in compile
« Reply #12 on: March 22, 2005, 01:16:16 PM »

good stuff :)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."