aMule Forum

French => fr_Bugs => Topic started by: nico-de-nantes on December 24, 2004, 12:28:30 AM

Title: probleme pour compiler
Post by: nico-de-nantes on December 24, 2004, 12:28:30 AM
bonjour a vous,

j'ai compilé amule Rc7 et je voulais compiler la rc8 avec le meme .spec sur ma mdk 10.1 mais cela ne marche pas j'obtiens:

/usr/include/wx/dynarray.h:813: error: syntax error before "lItem"
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'IndexForInsert'
/usr/include/wx/dynarray.h:812: error: previous definition of 'IndexForInsert' was here
/usr/include/wx/dynarray.h:813: error: syntax error before "lItem"
/usr/include/wx/dynarray.h:813: error: conflicting types for 'Add'
/usr/include/wx/dynarray.h:812: error: previous definition of 'Add' was here
/usr/include/wx/dynarray.h:813: error: syntax error before "lItem"
/usr/include/wx/dynarray.h:813: error: conflicting types for 'Add'
/usr/include/wx/dynarray.h:813: error: previous definition of 'Add' was here
/usr/include/wx/dynarray.h:813: error: syntax error before "lItem"
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'Insert'
/usr/include/wx/dynarray.h:812: error: previous definition of 'Insert' was here
/usr/include/wx/dynarray.h:813: error: syntax error before "lItem"
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'Remove'
/usr/include/wx/dynarray.h:812: error: previous definition of 'Remove' was here
/usr/include/wx/dynarray.h:813: error: syntax error before '=' token
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'RemoveAt'
/usr/include/wx/dynarray.h:812: error: previous definition of 'RemoveAt' was here
/usr/include/wx/dynarray.h:813: error: syntax error before "fnCompare"
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'Sort'
/usr/include/wx/dynarray.h:812: error: previous definition of 'Sort' was here
/usr/include/wx/dynarray.h:813: error: storage class specified for parameter `_wxArraywxBaseArraySizeT'
/usr/include/wx/dynarray.h:813: error: conflicting types for '_wxArraywxBaseArraySizeT'
/usr/include/wx/dynarray.h:813: error: previous definition of '_wxArraywxBaseArraySizeT' was here
/usr/include/wx/dynarray.h:813: error: syntax error before "value_type"
/usr/include/wx/dynarray.h:813: error: storage class specified for parameter `value_type'
/usr/include/wx/dynarray.h:813: error: conflicting types for 'value_type'
/usr/include/wx/dynarray.h:812: error: previous definition of 'value_type' was here
/usr/include/wx/dynarray.h:813: error: syntax error before '*' token
/usr/include/wx/dynarray.h:813: error: storage class specified for parameter `value_type'
/usr/include/wx/dynarray.h:813: error: conflicting types for 'value_type'
/usr/include/wx/dynarray.h:813: error: previous definition of 'value_type' was here
/usr/include/wx/dynarray.h:813: error: syntax error before '*' token
/usr/include/wx/dynarray.h:813: error: storage class specified for parameter `value_type'
/usr/include/wx/dynarray.h:813: error: conflicting types for 'value_type'
/usr/include/wx/dynarray.h:813: error: previous definition of 'value_type' was here
/usr/include/wx/dynarray.h:813: error: syntax error before '&' token
/usr/include/wx/dynarray.h:813: error: storage class specified for parameter `value_type'
/usr/include/wx/dynarray.h:813: error: conflicting types for 'value_type'
/usr/include/wx/dynarray.h:813: error: previous definition of 'value_type' was here
/usr/include/wx/dynarray.h:813: error: syntax error before '&' token
/usr/include/wx/dynarray.h:813: error: storage class specified for parameter `difference_type'
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'difference_type'
/usr/include/wx/dynarray.h:812: error: previous definition of 'difference_type' was here
/usr/include/wx/dynarray.h:813: error: storage class specified for parameter `size_type'
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'size_type'
/usr/include/wx/dynarray.h:812: error: previous definition of 'size_type' was here
/usr/include/wx/dynarray.h:813: error: syntax error before "first"
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'assign'
/usr/include/wx/dynarray.h:812: error: previous definition of 'assign' was here
/usr/include/wx/dynarray.h:813: error: syntax error before "n"
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'assign'
/usr/include/wx/dynarray.h:813: error: previous definition of 'assign' was here
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'pop_back'
/usr/include/wx/dynarray.h:812: error: previous definition of 'pop_back' was here
/usr/include/wx/dynarray.h:813: error: syntax error before '{' token
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'm_nSize'
/usr/include/wx/dynarray.h:812: error: previous definition of 'm_nSize' was here
/usr/include/wx/dynarray.h:813: error: redefinition of parameter 'm_nCount'
/usr/include/wx/dynarray.h:812: error: previous definition of 'm_nCount' was here
/usr/include/wx/dynarray.h:813: error: syntax error before "_wxArraywxBaseArraySizeT"
/usr/include/wx/dynarray.h:814: error: storage class specified for parameter `_wxArraywxBaseArrayDouble'
/usr/include/wx/dynarray.h:814: error: syntax error before "class"
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'Empty'
/usr/include/wx/dynarray.h:813: error: previous definition of 'Empty' was here
/usr/include/wx/dynarray.h:814: error: syntax error before '{' token
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'Alloc'
/usr/include/wx/dynarray.h:813: error: previous definition of 'Alloc' was here
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'Shrink'
/usr/include/wx/dynarray.h:813: error: previous definition of 'Shrink' was here
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'GetCount'
/usr/include/wx/dynarray.h:813: error: previous definition of 'GetCount' was here
/usr/include/wx/dynarray.h:814: error: syntax error before "const"
/usr/include/wx/dynarray.h:814: error: syntax error before "lItem"
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'Index'
/usr/include/wx/dynarray.h:813: error: previous definition of 'Index' was here
/usr/include/wx/dynarray.h:814: error: syntax error before "lItem"
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'IndexForInsert'
/usr/include/wx/dynarray.h:813: error: previous definition of 'IndexForInsert' was here
/usr/include/wx/dynarray.h:814: error: syntax error before "lItem"
/usr/include/wx/dynarray.h:814: error: conflicting types for 'Add'
/usr/include/wx/dynarray.h:813: error: previous definition of 'Add' was here
/usr/include/wx/dynarray.h:814: error: syntax error before "lItem"
/usr/include/wx/dynarray.h:814: error: conflicting types for 'Add'
/usr/include/wx/dynarray.h:814: error: previous definition of 'Add' was here
/usr/include/wx/dynarray.h:814: error: syntax error before "lItem"
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'Insert'
/usr/include/wx/dynarray.h:813: error: previous definition of 'Insert' was here
/usr/include/wx/dynarray.h:814: error: syntax error before "lItem"
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'Remove'
/usr/include/wx/dynarray.h:813: error: previous definition of 'Remove' was here
/usr/include/wx/dynarray.h:814: error: syntax error before '=' token
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'RemoveAt'
/usr/include/wx/dynarray.h:813: error: previous definition of 'RemoveAt' was here
/usr/include/wx/dynarray.h:814: error: syntax error before "fnCompare"
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'Sort'
/usr/include/wx/dynarray.h:813: error: previous definition of 'Sort' was here
/usr/include/wx/dynarray.h:814: error: storage class specified for parameter `_wxArraywxBaseArrayDouble'
/usr/include/wx/dynarray.h:814: error: conflicting types for '_wxArraywxBaseArrayDouble'
/usr/include/wx/dynarray.h:814: error: previous definition of '_wxArraywxBaseArrayDouble' was here
/usr/include/wx/dynarray.h:814: error: syntax error before "value_type"
/usr/include/wx/dynarray.h:814: error: storage class specified for parameter `value_type'
/usr/include/wx/dynarray.h:814: error: conflicting types for 'value_type'
/usr/include/wx/dynarray.h:813: error: previous definition of 'value_type' was here
/usr/include/wx/dynarray.h:814: error: syntax error before '*' token
/usr/include/wx/dynarray.h:814: error: storage class specified for parameter `value_type'
/usr/include/wx/dynarray.h:814: error: conflicting types for 'value_type'
/usr/include/wx/dynarray.h:814: error: previous definition of 'value_type' was here
/usr/include/wx/dynarray.h:814: error: syntax error before '*' token
/usr/include/wx/dynarray.h:814: error: storage class specified for parameter `value_type'
/usr/include/wx/dynarray.h:814: error: conflicting types for 'value_type'
/usr/include/wx/dynarray.h:814: error: previous definition of 'value_type' was here
/usr/include/wx/dynarray.h:814: error: syntax error before '&' token
/usr/include/wx/dynarray.h:814: error: storage class specified for parameter `value_type'
/usr/include/wx/dynarray.h:814: error: conflicting types for 'value_type'
/usr/include/wx/dynarray.h:814: error: previous definition of 'value_type' was here
/usr/include/wx/dynarray.h:814: error: syntax error before '&' token
/usr/include/wx/dynarray.h:814: error: storage class specified for parameter `difference_type'
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'difference_type'
/usr/include/wx/dynarray.h:813: error: previous definition of 'difference_type' was here
/usr/include/wx/dynarray.h:814: error: storage class specified for parameter `size_type'
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'size_type'
/usr/include/wx/dynarray.h:813: error: previous definition of 'size_type' was here
/usr/include/wx/dynarray.h:814: error: syntax error before "first"
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'assign'
/usr/include/wx/dynarray.h:813: error: previous definition of 'assign' was here
/usr/include/wx/dynarray.h:814: error: syntax error before "n"
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'assign'
/usr/include/wx/dynarray.h:814: error: previous definition of 'assign' was here
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'pop_back'
/usr/include/wx/dynarray.h:813: error: previous definition of 'pop_back' was here
/usr/include/wx/dynarray.h:814: error: syntax error before '{' token
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'm_nSize'
/usr/include/wx/dynarray.h:813: error: previous definition of 'm_nSize' was here
/usr/include/wx/dynarray.h:814: error: redefinition of parameter 'm_nCount'
/usr/include/wx/dynarray.h:813: error: previous definition of 'm_nCount' was here
/usr/include/wx/dynarray.h:814: error: syntax error before "_wxArraywxBaseArrayDouble"
/usr/include/wx/dynarray.h:962: error: storage class specified for parameter `_wxArraywxArrayShort'
/usr/include/wx/dynarray.h:962: error: `wxBaseArrayShort' undeclared (first use in this function)
/usr/include/wx/dynarray.h:962: confused by earlier errors, bailing out
make[4]: *** [amule-gsocket-2.5.o] Error 1
make[4]: Leaving directory `/home/users/neoclust/rpm/BUILD/aMule-2.0.0rc8/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/users/neoclust/rpm/BUILD/aMule-2.0.0rc8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/users/neoclust/rpm/BUILD/aMule-2.0.0rc8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/users/neoclust/rpm/BUILD/aMule-2.0.0rc8'
make: *** [all] Error 2
error: Bad exit status from /tmp/rpm-tmp.33182 (%build)


