Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[GCC] C compiler cannot create executables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
youpla-boom
n00b
n00b


Joined: 11 Nov 2004
Posts: 38
Location: Lyon - France

PostPosted: Tue Jan 11, 2005 7:11 am    Post subject: [GCC] C compiler cannot create executables Reply with quote

Bonjour, suite à un vilain emerge prune, qui ma virer une tonne de lib et autres, il m'est impossible de réinstaller binutils ou glib j'ai à chaque fois la mm erreur:

checking for gcc... gcc
checking whether the C compiler (gcc -Os -march=pentium4 -pipe ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.


pensasnt que cela venait de mes cflags, je les ai modifier à tt va en vain .... donc si quelqu'un a une idée .. elle sera la bien venue.

++++
_________________
le roi du pain d'épice
Back to top
View user's profile Send private message
Apsforps
Guru
Guru


Joined: 27 Sep 2004
Posts: 520
Location: Belgium

PostPosted: Tue Jan 11, 2005 7:22 am    Post subject: Reply with quote

Essaie de voir s'il y a un compilateur selectionné (il doit y avoir une * à coté) lorsque tu tapes gcc-config -l
_________________
Apsforps
Back to top
View user's profile Send private message
youpla-boom
n00b
n00b


Joined: 11 Nov 2004
Posts: 38
Location: Lyon - France

PostPosted: Tue Jan 11, 2005 7:26 am    Post subject: Reply with quote

gcc-config -l [1] i686-pc-linux-gnu-3.4.3 *
[2] i686-pc-linux-gnu-3.4.3-hardened
[3] i686-pc-linux-gnu-3.4.3-hardenednopie
[4] i686-pc-linux-gnu-3.4.3-hardenednossp



et aprés ?! :)
_________________
le roi du pain d'épice
Back to top
View user's profile Send private message
Apsforps
Guru
Guru


Joined: 27 Sep 2004
Posts: 520
Location: Belgium

PostPosted: Tue Jan 11, 2005 8:08 am    Post subject: Reply with quote

Ben rien, ça pouvait être la cause de l'erreur. Je t'aurais bien dit d'emerger binutils mais bon, ça a pas l'air de marcher, donc peut-être un revdep-rebuild
_________________
Apsforps
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Tue Jan 11, 2005 8:08 am    Post subject: Reply with quote

GRRRR et le search ????
https://forums.gentoo.org/viewtopic.php?t=273423&highlight=executables
https://forums.gentoo.org/viewtopic.php?t=264107&highlight=executables
les 2 dans le forums french et datant de pas longtemps....
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
youpla-boom
n00b
n00b


Joined: 11 Nov 2004
Posts: 38
Location: Lyon - France

PostPosted: Tue Jan 11, 2005 8:33 am    Post subject: Reply with quote

j'ai déjà vu ces 2 posts hier soir et j'ai fais ce qui était expliquer ... en vain maintenant j'avoue qu'hier soir j'étais un peu fatigué !!!!!! là je suis pas chez moi donc je pourrais pas retester ..... je verrais ce soir !
tous ces pb suivent un passage de la 2004.2 à la 2004.3 (d'ailleurs je ne pense pas que cela à été pris en compte car lorsque je fais un emerge info je suis toujours en 2004.2 .. !)

à plus tard pour la suite!
_________________
le roi du pain d'épice
Back to top
View user's profile Send private message
youpla-boom
n00b
n00b


Joined: 11 Nov 2004
Posts: 38
Location: Lyon - France

PostPosted: Tue Jan 11, 2005 5:17 pm    Post subject: Reply with quote

Donc, j'étais aps trop fatigué en faite puisque :

Mettre à jour binutils-config
Code:
# emerge --nodeps -u binutils-config

Puis
Code:
# binutils-config -l
choisis un numéro dans la liste, et fait
Code:
# binutils-config <numero>
# env-update
# source /etc/profile

n'a donné aucun résultat et la mise à jour de binutils-config non plus donc ..... je vous avoue je suis un peu tristounet et toujours à la recherche d'une solution !


++
_________________
le roi du pain d'épice
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Tue Jan 11, 2005 5:29 pm    Post subject: Reply with quote

tu peux poster l'output d'un
Code:
emerge info
stp
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
youpla-boom
n00b
n00b


Joined: 11 Nov 2004
Posts: 38
Location: Lyon - France

PostPosted: Tue Jan 11, 2005 5:32 pm    Post subject: Reply with quote

emerge info:

Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.8
Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 7 2004, 23:39:32)]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.4
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.6.3, 1.7.9, 1.4_p6, 1.5, 1.8.5-r2, 1.9.3
sys-devel/binutils: [Not Present]
sys-devel/libtool: 1.5.10-r2
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fPIC"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.heanet.ie/mirrors/gentoo.org http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acl alsa apm avi bash-completion berkdb bitmap-fonts bmp bzlib caps cdparanoia cdr cdrom crypt cups dv dvd dvdr dvdread encode esd foomaticdb fortran gdbm gif gimp glade gnome gphoto2 gpm gstreamer gtk gtk2 hal ieee1394 imagemagick imlib ipv6 java jpeg libwww linguas_fr mad mikmod mime mmx mmx2 motif mozilla mp3 mpeg mplayer ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline sdl slang spell ss1 sse sse2 ssl svg svga tcltk tcpd tif tiff transcode truetype truetype-fonts unicode usb userlocales x86 xfs xinerama xinetd xml xml2 xscreensaver xv xvid zlib"

voila !
_________________
le roi du pain d'épice
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
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