Erreurs lors de l'install de gcc 4.2.4
zoya2385
-
Zoya2385 Messages postés 12 Date d'inscription Statut Membre Dernière intervention -
Zoya2385 Messages postés 12 Date d'inscription Statut Membre Dernière intervention -
Bonjour
Je travail sous ubunto 11.04 et j'ai la version gcc 4.5.2.
J'ai besoin d'installer gcc 4.2.4. j'ai telecharge le gcc-4.2.4.tar.bz2 et j'ai suivi ces etapes
tar -xvjpf gcc-4.2.4.tar.bz2
mkdir gcc-obj
cd gcc-obj
../gcc-4.2.4/configure
make
sudo make install
J'ai des erreurs quand j'excute la commande make
...
MULTILIB_CFLAGS="" T= crtbegin.o crtend.o crti.o crtn.o
make[3]: entrant dans le répertoire « /home/dell/Bureau/gcc-4.2.4/obj/gcc »
/home/dell/Bureau/gcc-4.2.4/obj/./gcc/xgcc -B/home/dell/Bureau/gcc-4.2.4/obj/./gcc/ -B/mips-elf/bin/ -B/mips-elf/lib/ -isystem /mips-elf/include -isystem /mips-elf/sys-include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc -G 0 \
-c ../../gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
exec: 2: -G: not found
make[3]: *** [crtbegin.o] Erreur 1
make[3]: quittant le répertoire « /home/dell/Bureau/gcc-4.2.4/obj/gcc »
make[2]: *** [extra] Erreur 2
make[2]: quittant le répertoire « /home/dell/Bureau/gcc-4.2.4/obj/gcc »
make[1]: *** [stmp-multilib] Erreur 2
make[1]: quittant le répertoire « /home/dell/Bureau/gcc-4.2.4/obj/gcc »
make: *** [all-gcc] Erreur 2
root@ubuntu:/home/dell/Bureau/gcc-4.2.4/obj#
Est ce que vous avez une idee sur ces erreurs ?
Merci pour votre aide.
Je travail sous ubunto 11.04 et j'ai la version gcc 4.5.2.
J'ai besoin d'installer gcc 4.2.4. j'ai telecharge le gcc-4.2.4.tar.bz2 et j'ai suivi ces etapes
tar -xvjpf gcc-4.2.4.tar.bz2
mkdir gcc-obj
cd gcc-obj
../gcc-4.2.4/configure
make
sudo make install
J'ai des erreurs quand j'excute la commande make
...
MULTILIB_CFLAGS="" T= crtbegin.o crtend.o crti.o crtn.o
make[3]: entrant dans le répertoire « /home/dell/Bureau/gcc-4.2.4/obj/gcc »
/home/dell/Bureau/gcc-4.2.4/obj/./gcc/xgcc -B/home/dell/Bureau/gcc-4.2.4/obj/./gcc/ -B/mips-elf/bin/ -B/mips-elf/lib/ -isystem /mips-elf/include -isystem /mips-elf/sys-include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc -G 0 \
-c ../../gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
exec: 2: -G: not found
make[3]: *** [crtbegin.o] Erreur 1
make[3]: quittant le répertoire « /home/dell/Bureau/gcc-4.2.4/obj/gcc »
make[2]: *** [extra] Erreur 2
make[2]: quittant le répertoire « /home/dell/Bureau/gcc-4.2.4/obj/gcc »
make[1]: *** [stmp-multilib] Erreur 2
make[1]: quittant le répertoire « /home/dell/Bureau/gcc-4.2.4/obj/gcc »
make: *** [all-gcc] Erreur 2
root@ubuntu:/home/dell/Bureau/gcc-4.2.4/obj#
Est ce que vous avez une idee sur ces erreurs ?
Merci pour votre aide.
A voir également:
- Erreurs lors de l'install de gcc 4.2.4
- Install microsoft store - Guide
- Vidmate apk download install - Télécharger - TV & Vidéo
- Snaptube install - Télécharger - Conversion & Codecs
- Une erreur est survenue lors de l'ouverture de ce document. accès refusé - Forum Bureautique
- Une erreur est survenue lors de la création de la page. veuillez vous assurer de respecter les règles relatives aux pages. - Forum Facebook
11 réponses
Pouvez vous me donner un exemple de ces outils ? est ce qu'il y a un outil a installer avant l'installation de gcc ?
Oui je suis debutantem c'est la premiere fois que j'essaie d'installer gcc.
j'ai tape build-essential
root@ubuntu:/home/dell/Bureau/gcc-4.2.4# build-essential
build-essential : commande introuvable
root@ubuntu:/home/dell/Bureau/gcc-4.2.4#
c'est la raison pourlaquelle j'ai eu des problemes ?
j'ai tape build-essential
root@ubuntu:/home/dell/Bureau/gcc-4.2.4# build-essential
build-essential : commande introuvable
root@ubuntu:/home/dell/Bureau/gcc-4.2.4#
c'est la raison pourlaquelle j'ai eu des problemes ?
ca marche pas
root@ubuntu:/usr/bin# aptitude install build-essential
Aucun paquet ne va être installé, mis à jour ou enlevé.
0 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 257 non mis à jour.
Il est nécessaire de télécharger 0 o d'archives. Après dépaquetage, 0 o seront utilisés.
root@ubuntu:/usr/bin#
root@ubuntu:/usr/bin# aptitude install build-essential
Aucun paquet ne va être installé, mis à jour ou enlevé.
0 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 257 non mis à jour.
Il est nécessaire de télécharger 0 o d'archives. Après dépaquetage, 0 o seront utilisés.
root@ubuntu:/usr/bin#
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
Elle renvoi ceci
root@ubuntu:/usr/bin# cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110426)]/ natty main restricted
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110426)]/ natty main restricted
# See https://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ natty main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ natty universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty universe
deb http://fr.archive.ubuntu.com/ubuntu/ natty-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ natty multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ natty-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fr.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu/ natty-security main restricted
deb http://security.ubuntu.com/ubuntu/ natty-security universe
deb-src http://security.ubuntu.com/ubuntu/ natty-security universe
deb http://security.ubuntu.com/ubuntu/ natty-security multiverse
deb-src http://security.ubuntu.com/ubuntu/ natty-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu/ natty partner
# deb-src http://archive.canonical.com/ubuntu/ natty partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu/ natty main
deb-src http://extras.ubuntu.com/ubuntu/ natty main
root@ubuntu:/usr/bin#
root@ubuntu:/usr/bin# cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110426)]/ natty main restricted
# deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110426)]/ natty main restricted
# See https://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ natty main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ natty universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty universe
deb http://fr.archive.ubuntu.com/ubuntu/ natty-updates universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ natty multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ natty-updates multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://fr.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu/ natty-security main restricted
deb http://security.ubuntu.com/ubuntu/ natty-security universe
deb-src http://security.ubuntu.com/ubuntu/ natty-security universe
deb http://security.ubuntu.com/ubuntu/ natty-security multiverse
deb-src http://security.ubuntu.com/ubuntu/ natty-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu/ natty partner
# deb-src http://archive.canonical.com/ubuntu/ natty partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu/ natty main
deb-src http://extras.ubuntu.com/ubuntu/ natty main
root@ubuntu:/usr/bin#
Je vais le lire.
entre temps, j'ai trouve ce lien #how to install a specific version of GCC on Ubuntu 11.04 #
https://baptiste-wicht.com/2011/06/install-specific-version-gcc-ubuntu/
je suis entrain de suivre les etapes de ce guide.
Merci pour tout.
entre temps, j'ai trouve ce lien #how to install a specific version of GCC on Ubuntu 11.04 #
https://baptiste-wicht.com/2011/06/install-specific-version-gcc-ubuntu/
je suis entrain de suivre les etapes de ce guide.
Merci pour tout.
Bonjour,
Enfin ça marche lorsque j'ai installé les fichier .deb :
gcc-4.2.4 packages for Ubuntu 11.04, 32bits i386 are available :
a) gcc42-compat-4.2.4_i386.deb
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US
b) g++42-compat-4.2.4_i386.deb
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US
Merci pour tout.
Enfin ça marche lorsque j'ai installé les fichier .deb :
gcc-4.2.4 packages for Ubuntu 11.04, 32bits i386 are available :
a) gcc42-compat-4.2.4_i386.deb
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US
b) g++42-compat-4.2.4_i386.deb
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US
Merci pour tout.