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

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
leo2k
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 223
Location: karlsruhe

PostPosted: Wed Apr 06, 2005 9:00 pm    Post subject: C compiler cannot create executables [solved] Reply with quote

checking for C compiler default output file name... configure: error: C compiler cannot create executables

dieser fehler kommt, egal was ich compilieren will.
leider kann ich dadurch auch kein gcc neu compilen.
ich habe ein stable system. der fehler ist (glaube ich) durch das letzte binutils update verursacht worden.

hier noch ein paar infos:
Code:

oelrechner root # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 23 2005, 02:51:48)]
distcc 2.16 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.9.4, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=pentium2"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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="-O3 -pipe -fomit-frame-pointer -march=pentium2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi aim alsa apm arts artswrappersuid audiofile avi bash-completion berkdb bigger-fonts bitmap-fonts calendar cdr chroot cpdflib cross crypt cups curl directfb divx4linux dvd emacs emacs-w3 emboss encode esd fam fbcon firebird flac flash font-server foomaticdb fortran ftp gdbm gif gnome gpm gtk gtk2 imagemagick imlib ipv6 java javascript jpeg jpeg2k libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mysql nas ncurses nls nvidia oav oggvorbis opengl oss pam pda pdflib perl png ppds python qt quicktime readline real samba scanner sdl slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vim-with-x winbind xinerama xml xml2 xmms xv xvid zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY


ich hatte ähnliches schon einmal mit den binutils. damals konnte der befehl "as" nicht aufgerufen werden.

doch zu meinem jetzigen problem finde ich keine infos.

leo
_________________
meine hp ölrechner.de


Last edited by leo2k on Thu Apr 07, 2005 8:29 am; edited 1 time in total
Back to top
View user's profile Send private message
ChrisJumper
Advocate
Advocate


Joined: 12 Mar 2005
Posts: 2403
Location: Germany

PostPosted: Wed Apr 06, 2005 9:34 pm    Post subject: Reply with quote

Hallo leo2k,

ja ich vermute auch mal das er deinen Compiler einfach nicht findet oder er einfach fehlerhaft installiert wurde.
Prüf doch mal ob du irgendwie mit gcc-config weiterkommst.

Oh noch besser:
https://forums.gentoo.org/viewtopic.php?t=27719
Back to top
View user's profile Send private message
leo2k
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 223
Location: karlsruhe

PostPosted: Thu Apr 07, 2005 4:57 am    Post subject: Reply with quote

aber mir ist es ein rätsel was das miteinander zu tun hat. binutils <=> compiler nicht finden :?:
leo
_________________
meine hp ölrechner.de
Back to top
View user's profile Send private message
droneblues
n00b
n00b


Joined: 12 Feb 2005
Posts: 5

PostPosted: Thu Apr 07, 2005 5:27 am    Post subject: Reply with quote

Sorry I don not speak German. I have found that the binutils-2.15.92.0.2-r7 breaks the symlinks in /usr/bin for the tools. I fixed the symbolic links then ran binutils-config, things are now working for me again.
Back to top
View user's profile Send private message
leo2k
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 223
Location: karlsruhe

PostPosted: Thu Apr 07, 2005 5:38 am    Post subject: Reply with quote

hi, could you please specify which symlinks have to be fixed?
and explicit say, how to do what :)

leo
_________________
meine hp ölrechner.de
Back to top
View user's profile Send private message
leo2k
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 223
Location: karlsruhe

PostPosted: Thu Apr 07, 2005 6:05 am    Post subject: Reply with quote

hi, i've just done this:
Code:
binutils-config --x86 && source /etc/profile

it seem to work again :D

ich denke das hat jeder verstanden :)

leo
_________________
meine hp ölrechner.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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