aMule Forum

English => Compilation problems => Topic started by: OldFrog on September 15, 2008, 07:37:48 AM

Title: Compilation issue in Mandriva 2008.1 - CVS 20080915
Post by: OldFrog on September 15, 2008, 07:37:48 AM
Quote
In file included from IP2Country.cpp:56:
pixmaps/flags_xpm/CountryFlags.h:483: erreur: reference to ‘tm’ is ambiguous
pixmaps/flags_xpm/tm.xpm:2: erreur: candidates are: const char* tm [155]
/usr/include/time.h:135: erreur:                 struct tm
pixmaps/flags_xpm/CountryFlags.h:483: erreur: reference to ‘tm’ is ambiguous
pixmaps/flags_xpm/tm.xpm:2: erreur: candidates are: const char* tm [155]
/usr/include/time.h:135: erreur:                 struct tm
pixmaps/flags_xpm/CountryFlags.h:507: erreur: reference to ‘ws’ is ambiguous
pixmaps/flags_xpm/ws.xpm:2: erreur: candidates are: const char* ws [144]
/usr/lib/gcc/i586-manbo-linux-gnu/4.2.3/../../../../include/c++/4.2.3/bits/istre
am.tcc:844: erreur:                 template<class _CharT, class _Traits> std::b
asic_istream<_CharT, _Traits>& std::ws(std::basic_istream<_CharT, _Traits>&)
pixmaps/flags_xpm/CountryFlags.h:507: erreur: reference to ‘ws’ is ambiguous
pixmaps/flags_xpm/ws.xpm:2: erreur: candidates are: const char* ws [144]
/usr/lib/gcc/i586-manbo-linux-gnu/4.2.3/../../../../include/c++/4.2.3/bits/istre
am.tcc:844: erreur:                 template<class _CharT, class _Traits> std::b
asic_istream<_CharT, _Traits>& std::ws(std::basic_istream<_CharT, _Traits>&)
amule-remote-gui.h: In member function ‘T* CRemoteContainer<T, I, G>::GetByID(I)
 [with T = CPartFile, I = CMD4Hash, G = CEC_PartFile_Tag]’:
amule-remote-gui.h:496:   instantiated from here
amule-remote-gui.h:204: attention : declaration of ‘id’ shadows a global declara
tion
pixmaps/flags_xpm/id.xpm:2: attention : déclaration est masquée ici
amule-remote-gui.h: In member function ‘T* CRemoteContainer<T, I, G>::GetByID(I)                                                                                                                                                              [with T = CKnownFile, I = CMD4Hash, G = CEC_SharedFile_Tag]’:
amule-remote-gui.h:543:   instantiated from here
amule-remote-gui.h:204: attention : declaration of ‘id’ shadows a global declara                                                                                                                                                             tion
pixmaps/flags_xpm/id.xpm:2: attention : déclaration est masquée ici
pixmaps/flags_xpm/tm.xpm: At global scope:
pixmaps/flags_xpm/tm.xpm:2: attention : ‘tm’ defined but not used
pixmaps/flags_xpm/ws.xpm:2: attention : ‘ws’ defined but not used
make[3]: *** [amulegui-IP2Country.o] Erreur 1
make[3]: quittant le répertoire « /home/louis/rpm/BUILD/amule-cvs/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/louis/rpm/BUILD/amule-cvs/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/louis/rpm/BUILD/amule-cvs »
make: *** [all] Erreur 2
erreur: Mauvais status de sortie pour /home/louis/rpm/tmp/rpm-tmp.48864 (%build)
Title: Re: Compilation issue in Mandriva 2008.1 - CVS 20080915
Post by: kornell on September 15, 2008, 12:20:20 PM
......also on Mandriva 2006  (-=> wx-GTK- 2.8.7 and -2.8.8 )

Code: [Select]
In file included from IP2Country.cpp:56:
pixmaps/flags_xpm/CountryFlags.h:507: error: reference to 'ws' is ambiguous
pixmaps/flags_xpm/ws.xpm:2: error: candidates are: const char* ws [144]
/opt/gcc-4.3.1/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/istream.tcc:951: error:                 template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::ws(std::basic_istream<_CharT, _Traits>&)
pixmaps/flags_xpm/CountryFlags.h:507: error: reference to 'ws' is ambiguous
pixmaps/flags_xpm/ws.xpm:2: error: candidates are: const char* ws [144]
/opt/gcc-4.3.1/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/istream.tcc:951: error:                 template<class _CharT, class _Traits> std::basic_istream<_CharT, _Traits>& std::ws(std::basic_istream<_CharT, _Traits>&)
amule-remote-gui.h: In member function 'T* CRemoteContainer<T, I, G>::GetByID(I) [with T = CPartFile, I = CMD4Hash, G = CEC_PartFile_Tag]':
amule-remote-gui.h:496:   instantiated from here
amule-remote-gui.h:204: warning: declaration of 'id' shadows a global declaration
pixmaps/flags_xpm/id.xpm:2: warning: shadowed declaration is here
amule-remote-gui.h: In member function 'T* CRemoteContainer<T, I, G>::GetByID(I) [with T = CKnownFile, I = CMD4Hash, G = CEC_SharedFile_Tag]':
amule-remote-gui.h:543:   instantiated from here
amule-remote-gui.h:204: warning: declaration of 'id' shadows a global declaration
pixmaps/flags_xpm/id.xpm:2: warning: shadowed declaration is here
pixmaps/flags_xpm/ws.xpm: At global scope:
pixmaps/flags_xpm/ws.xpm:2: warning: 'ws' defined but not used
make[3]: *** [amulegui-IP2Country.o] Error 1
make[3]: Leaving directory `/mnt/hda6/Downloads/amule/cvs/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/hda6/Downloads/amule/cvs/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/hda6/Downloads/amule/cvs/amule-cvs'
make: *** [all] Error 2
Title: Re: Compilation issue in Mandriva 2008.1 - CVS 20080915
Post by: phoenix on September 15, 2008, 01:57:35 PM
Please try tomorrow tarball, this issue should be fixed.

Cheers!
Title: Re: Compilation issue in Mandriva 2008.1 - CVS 20080915
Post by: OldFrog on September 15, 2008, 09:12:14 PM
Please try tomorrow tarball, this issue should be fixed.

Cheers!

Thanks !
Title: Re: Compilation issue in Mandriva 2008.1 - CVS 20080915
Post by: kornell on September 16, 2008, 09:54:36 AM

Please try tomorrow tarball, this issue should be fixed.



Works.

Thank you very much phoenix.

 :)