Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gcc] Error al compilar (cerrado)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
perimori
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2004
Posts: 112
Location: /Spain/Madrid/Entrevias

PostPosted: Sun Feb 20, 2005 11:02 am    Post subject: [gcc] Error al compilar (cerrado) Reply with quote

¡Hola!

Resulta que cuando instalé gentoo hace unos 2 días, por alguna extraña razón lo compile con el parámetro del make.conf CHOST="i386-pc-linux-gnu" y no con CHOST="i686-pc-linux-gnu".

Ahora lo he cambiado y he hecho un emerge -e system que creo que solucionaba el problema y además he ejecutado fix_libtool_files.sh 3.3.5-r1 pero al compìlar el kmyfirewall me da el siguiente error:

Code:

/bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium3 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -funroll-loops -fno-exceptions -fno-check-new    -o libkmfcore.la -rpath /usr/lib -lkparts -lkio -lkdeui -lkdecore  -L/usr/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  iptable.lo iptchain.lo iptrule.lo kmfcheckinput.lo kmfconfiguration.lo kmfdoc.lo kmferror.lo kmferrorhandler.lo netfilterobject.lo -lkparts -lkio -lkdeui -lkdecore  -L/usr/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib
grep: //usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file ordirectory
sed: can't read //usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory
libtool: link: `//usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la' is not a valid libtool archive
make[3]: *** [libkmfcore.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kmyfirewall-0.9.6.2/work/kmyfirewall-0.9.6.2/kmyfirewall/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kmyfirewall-0.9.6.2/work/kmyfirewall-0.9.6.2/kmyfirewall'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kmyfirewall-0.9.6.2/work/kmyfirewall-0.9.6.2'
make: *** [all] Error 2

!!! ERROR: net-firewall/kmyfirewall-0.9.6.2 failed.
!!! Function kde_src_compile, Line 153, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message


Como veis me busca libstdc++ en una carpeta relacionada con i386 y no con i686 que es la que realmente existe ahora mismo. ¿Sabéis cómo puedo arreglar esto?

Muchas gracias


Last edited by perimori on Sun Feb 20, 2005 3:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
artic
Veteran
Veteran


Joined: 22 Nov 2003
Posts: 1208

PostPosted: Sun Feb 20, 2005 12:24 pm    Post subject: Reply with quote

Recompilando todo tu sistema y de paso afina las use y tu make.conf.
Salu2
_________________
Pwd by Gentoo | 2.6.28-gentoo-x64 | kde4.2| ext4 | xorg 7.4 |
Back to top
View user's profile Send private message
perimori
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2004
Posts: 112
Location: /Spain/Madrid/Entrevias

PostPosted: Sun Feb 20, 2005 2:15 pm    Post subject: Reply with quote

¿a qué te refieres? ya hice emerge -e system, con eso debería bastar ¿no?

Este es mi make.conf

Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -funroll-loops"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

USE="aac acpi apache2 cddb cdparanoia divx4linux dvd dvdr fbcon innodb \
     java kdeenablefinal kerberos libclamav live mmx mmx2 network nptl \
     nvidia real sse sse2 wifi xine xinerama xosd xvid -oss -gnome -libg \
     -esd -flac -tcpd"

GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://194.117.143.71 ftp://194.117.143.71/mirrors/gentoo ftp://ftp.snt.utwente.nl/pub/os/l$

MAKEOPTS="-j2"

AUTOCLEAN="yes"

LC_ALL="spanish"
LANG="spanish"
LINGUAS="es"
LANGUAGE=34



Back to top
View user's profile Send private message
perimori
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2004
Posts: 112
Location: /Spain/Madrid/Entrevias

PostPosted: Sun Feb 20, 2005 3:28 pm    Post subject: Reply with quote

Ya lo he solucionado:

bash-2.05b# ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/ /usr/lib/gcc-lib/i386-pc-linux-gnu/
Back to top
View user's profile Send private message
artic
Veteran
Veteran


Joined: 22 Nov 2003
Posts: 1208

PostPosted: Sun Feb 20, 2005 3:48 pm    Post subject: Reply with quote

Bueno yo uso -O2 q genera binarios mas pequeños ,si mereferia a eso ,con un enlace simbolico resolveras problemas pero no optimizacion q para eso esta gentoo,pero para gustos.......tb estaria bien q usases :
Code:

cat /proc/cpuinfo

para optimizar mas tus USE.
Salu2
_________________
Pwd by Gentoo | 2.6.28-gentoo-x64 | kde4.2| ext4 | xorg 7.4 |
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish 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