aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation issue in Mandriva 2008.1 - CVS 20080915  (Read 4193 times)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Compilation issue in Mandriva 2008.1 - CVS 20080915
« 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)
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

kornell

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 31
Re: Compilation issue in Mandriva 2008.1 - CVS 20080915
« Reply #1 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
« Last Edit: September 15, 2008, 12:23:32 PM by kornell »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Compilation issue in Mandriva 2008.1 - CVS 20080915
« Reply #2 on: September 15, 2008, 01:57:35 PM »

Please try tomorrow tarball, this issue should be fixed.

Cheers!
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Compilation issue in Mandriva 2008.1 - CVS 20080915
« Reply #3 on: September 15, 2008, 09:12:14 PM »

Please try tomorrow tarball, this issue should be fixed.

Cheers!

Thanks !
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

kornell

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 31
Re: Compilation issue in Mandriva 2008.1 - CVS 20080915
« Reply #4 on: September 16, 2008, 09:54:36 AM »


Please try tomorrow tarball, this issue should be fixed.



Works.

Thank you very much phoenix.

 :)
Logged