Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemas con el gcc o las flags a la hora de emerger
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
shawe_ewahs
n00b
n00b


Joined: 09 Dec 2003
Posts: 1
Location: Spain

PostPosted: Sun Jan 11, 2004 2:31 pm    Post subject: Problemas con el gcc o las flags a la hora de emerger Reply with quote

Desde que instale mi Gentoo 1.4, he ido emergiendo sin problemas, pero ultimamente, cuando intento emerger aplicaciones como el openoffice, alsa-driver u otras mucho mas simples me devuelve errores como este:

Quote:

En el fichero incluído de /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42,
de hwdep.c:22:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:134: redefinición de `PDE'
/usr/src/linux/include/linux/proc_fs.h:253: `PDE' previously defined here
En el fichero incluído de memalloc.inc:11,
de memalloc.c:1:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:134: redefinición de `PDE'
/usr/src/linux/include/linux/proc_fs.h:253: `PDE' previously defined here
make[1]: *** [hwdep.o] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make[1]: *** [memalloc.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/acore'
make: *** [compile] Error 1

!!! ERROR: media-sound/alsa-driver-0.9.8 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! Parallel Make Failed


Desde que empeze a tener problemas no habia cambiando antes ninguna flag ni nada.

La version de GCC que uso es: 3.2.3, con un CPU Pentium4 no se si esto tendra algo que ver, pero con este PC he intentado estas flags:

Quote:

#CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
#CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
#CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fpre$
#CFLAGS="-march=pentium3 -mcpu=pentium4 -O3 -pipe -fomit-frame-pointer"
#CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
#CFLAGS="-march=i686 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-o$
#CFLAGS="-s -march=i686 -O2 -pipe -fomit-frame-pointer -fexpensive-optimizations -frerun-cse-a$
#CFLAGS="-march=pentium3 -O3 -mmmx -msse -mfpmath=sse -pipe -fomit-frame-pointer -funroll-loops$


Si creeis que falta algun dato para poder ayudarme, comentadlo y lo colgare.

Gracias por adelantado
_________________
Shawe
Back to top
View user's profile Send private message
KrS
Tux's lil' helper
Tux's lil' helper


Joined: 15 Feb 2003
Posts: 113
Location: Bcn

PostPosted: Mon Jan 12, 2004 8:46 pm    Post subject: Reply with quote

Si no me equivoco, no has cambiado las locale a POSIX antes de compilar, esto puede dar errores.
Prueba a ejecutar antes de emerger cualquier cosa:
Code:
#unset LANGUAJE LANG LC_ALL

Está todo comentado en https://forums.gentoo.org/viewtopic.php?t=29737
Back to top
View user's profile Send private message
RAPUL
l33t
l33t


Joined: 29 Dec 2002
Posts: 664
Location: Valencia (SPAIN)

PostPosted: Tue Jan 13, 2004 12:41 pm    Post subject: Hmmm Reply with quote

1) Revisa https://forums.gentoo.org/viewtopic.php?t=29737
2) Revisa https://forums.gentoo.org/viewtopic.php?t=122405
3) Algunas de tus CFGLAGS acaban en $, haz man gcc y verás que ninguna flag del GCC acaba con un $.

Factores que hacen que emerge no funcione bien:

Code:

Variables de ENTORNO
Aceleradores de Python
distcc
ccache
CFLAGS
ACCEPT_KEYWORDS
emerge-progress


Elimina todos los añadidos que hayas hecho al portage o al shell de root y prueba con valores CFLAGS estables.
_________________
Entropy rulz world.
Redundancy sux.
World is full of redundancy.
World sux.
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