View previous topic :: View next topic |
Author |
Message |
Pablo S. Barrera l33t
Joined: 16 May 2006 Posts: 642 Location: Mataderos. Argentina. America del Sur
|
Posted: Fri Jun 30, 2006 3:47 am Post subject: Error con xine-lib |
|
|
Aca les copio lo ulitmo que me da al intentar compilar este paquete, intente todo lo que esta en un articulo sobre xine-lib y no logre cambiar esta situacion. Alguna idea? Ya no se que hacer.. tengo todo desactualizado por que no puedo compilar este paquete. Les agradeceria alguna idea, yo pruebo.
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -DXINE_COMPILE -fvisibility=hidden -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -O2 -march=athlon-xp -fomit-frame-pointer -ffast-math -pipe -frename-registers -ffunction-sections -c audio_none_out.c -fPIC -DPIC -o .libs/xineplug_ao_out_none_la-audio_none_out.o
cc1: error: unrecognized option `-fvisibility=hidden'
make[3]: *** [xineplug_ao_out_none_la-audio_none_out.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -DXINE_COMPILE -fvisibility=hidden -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -O2 -march=athlon-xp -fomit-frame-pointer -ffast-math -pipe -frename-registers -ffunction-sections -c audio_file_out.c -fPIC -DPIC -o .libs/xineplug_ao_out_file_la-audio_file_out.o
cc1: error: unrecognized option `-fvisibility=hidden'
make[3]: *** [xineplug_ao_out_file_la-audio_file_out.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs/src/audio_out'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r9/work/xine-lib-1.1.2cvs'
make: *** [all] Error 2
!!! ERROR: media-libs/xine-lib-1.1.2_pre20060328-r9 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
xine-lib-1.1.2_pre20060328-r9.ebuild, line 235: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant. |
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Fri Jun 30, 2006 10:12 am Post subject: |
|
|
¿puedes poner tus cflags y CXXFLAGS? |
|
Back to top |
|
|
Pablo S. Barrera l33t
Joined: 16 May 2006 Posts: 642 Location: Mataderos. Argentina. America del Sur
|
Posted: Fri Jun 30, 2006 10:23 am Post subject: xine-lib-1.1.2_pre20060328-r9 |
|
|
tux pablo$ nano -w /etc/make.conf
# 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="-O2 -march=athlon-xp -fomit-frame-pointer -ffast-math -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="3dnow accessibility acpi adsl amuled asf cdrom css dhcp dvd dvdr dvdread ftp
gkrellm glade h323 j2ee javascript kdeenablefinal kdepim kdexdeltas
kdgraphics mmx mp4 mp4live mpeg2 mplayer msn mysql nsplugin ntfs pango pdf php
physfs rar real rtc sounds syslog threads unicode video_cards_s3
video_cards_s3virge video_cards_savage video_cards_vesa wma wma123 win32codecs yahoo zlib
-cups -gnome -gtk"
LINGUAS="es us"
Este es el paquete que quiero compilar: xine-lib-1.1.2_pre20060328-r9
Cualquier cosa necesaria/prueba solo comentenlo. Gracias. |
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Fri Jun 30, 2006 10:30 am Post subject: |
|
|
Quita el -ffast-math de tus cflags
Saludos y suerte |
|
Back to top |
|
|
gringo Advocate
Joined: 27 Apr 2003 Posts: 3793
|
Posted: Fri Jun 30, 2006 11:04 am Post subject: |
|
|
Quote: | cc1: error: unrecognized option `-fvisibility=hidden' |
mmm ... intuyo que tienes un compilador 3.3.x. Si es asi lee este bug -> https://bugs.gentoo.org/show_bug.cgi?id=132122
Tendrás que usar un compilador 3.4x para poder compilar ese programa.
saluetes |
|
Back to top |
|
|
dmery Apprentice
Joined: 15 Sep 2004 Posts: 225 Location: Coral Gables, Florida, USA
|
Posted: Fri Jun 30, 2006 12:05 pm Post subject: |
|
|
Gringo tiene razon debes de emigrar al GCC 3.4. Tengo el mismo problema. El BUG 135390 se reporto por ese problema, ahi podras leer la recomendacion que realiza el desarrollador, pasa al GCC 3.4.
Salu2
Daniel Mery _________________ "El conocimiento es patrimonio de la humanidad, por lo tanto no tiene propietarios ni necesita de licencias"
Usuario linux registrado: 364487
Gentoo user
Arch user |
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Fri Jun 30, 2006 12:42 pm Post subject: |
|
|
Esta bien saberlo
yo es que siempre he usado gcc 3.4 (primero en amd64 y luego en x86)
Saludos |
|
Back to top |
|
|
DarkMind Guru
Joined: 18 Dec 2003 Posts: 525 Location: Santiago, Chile
|
Posted: Fri Jun 30, 2006 3:58 pm Post subject: |
|
|
yo uso gcc 4.1 y 0 problemas |
|
Back to top |
|
|
Pablo S. Barrera l33t
Joined: 16 May 2006 Posts: 642 Location: Mataderos. Argentina. America del Sur
|
Posted: Sat Jul 01, 2006 4:33 am Post subject: |
|
|
Lo que hice fue esto, para otros que tengan mismo problema.
Primero verifique que efectivamente la version de GCC conflictiva era la que yo tenia aca. La 3.3.x
Cuando verificaba que version tenia instalada.. con el comando emerge -s gcc me decia 3.4.6 pero hacia uno gcc --version y me decia 3.3.x estamos todos locos?! jaja
Me base en esto: https://bugs.gentoo.org/show_bug.cgi?id=135390
Esto hice
#gcc-config i686-pc-linux-gnu-3.4.6
#source /etc/profile
y luego al recompilar el xine-lib no tuve ningun problema.
Agradezco a todos los que escribieron y mas alla de algunas respuestas no acertadas agradezco la buena intencion de todos |
|
Back to top |
|
|
|