Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
C compiler cannot create executable ??
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
karabela
n00b
n00b


Joined: 11 Jul 2004
Posts: 49
Location: Germany

PostPosted: Thu Feb 17, 2005 5:11 pm    Post subject: C compiler cannot create executable ?? Reply with quote

Das habe ich jetzt bei jedem emerge Vorgang :

creating cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
checking for gcc... gcc
checking whether the C compiler (gcc -march=pentium3 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! ERROR: net-www/mozilla-1.7.5 failed.
!!! Function src_compile, Line 132, Exitcode 1
!!! configure failed
!!! If you need support, post the topmost build error, NOT this status message.


Habe echt keine Ahnung was da auf einmal los ist.
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Thu Feb 17, 2005 5:23 pm    Post subject: Reply with quote

Oft ein Tippfehler in den CFLAGS... emerge info?
Back to top
View user's profile Send private message
karabela
n00b
n00b


Joined: 11 Jul 2004
Posts: 49
Location: Germany

PostPosted: Thu Feb 17, 2005 5:37 pm    Post subject: Reply with quote

ortage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1
, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.9
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 17 2005, 00:38:27)
]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.9.4, 1.4_p6, 1.5, 1.7.9, 1.8.5-r2, 1.6.3
sys-devel/binutils: 2.15.92.0.2-r2
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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/kd
e/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 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl encode esd f77 fam flac font-server foomaticdb fortran gaim gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 java javascript jpeg junit kde kontact ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses network nls objc oggvorbis opengl osspam pdflib perl pic png postgres prelink python qt quicktime readline samba sdlslang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xine xml2 xmms xv zlib linguas_de"
Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Habe auch schon mit
CFLAGS="-O2 (statt 3) probiert
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Thu Feb 17, 2005 5:55 pm    Post subject: Reply with quote

Quote:
checking build system type... i686-pc-linux-gnuoldld

Da passt irgendwas nicht... Kannst du per gcc-config das Profil ändern?
Back to top
View user's profile Send private message
karabela
n00b
n00b


Joined: 11 Jul 2004
Posts: 49
Location: Germany

PostPosted: Thu Feb 17, 2005 6:37 pm    Post subject: Reply with quote

Sorry, aber irgendwie blick ich nicht durch

1.) wie kommst du auf "gnuoldld", ich kann das in emerge info nicht finden

2.) auf was soll ich das profil ändern ??

[edit]

der erste punkt hat sich erledigt ... :-)

# gcc-config -c
i686-pc-linux-gnu-3.3.5


Last edited by karabela on Thu Feb 17, 2005 6:45 pm; edited 2 times in total
Back to top
View user's profile Send private message
ank666
Guru
Guru


Joined: 12 May 2004
Posts: 319
Location: CO/BY/DE

PostPosted: Thu Feb 17, 2005 6:42 pm    Post subject: Reply with quote

Dann schau doch nochmal in dein 1. Posting bzw. lies dir deine Fehlermeldungen mal aufmerksam durch!
_________________
Auf der Verpackung stand benötigt Windows 9x/2000/XP oder BESSER, deshalb hab ich Linux installiert
Back to top
View user's profile Send private message
karabela
n00b
n00b


Joined: 11 Jul 2004
Posts: 49
Location: Germany

PostPosted: Fri Feb 18, 2005 4:37 pm    Post subject: Reply with quote

Geht gleich damit weiter :

+ /var/tmp/portage/glibc-2.3.4.20050125/work/glibc-2.3.4/configure --disable-dev
-erandom --with-tls --without-__thread --enable-add-ons=linuxthreads, --enable-k
ernel=2.4.1 --without-cvs --enable-bind-now --build=i686-pc-linux-gnu --host=i68
6-pc-linux-gnu --disable-profile --without-gd --with-headers=/usr/include --pref
ix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/libe
xec/glibc
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
running configure fragment for add-on linuxthreads
checking sysdep dirs... sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i3
86 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pth
read linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysde
ps/i386/i686 linuxthreads/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix
/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet
sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/
posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu
sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64
sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
+ diefunc glibc_do_configure 781 1 'failed to configure glibc'
+ local funcname=glibc_do_configure lineno=781 exitcode=1
+ shift 3
+ echo

+ echo '!!! ERROR: sys-libs/glibc-2.3.4.20050125 failed.'
!!! ERROR: sys-libs/glibc-2.3.4.20050125 failed.
+ echo '!!! Function glibc_do_configure, Line 781, Exitcode 1'
!!! Function glibc_do_configure, Line 781, Exitcode 1
+ echo '!!! failed to configure glibc'
!!! failed to configure glibc
+ echo '!!! If you need support, post the topmost build error, NOT this status message.'
!!! If you need support, post the topmost build error, NOT this status message.
+ echo

+ exit 1
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