View previous topic :: View next topic |
Author |
Message |
coogy n00b
Joined: 04 Aug 2005 Posts: 43
|
Posted: Mon Jun 26, 2006 8:09 pm Post subject: xine-lib-1.1.2_pre20060328-r9 anyone? |
|
|
has anyone built this yet? it chokes on my setup.
Code: | 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 -O3 -march=pentium4 -fomit-frame-pointer -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 -O3 -march=pentium4 -fomit-frame-pointer -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
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 -O3 -march=pentium4 -fomit-frame-pointer -frename-registers -ffunction-sections -c audio_oss_out.c -fPIC -DPIC -o .libs/xineplug_ao_out_oss_la-audio_oss_out.o
cc1: error: unrecognized option `-fvisibility=hidden'
make[3]: *** [xineplug_ao_out_oss_la-audio_oss_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
|
any ideas? |
|
Back to top |
|
|
fishsupreme n00b
Joined: 13 Jul 2005 Posts: 5
|
Posted: Mon Jun 26, 2006 8:53 pm Post subject: Same here... |
|
|
It blows up on me, too, in the same location with the same error.
I tried doing a depclean and a revdep-rebuild (no effect), unmerging xine-lib and xine-ui (no effect except now I don't have xine-ui), and doing another depclean and revdep-rebuild... no luck.
I think the problem is that the Makefile specifies a compiler visibility option -fvisibility=hidden. This is a GCC 4.0 compiler option not available in prior versions of GCC; I'm running GCC 3.4.6-r1. It looks like the ebuild does not properly check for this and just spits out -fvisbility=hidden for everyone. |
|
Back to top |
|
|
coogy n00b
Joined: 04 Aug 2005 Posts: 43
|
Posted: Mon Jun 26, 2006 10:17 pm Post subject: |
|
|
i'm running gcc 3.3.6. So the first excuse to find the time upgrade to gcc 4.0 then. |
|
Back to top |
|
|
fishsupreme n00b
Joined: 13 Jul 2005 Posts: 5
|
Posted: Tue Jun 27, 2006 4:43 pm Post subject: |
|
|
I just did an upgrade to gcc 3.4.6; that actually fixed the problem.
When upgrading from 3.3.x to 3.4.x, be sure to follow the instructions in the Gentoo GCC Upgrade Guide to avoid breaking binary compatibility. Just emerging gcc-3.4.6 does not actually perform the upgrade. |
|
Back to top |
|
|
|