j'ai pas tout mis le reste est:

http://www.pastebin.com/132906

auriez vous une idée de ce qui ne va pas?
Title: Re: probleme pour compiler
Post by: nico-de-nantes on December 24, 2004, 01:55:33 AM
ça marche avec l'option de compilation --disable-gsocket


Voila au cas ou ça arrive a d'autres :)
Title: Re: probleme pour compiler
Post by: thepolish on December 24, 2004, 11:19:35 PM
Ca marche tres bien en utilisant les packages wx 2.5.3 fournis par amule sur Berlios.

Thepolish
Title: Re: probleme pour compiler
Post by: nico-de-nantes on December 26, 2004, 06:20:59 PM
avec les 2.5.3 contnues dans mandrake 10.2 ça compile aussi tres bien mais avec les 2.5.1 de la 10.1 ça compile pas sans l'option

Kry a proposé de compiler avec cette option apres que quelques personnes sur irc parlent de ce probleme et le pire c'est que la rc7 compilait tres bien avec cette version de wxGTK
Title: Re: probleme pour compiler
Post by: thepolish on December 26, 2004, 07:24:08 PM
Slt

Nous fournissons des packages wx "normaux" pour ne pas s'emm... avec ceux de Mandrake. Si tu aimes passer du temps dessus, libre a toi :)

