Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge <qualquercoisa> ---> Erro: cannot create executables
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
mikebermel
n00b
n00b


Joined: 14 Oct 2006
Posts: 4

PostPosted: Sat Oct 14, 2006 3:30 pm    Post subject: emerge <qualquercoisa> ---> Erro: cannot create exe Reply with quote

Olá!

Após eu compilar o amule meu micro não compilou mais nada. Olhei num forum e o mesmo indicou que eu fizesse emerge -C binutils ; emerge binutils


Segue abaixo meu problema:

>>> Compiling source in /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1 ...

* CATEGORY: sys-devel
* CBUILD: x86_64-pc-linux-gnu
* CHOST: x86_64-pc-linux-gnu
* CTARGET: x86_64-pc-linux-gnu
* CFLAGS: -O2 -march=nocona -pipe
* LDFLAGS:

./configure --prefix=/usr --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --datadir=/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1 --infodir=/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/info --mandir=/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.1/man --bindir=/usr/x86_64-pc-linux-gnu/binutils-bin/2.16.1 --libdir=/usr/lib/binutils/x86_64-pc-linux-gnu/2.16.1 --libexecdir=/usr/lib/binutils/x86_64-pc-linux-gnu/2.16.1 --includedir=/usr/lib/binutils/x86_64-pc-linux-gnu/2.16.1/include --enable-64-bit-bfd --enable-shared --disable-werror --without-included-gettext --build=x86_64-pc-linux-gnu
creating cache ./config.cache
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=nocona -pipe ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! ERROR: sys-devel/binutils-2.16.1-r3 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1255: Called toolchain-binutils_src_compile
toolchain-binutils.eclass, line 195: Called die

!!! configure failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


OBS: eu usei ACCEPT_KEYWORDS="~x86" USE="gtk" emerge -uD amule Este foi meu erro!



--------------------------------------------------------------------------------------------------------------------------


emerge --info
Portage 2.1.1 (default-linux/x86/no-nptl, gcc-3.4.4, glibc-2.3.6-r4, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) D CPU 3.40GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 14 Oct 2006 15:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: [Not Present]
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://gentoo.mirrors.pair.com/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ "
LINGUAS="pt_BR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts berkdb bitmap-fonts browserplugin bzip2 cdr cli crypt cups dlloader dri dvd eds elibc_glibc emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux libg++ libwww linguas_pt_BR mad mikmod motif mozilla mp3 mpeg ncurses nls nvidia ogg opengl oss pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts userland_GNU video_cards_nvidia vorbis win32codecs xml xmms xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

-----------------------------------------------------------------------------------------------------------------------

emerge -pvD gcc glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] sys-devel/binutils-2.16.1-r3 USE="nls -multislot -multitarget -test -vanilla" 0 kB
[ebuild R ] sys-devel/gcc-4.1.1 USE="fortran gcj nls (-altivec) -bootstrap -build -doc -gtk (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB
[ebuild R ] sys-libs/glibc-2.3.6-r4 USE="nls -build -erandom -glibc-compat20 -glibc-omitfp -hardened (-multilib) (-nptl) (-nptlonly) -profile (-selinux)" 0 kB

Total size of downloads: 0 kB



----------------------------------------------------------------------------------------------------------------------------




Por favor me ajudem....
Back to top
View user's profile Send private message
Kanniball
Apprentice
Apprentice


Joined: 23 Jan 2004
Posts: 208
Location: Portugal

PostPosted: Tue Oct 17, 2006 12:45 pm    Post subject: Reply with quote

verifica as tuas flags do gcc.
normalmente isso quer dizer que tens algo errado, ou nao suportado pela tua versao do gcc.
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Tue Oct 17, 2006 1:03 pm    Post subject: Reply with quote

Code:
-O2 -march=nocona -pipe


Onde é que tu foste buscar isso?


Lê o handbook especialmente o ponto 5.e. Configuring the Compile Options

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1
_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
mikebermel
n00b
n00b


Joined: 14 Oct 2006
Posts: 4

PostPosted: Mon Oct 30, 2006 1:43 am    Post subject: Formatei... Reply with quote

O galera... obrigado pelas dicas.... mas tive que formatar meu micro pois precisava com urgência concluir um trabalho de faculdade...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese 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