View previous topic :: View next topic |
Author |
Message |
gulivert l33t
Joined: 17 Jun 2004 Posts: 863 Location: Switzerland
|
Posted: Sat Jan 01, 2005 10:56 pm Post subject: [Xosview] Erreur lors de l'emerge (résolu) |
|
|
Bonjours,
ben, je crois que tout est dans le titre
Voici l'erreur lors de l'emerge
Quote: | In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/cstdio:52,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/i686-pc-linux-gnu/bits/c++io.h:35,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/bits/fpos.h:44,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/iosfwd:49,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/ios:44,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/ostream:45,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/iostream:45,
from xwin.h:13,
from xwin.cc:10:
/usr/include/stdio.h:353: error: declaration of C function `int snprintf(char*,
unsigned int, const char*, ...)' conflicts with
snprintf.h:5: error: previous declaration `int snprintf(char*, int, const
char*, ...)' here
In file included from Xrm.cc:20:
snprintf.h:5: error: declaration of C function `int snprintf(char*, int, const
char*, ...)' conflicts with
/usr/include/stdio.h:353: error: previous declaration `int snprintf(char*,
unsigned int, const char*, ...)' here
make: *** [xwin.o] Erreur 1
make: *** Attente des tâches non terminées....
make: *** [Xrm.o] Erreur 1
!!! ERROR: x11-misc/xosview-1.8.2 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message. |
Donc je sais po trop koi faire, j'ai tenté la compile directement depuis les sources, sans rien donné, presque la même erreur, et la version 1.8.1 d'emerge me donne aussi une erreur _________________ Macbook Pro Unibody 9.1 - Kernel 4.4.6 - Awesome 3.5
Last edited by gulivert on Sun Jan 02, 2005 1:26 am; edited 1 time in total |
|
Back to top |
|
|
fafounet l33t
Joined: 03 Apr 2004 Posts: 703 Location: Meuves, France
|
Posted: Sat Jan 01, 2005 11:35 pm Post subject: |
|
|
apparement d'autres on eu la meme erreur :
https://bugs.gentoo.org/show_bug.cgi?id=74881
Recoles tes infos histoire qu'ils oublient pas que le bug existe _________________ Prout ? |
|
Back to top |
|
|
gulivert l33t
Joined: 17 Jun 2004 Posts: 863 Location: Switzerland
|
Posted: Sat Jan 01, 2005 11:38 pm Post subject: |
|
|
hmm ok
Bon l'un de vous aurait il une version de xosview compilé sur son pc ?? Si oui quelque peut m'en faire un package précompilé svp ???? Pour le transfert po trop de soucis j'ai un FTP ou si po trop gros, ce qui risque d'etre le cas, par email simplement.
Je remerci l'ame charitable d'avance ... _________________ Macbook Pro Unibody 9.1 - Kernel 4.4.6 - Awesome 3.5 |
|
Back to top |
|
|
CryoGen Veteran
Joined: 11 Feb 2004 Posts: 1426 Location: Bamako - Mali - Afrique
|
Posted: Sun Jan 02, 2005 12:43 am Post subject: |
|
|
hop le voila
http://cold.cryogen.free.fr/xosview-1.8.2.tbz2
j'ai trafiqué les fichiers snprintf.h et .cc pour arriver à le compiler mais ca marche nickel
EDIT : Je n'ai pas corriger le bug je ne sais pas trop à quoi servent ces fichiers (apparemment ca sert à palier une fonction manquante sur des syteme trop vieux peut-etre ??)
Vu que l'erreur indique un conflit , c'est que la fonction est deja presente sur le systeme donc j'ai fait en sorte d'eviter le conflit...
EDIT2 : et dire que je m'amuse à faire ca à 1h45 , je suis vraiment sympa _________________ - CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword... |
|
Back to top |
|
|
gulivert l33t
Joined: 17 Jun 2004 Posts: 863 Location: Switzerland
|
Posted: Sun Jan 02, 2005 12:51 am Post subject: |
|
|
rooooooooo, trop bon monsieur
MErchhiii bcp _________________ Macbook Pro Unibody 9.1 - Kernel 4.4.6 - Awesome 3.5 |
|
Back to top |
|
|
CryoGen Veteran
Joined: 11 Feb 2004 Posts: 1426 Location: Bamako - Mali - Afrique
|
Posted: Sun Jan 02, 2005 1:07 am Post subject: |
|
|
de rien
rajouter 2 #define dans les fichiers , ca c'est du workaround de bourrin
EDIT : hey mais je suis Guru ^_^ _________________ - CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|