J'ai plusieurs fois contacter G. Watlz pour qu'il changeses rpm pour des "standard" dans Mandrake mais il ne veut pas changer ses packages... En, plus, il y a des packages unicode et pas unicode, d'auteurs différents, pas compilés pareil... le bordel quoi.

Pour info, avec les packages 2.5.3 std, rc7 ou rc8 ca marche sans rien changer.

Personellement, vu que ca marche bien avec des "normaux" (cf pack) je ne compte pas passer des heures avec ceux de Mandrake, vu qu'avec le boulot, la femme, les gosses, les cours du soir, mon temps libre est compté :)

On verra quand la 2.6.0 sortira si on peut avoir du standard qui marche dans Mandrake...

Thepolish
Title: Re: probleme pour compiler
Post by: nico-de-nantes on December 27, 2004, 09:58:40 AM
oui je sais avec les 2.5.3 de mandrake non plus ça passe sans rien changer mais là je parlais avec les 2.5.1 et avec les 2.4 j'arrive pas a compiler amulecmd :(
Title: Re: probleme pour compiler
Post by: thepolish on December 27, 2004, 11:35:44 AM
bjr,

oui, amuled ne compile pas avec les 2.4.2, faut 2.5 absolument

thepolish
Title: Re: probleme pour compiler
Post by: nico-de-nantes on December 27, 2004, 04:58:22 PM
ah ok  dans ce cas je m'embete pas a essayer de compiler amulecmd pour mdk 9.2 :)

Bonne journée