View previous topic :: View next topic |
Author |
Message |
pavel.stratil Tux's lil' helper
Joined: 23 Oct 2005 Posts: 134
|
Posted: Mon Dec 11, 2006 7:01 pm Post subject: vlc 0.8.6 fails to compile |
|
|
Code: |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libvlc.a(libvlc_a-item-ext.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libvlc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
libtool: install: error: relink `libaccess_mms_plugin.la' with the above command before installing it
make[9]: *** [install-libvlcLTLIBRARIES] Error 1
make[9]: Leaving directory `/var/tmp/portage/vlc-0.8.6/work/vlc-0.8.6/modules/access/mms'
make[8]: *** [install-exec-local] Error 2
.. some more errors
!!! ERROR: media-video/vlc-0.8.6 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_install
ebuild.sh, line 1020: Called src_install
vlc-0.8.6.ebuild, line 255: Called die
|
any hints please? tia, pavel |
|
Back to top |
|
|
elvanor Developer
Joined: 11 Oct 2004 Posts: 178 Location: France
|
Posted: Mon Dec 11, 2006 7:11 pm Post subject: |
|
|
Same here. Using amd64, stable (except, obviously for vlc and a few other packages).
I could put -fPIC as asked in my GCC flags, but I don't really want to, if it really needs it, the ebuild should be fixed ? |
|
Back to top |
|
|
depu n00b
Joined: 05 Dec 2006 Posts: 63
|
Posted: Mon Dec 11, 2006 7:14 pm Post subject: |
|
|
same error and AMD64 here too
0.8.5-r5 compiled and worked beautifully tho... |
|
Back to top |
|
|
GNUtoo Veteran
Joined: 05 May 2005 Posts: 1919
|
Posted: Mon Dec 11, 2006 7:20 pm Post subject: |
|
|
please bugreport |
|
Back to top |
|
|
Flameeyes Retired Dev
Joined: 30 Mar 2005 Posts: 189 Location: London, Europe
|
Posted: Tue Dec 12, 2006 8:32 am Post subject: |
|
|
It's a known problem being worked on.
In the mean time, remove the installed copy and reinstall, rather than upgrade. _________________ You want to know what I'm working on right now? Just follow my blog. |
|
Back to top |
|
|
elvanor Developer
Joined: 11 Oct 2004 Posts: 178 Location: France
|
Posted: Tue Dec 12, 2006 3:58 pm Post subject: |
|
|
What do you mean, should we unmerge the current (0.8.5) VLC version, and then merge the 0.8.6 ?
I don't understand how that will make a difference, but I can try... |
|
Back to top |
|
|
depu n00b
Joined: 05 Dec 2006 Posts: 63
|
Posted: Tue Dec 12, 2006 4:34 pm Post subject: |
|
|
unmerging the old vlc and emerging the new one works |
|
Back to top |
|
|
njuk-njuk n00b
Joined: 24 Aug 2003 Posts: 65 Location: New York, NY
|
Posted: Tue Dec 12, 2006 7:29 pm Post subject: |
|
|
depu wrote: | unmerging the old vlc and emerging the new one works |
thanks. this worked for me. |
|
Back to top |
|
|
Raphux n00b
Joined: 11 Sep 2004 Posts: 41 Location: Paris
|
Posted: Tue Dec 19, 2006 9:09 am Post subject: |
|
|
depu wrote: | unmerging the old vlc and emerging the new one works |
Thx, that worked for me too. Don't understand why though...
When we update VLC, some file of the old version are used during its construction? |
|
Back to top |
|
|
Flameeyes Retired Dev
Joined: 30 Mar 2005 Posts: 189 Location: London, Europe
|
Posted: Tue Dec 19, 2006 11:28 am Post subject: |
|
|
Sort of, it relinks the binaries at the end and use the wrong libvlc.a file, causing the failure.
The problem is I cannot reproduce the problem anymore, so I cannot see to fix it till I can reproduce it. _________________ You want to know what I'm working on right now? Just follow my blog. |
|
Back to top |
|
|
|