aMule Forum
English => aMule News => Topic started by: phoenix on March 13, 2005, 10:13:06 PM
-
Hi people!
Starting from March, 14th, for those of you that refuse to install anything that is not an rpm package in your system, there is an option now. We have included a spec file in the aMule tarball, so that you can easily generate an rpm. It works like this:
1) Download the latest CVS tarball. _MUST_ be the CVS tarball of the same day, these rpms can only be built on the same day you download them.
2) $ rpmbuild -ta aMule-CVS-20050314.tar.bz2
3) There you are, you have a brand new CVS tarball rpm to test the latest and greatest aMule!
Notice that you must be familiar with rpm generation and you must have everything required to compile aMule previously installed in your system.
Also notice that this procedure works only if the CVS snapshot is from the same day that you are doing the build. This is actualy a side effect, but has the advantage that users will always have to test the latest version if they want to generate a rpm using a simple procedure.
Enjoy!
-
Nice to hear, but problem is, the latttest snapshot is from 20050310, or where do you store recent snapshots now, if not under http://www.hirnriss.net/files/cvs/?
-
sssnake,
Sorry for the inconvenience, but we had to change the names of the cvs tarballs. Now cvs comes in upper case, so the newest cvs tarballs are on the bottom of the page. This shall be fixed soon.
Cheers!
-
Ok, fixed a few problems with the first version of the spec file, things should be ok now.
Also the CVS snapshots were renamed, now they are in the proper order. Thanks boot! :)
-
and what about debian systems?
i use ubuntu, is there any easy way to build an .deb package to amule?
thanks,
Leo Torjeman
-
leotorjeman,
Sorry, but I use a rpm based distro and know nothing about debs, but should be as easy as making rpms. But we accept contributions, you know. Anyone willing to contribute in this area is welcome.
Cheers.
-
Originally posted by leotorjeman
and what about debian systems?
i use ubuntu, is there any easy way to build an .deb package to amule?
Just create the RPM and convert it to a .deb file with 'alien' and install it manually with 'dpkg'.
-
I can make the debian files into the CVS also so you can create it...
-
Do it man, the debian folks will like it. And will also be a good opportunity for me to learn that.
-
Thanks guys.
There should be more people like you in the world. =)
-
@Kry,
You know that I have the Patches for Debian. My repository is atm only at my dyndns-Account. I'm currently working on the automated ftp-upload to my rep. There isn't much work to do for offiziell Release.
I just have to write the wrapper for using /usr/share/amule dir, and Varibables for Versioning.
-
well when i try to build the rpm on my ubuntu system i get:
leo@ubuntu:~/Desktop$ sudo rpmbuild -ta aMule-CVS-20050315.tar.bz2
rpm: To install rpm packaleo@ubuntu:~/Desktop$ sudo rpmbuild -ta aMule-CVS-20050315.tar.bz2
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open rpm database in /var/lib/rpm
Kry, thanks, i am looking foward for the debian files. just please include the commands that require to build the package.
thanks again!
Leo Torjeman
-
leotorjeman,
If I understand correctly, Ubuntu is debian based, so rpms are not for you ;)
You will have to wait until Kry puts the debian support inside the tarball.
Cheers!
-
Or, as the message you posted said[/i], use alien
-
Originally posted by Kry
Or, as the message you posted said[/i], use alien
well i understand that alien converts rpm to deb, but first i have to build the rpm package using rpmbuild.
anyway, i think i will just wait for the debian files.
-
You're right. My apologies
-
IIRC, on Debian (and based) you have to create the /var/lib/rpm directory prior to using rpm/rpmbuild.
-
Originally posted by lumag
IIRC, on Debian (and based) you have to create the /var/lib/rpm directory prior to using rpm/rpmbuild.
created that folder, now i get:
leo@ubuntu:~/amule-cvs$ sudo rpmbuild -ta aMule-CVS-20050317.tar.bz2
error: File aMule-CVS-20050317.tar.bz2: No such file or directory
sh: aMule-CVS-20050317.tar.bz2: No such file or directory
sh: aMule-CVS-20050317.tar.bz2: No such file or directory
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
-
leotorjeman,
Odd, looks like rpmbuild can't find your file. Oh!, remember, this spec file only works for one day. On the next day you will have to get the next day tarball. Maybe that is the problem.
Another thing, there is no need to build rpms as root. Just create a file ~/.rpmmacros like this, and don't sudo:
---------------------- CUT HERE ------------------------------
%packager Might Thor
%distribution Valhala RPMS
%vendor Valhala.net
# These are only if you want to sign your rpms
%_signature gpg
%_gpg_name Might Thor
%_gpg_path ~/.gnupg
# These are needed.
%_topdir /home/thor/rpmbuild
%_rpmtopdir %{_topdir}
%_specdir %{_rpmtopdir}/SPECS
%_sourcedir %{_rpmtopdir}/SOURCES
%_builddir %{_rpmtopdir}/BUILD
%_rpmdir %{_rpmtopdir}/RPMS
%_srcrpmdir %{_rpmtopdir}/SRPMS
%_tmppath %{_rpmtopdir}/tmp
---------------------- CUT HERE ------------------------------
Of course, you need to sudo or be root to install the rpms. 8)
Cheers!
-
leotorjeman,
Maybe you have to
mkdir /usr/src/rpm /usr/src/rpm/{BUILD,RPMS,SOURCES,SPECS,SRPMS} /usr/src/rpm/RPMS/{athlon,i386,i486,i586,i686,noarch}
Also, you probably should apt-get install libwxgtk2.5-dev libcurl3-dev libkrb5-dev libgd2-xpm-dev
Also try using rpmbuild -tb --nodeps aMule-CVS-20050317.tar.bz2
-
rpmbuild for today's CVS ask for wxGTK-devel >= 2.4.2
here's all i can install from Mandrake 10.1 mirrors :
libwxGTK2ud-stc1
libwxGTK2ud-stc1-devel
libwxGTK2ud-xrc1
libwxGTK2ud-xrc1-devel
libwxGTK2ud1
libwxGTK2ud1-devel
wxGTK
wxGTK2.5
Plizz where can i find wxGTK-devel needed to build the CVS rpm ?
Note that 'wxGTK2.5-2.5.3-2.mdk10.1' is allready installed as well as latest aMule release.
-
Oh namer of Mandrake rpms, thou shalt burn in flames! X(
:)
KoZaki, do rpmbuild -tb --nodeps aMule-CVS-20050319.tar.bz2
-
well now i get the errors during the compile:
/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)
Statistics.h: At top level:
/usr/include/wx-2.5/wx/zipstrm.h:180: warning: `wxString GetInternalName(const wxString&, wxPathFormat, bool*)' declared `static' but never defined
/usr/include/wx-2.5/wx/zipstrm.h:448: warning: `wxObject* wxCreateObject()' declared `static' but never defined
make[4]: *** [amule-IPFilter.o] Error 1
make[4]: Leaving directory `/home/leo/.rpmbuild/BUILD/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/leo/.rpmbuild/BUILD/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/leo/.rpmbuild/BUILD/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/leo/.rpmbuild/BUILD/amule-cvs'
make: *** [all] Error 2
error: Bad exit status from /home/leo/.rpmbuild/tmp/rpm-tmp.93091 (%build)
RPM build errors:
created %_tmppath directory /home/leo/.rpmbuild/tmp
Bad exit status from /home/leo/.rpmbuild/tmp/rpm-tmp.93091 (%build)
any suggestions?
thanks,
Leo Torjeman
-
Looks like a problem with your wx installation. Did you upgrade package recently?
-
Hi folks,
This is a bit out of purpose, but if you want an .rpm or a .deb you can also try this :
use the good old way :
1- install this package "checkinstall" from your distro
2- begin to follow the usual proceed to install source (./configure make), then instead using makeinstall do "# checkinstall" ; this will create in a easy way the package for your distro.
I hope this can help. I use this myself to build amule 2.00rc8 on debian.
Regards.
-
Or just wait. If all works like I suppose it, then you will get Daily builds of CVS as debs. I hope I can finish this never ending story, but I think it will only work, if I can compile the Snaps, because I'm on testing the automatisation, and if the compile fails, it won't go on with uploading and so on.
-
Originally posted by Vollstrecker
Or just wait. If all works like I suppose it, then you will get Daily builds of CVS as debs. I hope I can finish this never ending story, but I think it will only work, if I can compile the Snaps, because I'm on testing the automatisation, and if the compile fails, it won't go on with uploading and so on.
hope it will happen soon, because for now i only get errors in the compile, like this:
/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)
Statistics.h: At top level:
/usr/include/wx-2.5/wx/zipstrm.h:180: warning: `wxString GetInternalName(const wxString&, wxPathFormat, bool*)' declared `static' but never defined
/usr/include/wx-2.5/wx/zipstrm.h:448: warning: `wxObject* wxCreateObject()' declared `static' but never defined
make[4]: *** [amule-IPFilter.o] Error 1
make[4]: Leaving directory `/home/leo/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/leo/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/leo/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/leo/amule-cvs'
make: *** [all] Error 2
i uses Ubuntu Hoary, wx-2.5.3 and gtk 2.6.4.
-
This is a known issue. It's metioned somewhere here in the forum. The Thread is called something with debian and says, that the pkg's are broken. You have to get archive.h.
-
leotorjeman: http://forum.amule.org/thread.php?threadid=5139&sid=
-
i downloaded the archive.h, but still i get errors:
/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/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/leo/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/leo/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/leo/amule-cvs'
make: *** [all] Error 2
i am using the latest cvs - 20050321
thanks
-
yes we knwo todays snapshot does not compile....
that does not mean your setup is wrong, its just the sources which have an error in the tarball, dont worry about it, and come back tomorrow ;)
stefanero
-
Today's tarball commpiles. It just fails on some wx version :P
-
Originally posted by Kry
Today's tarball commpiles. It just fails on some wx version :P
well i tried yesterday cvs but it fails with the same error (i changed the date in the system)
-
You error is not the one on today's CVS. Are you sure you did put the archive.h where it belongs?
-
Originally posted by Kry
You error is not the one on today's CVS. Are you sure you did put the archive.h where it belongs?
yes:
leo@ubuntu:~$ ls -l /usr/include/wx-2.5/wx/archive.h
-rw-r--r-- 1 root root 10350 2005-03-21 11:55 /usr/include/wx-2.5/wx/archive.h
i havn't change any file premission, just created a new file with gedit and copy&paste.
here is the file content:
/////////////////////////////////////////////////////////////////////////////
// Name: archive.h
// Purpose: Streams for archive formats
// Author: Mike Wetherell
// RCS-ID: $Id: archive.h,v 1.6 2005/02/12 21:40:38 MW Exp $
// Copyright: (c) 2004 Mike Wetherell
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_ARCHIVE_H__
#define _WX_ARCHIVE_H__
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "archive.h"
#endif
#include "wx/defs.h"
#if wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
#include "wx/stream.h"
#include "wx/filename.h"
/////////////////////////////////////////////////////////////////////////////
// wxArchiveNotifier
class WXDLLIMPEXP_BASE wxArchiveNotifier
{
public:
virtual ~wxArchiveNotifier() { }
virtual void OnEntryUpdated(class wxArchiveEntry& entry) = 0;
};
/////////////////////////////////////////////////////////////////////////////
// wxArchiveEntry
//
// Holds an entry's meta data, such as filename and timestamp.
class WXDLLIMPEXP_BASE wxArchiveEntry : public wxObject
{
public:
virtual ~wxArchiveEntry() { }
virtual wxDateTime GetDateTime() const = 0;
virtual wxFileOffset GetSize() const = 0;
virtual wxFileOffset GetOffset() const = 0;
virtual bool IsDir() const = 0;
virtual bool IsReadOnly() const = 0;
virtual wxString GetInternalName() const = 0;
virtual wxPathFormat GetInternalFormat() const = 0;
virtual wxString GetName(wxPathFormat format = wxPATH_NATIVE) const = 0;
virtual void SetDateTime(const wxDateTime& dt) = 0;
virtual void SetSize(wxFileOffset size) = 0;
virtual void SetIsDir(bool isDir = true) = 0;
virtual void SetIsReadOnly(bool isReadOnly = true) = 0;
virtual void SetName(const wxString& name,
wxPathFormat format = wxPATH_NATIVE) = 0;
wxArchiveEntry *Clone() const { return DoClone(); }
void SetNotifier(wxArchiveNotifier& notifier);
virtual void UnsetNotifier() { m_notifier = NULL; }
protected:
wxArchiveEntry() : m_notifier(NULL) { }
wxArchiveEntry(const wxArchiveEntry& e) : wxObject(e), m_notifier(NULL) { }
virtual void SetOffset(wxFileOffset offset) = 0;
virtual wxArchiveEntry* DoClone() const = 0;
wxArchiveNotifier *GetNotifier() const { return m_notifier; }
wxArchiveEntry& operator=(const wxArchiveEntry& entry);
private:
wxArchiveNotifier *m_notifier;
DECLARE_ABSTRACT_CLASS(wxArchiveEntry)
};
/////////////////////////////////////////////////////////////////////////////
// wxArchiveInputStream
//
// GetNextEntry() returns an wxArchiveEntry object containing the meta-data
// for the next entry in the archive (and gives away ownership). Reading from
// the wxArchiveInputStream then returns the entry's data. Eof() becomes true
// after an attempt has been made to read past the end of the entry's data.
//
// When there are no more entries, GetNextEntry() returns NULL and sets Eof().
class WXDLLIMPEXP_BASE wxArchiveInputStream : public wxFilterInputStream
{
public:
typedef wxArchiveEntry entry_type;
virtual ~wxArchiveInputStream() { }
virtual bool OpenEntry(wxArchiveEntry& entry) = 0;
virtual bool CloseEntry() = 0;
wxArchiveEntry *GetNextEntry() { return DoGetNextEntry(); }
virtual char Peek() { return wxInputStream::Peek(); }
protected:
wxArchiveInputStream(wxInputStream& stream, wxMBConv& conv);
virtual wxArchiveEntry *DoGetNextEntry() = 0;
wxMBConv& GetConv() const { return m_conv; }
private:
wxMBConv& m_conv;
};
/////////////////////////////////////////////////////////////////////////////
// wxArchiveOutputStream
//
// PutNextEntry is used to create a new entry in the output archive, then
// the entry's data is written to the wxArchiveOutputStream.
//
// Only one entry can be open for output at a time; another call to
// PutNextEntry closes the current entry and begins the next.
//
// The overload 'bool PutNextEntry(wxArchiveEntry *entry)' takes ownership
// of the entry object.
class WXDLLIMPEXP_BASE wxArchiveOutputStream : public wxFilterOutputStream
{
public:
virtual ~wxArchiveOutputStream() { }
virtual bool PutNextEntry(wxArchiveEntry *entry) = 0;
virtual bool PutNextEntry(const wxString& name,
const wxDateTime& dt = wxDateTime::Now(),
wxFileOffset size = wxInvalidOffset) = 0;
virtual bool PutNextDirEntry(const wxString& name,
const wxDateTime& dt = wxDateTime::Now()) = 0;
virtual bool CopyEntry(wxArchiveEntry *entry,
wxArchiveInputStream& stream) = 0;
virtual bool CopyArchiveMetaData(wxArchiveInputStream& stream) = 0;
virtual bool CloseEntry() = 0;
protected:
wxArchiveOutputStream(wxOutputStream& stream, wxMBConv& conv);
wxMBConv& GetConv() const { return m_conv; }
private:
wxMBConv& m_conv;
};
/////////////////////////////////////////////////////////////////////////////
// wxArchiveIterator
//
// An input iterator that can be used to transfer an archive's catalog to
// a container.
#if wxUSE_STL || defined WX_TEST_ARCHIVE_ITERATOR
#include
#include
template inline
void _wxSetArchiveIteratorValue(
X& val, Y entry, void *WXUNUSED(d))
{
val = X(entry);
}
template inline
void _wxSetArchiveIteratorValue(
std::pair& val, Z entry, Z WXUNUSED(d))
{
val = std::make_pair(X(entry->GetInternalName()), Y(entry));
}
#if defined _MSC_VER && _MSC_VER < 1300
template
#else
template
#endif
class wxArchiveIterator
{
public:
typedef std::input_iterator_tag iterator_category;
typedef T value_type;
typedef ptrdiff_t difference_type;
typedef T* pointer;
typedef T& reference;
wxArchiveIterator() : m_rep(NULL) { }
wxArchiveIterator(Arc& arc) {
typename Arc::entry_type* entry = arc.GetNextEntry();
m_rep = entry ? new Rep(arc, entry) : NULL;
}
wxArchiveIterator(const wxArchiveIterator& it) : m_rep(it.m_rep) {
if (m_rep)
m_rep->AddRef();
}
~wxArchiveIterator() {
if (m_rep)
m_rep->UnRef();
}
const T& operator *() const {
return m_rep->GetValue();
}
const T* operator ->() const {
return &**this;
}
wxArchiveIterator& operator =(const wxArchiveIterator& it) {
if (it.m_rep)
it.m_rep.AddRef();
if (m_rep)
m_rep.UnRef();
m_rep = it.m_rep;
return *this;
}
wxArchiveIterator& operator ++() {
m_rep = m_rep->Next();
return *this;
}
wxArchiveIterator operator ++(int) {
wxArchiveIterator it(*this);
++(*this);
return it;
}
bool operator ==(const wxArchiveIterator& j) const {
return m_rep == j.m_rep;
}
bool operator !=(const wxArchiveIterator& j) const {
return !(*this == j);
}
private:
class Rep {
Arc& m_arc;
typename Arc::entry_type* m_entry;
T m_value;
int m_ref;
public:
Rep(Arc& arc, typename Arc::entry_type* entry)
: m_arc(arc), m_entry(entry), m_value(), m_ref(1) { }
~Rep()
{ delete m_entry; }
void AddRef() {
m_ref++;
}
void UnRef() {
if (--m_ref == 0)
delete this;
}
Rep *Next() {
typename Arc::entry_type* entry = m_arc.GetNextEntry();
if (!entry) {
UnRef();
return NULL;
}
if (m_ref > 1) {
m_ref--;
return new Rep(m_arc, entry);
}
delete m_entry;
m_entry = entry;
m_value = T();
return this;
}
const T& GetValue() {
if (m_entry) {
_wxSetArchiveIteratorValue(m_value, m_entry, m_entry);
m_entry = NULL;
}
return m_value;
}
} *m_rep;
};
typedef wxArchiveIterator wxArchiveIter;
typedef wxArchiveIterator std::pair > wxArchivePairIter;
#endif // wxUSE_STL || defined WX_TEST_ARCHIVE_ITERATOR
/////////////////////////////////////////////////////////////////////////////
// wxArchiveClassFactory
//
// A wxArchiveClassFactory instance for a particular archive type allows
// the creation of the other classes that may be needed.
class WXDLLIMPEXP_BASE wxArchiveClassFactory : public wxObject
{
public:
typedef wxArchiveEntry entry_type;
typedef wxArchiveInputStream instream_type;
typedef wxArchiveOutputStream outstream_type;
typedef wxArchiveNotifier notifier_type;
#if wxUSE_STL || defined WX_TEST_ARCHIVE_ITERATOR
typedef wxArchiveIter iter_type;
typedef wxArchivePairIter pairiter_type;
#endif
virtual ~wxArchiveClassFactory() { }
wxArchiveEntry *NewEntry() const
{ return DoNewEntry(); }
wxArchiveInputStream *NewStream(wxInputStream& stream) const
{ return DoNewStream(stream); }
wxArchiveOutputStream *NewStream(wxOutputStream& stream) const
{ return DoNewStream(stream); }
virtual wxString GetInternalName(
const wxString& name,
wxPathFormat format = wxPATH_NATIVE) const = 0;
void SetConv(wxMBConv& conv) { m_pConv = &conv; }
wxMBConv& GetConv() const { return *m_pConv; }
protected:
virtual wxArchiveEntry *DoNewEntry() const = 0;
virtual wxArchiveInputStream *DoNewStream(wxInputStream& stream) const = 0;
virtual wxArchiveOutputStream *DoNewStream(wxOutputStream& stream) const = 0;
wxArchiveClassFactory() : m_pConv(&wxConvLocal) { }
wxArchiveClassFactory& operator=(const wxArchiveClassFactory& WXUNUSED(f))
{ return *this; }
private:
wxMBConv *m_pConv;
DECLARE_ABSTRACT_CLASS(wxArchiveClassFactory)
};
#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS
#endif // _WX_ARCHIVE_H__
i checked again and the file seems to be ok.
-
http://forum.amule.org/thread.php?threadid=5523
-
Originally posted by stefanero
http://forum.amule.org/thread.php?threadid=5523
still the same problem...
/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
the same is also with yesterday cvs.
-
did you run
/sbin/ldconfig
as root? after you placed the archives.h in the wx-folder?
-
Originally posted by stefanero
did you run
/sbin/ldconfig
as root? after you placed the archives.h in the wx-folder?
well i run
sudo /sbin/ldconfig
(in ubuntu root acoount is disabled)
but still nothing
-
could you try with a clean make?
so do
make distclean && ./autogen.sh && ./configure..... && make
if that does not help, insatll a clean wx-package :P
but since unbutu copied the error over from debian, you are probably stuck with compiling yourself...
-
Can you guys keep this to the compilation forums?
-
Originally posted by stefanero
could you try with a clean make?
so do
make distclean && ./autogen.sh && ./configure..... && make
if that does not help, insatll a clean wx-package :P
but since unbutu copied the error over from debian, you are probably stuck with compiling yourself...
well now i get:
Setting up internationalization files.
autopoint: *** cvs program not found
autopoint: *** Stop.
Running aclocal -I m4
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
run info '(automake)Extending aclocal'
or see [URL]http://sources.redhat.com/automake/automake.html#Extending-aclocal[/URL]
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/avifile.m4:21: warning: underquoted definition of AM_PATH_AVIFILE
Running autoheader
Running autoconf
Running automake --foreign -a -c -f
configure.in:635: required file `intl/Makefile.in' not found
Makefile.am:1: required directory ./intl does not exist
-
Originally posted by Kry
Can you guys keep this to the compilation forums?
sure, here is the new topic:
http://forum.amule.org/thread.php?threadid=5529&sid=