Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vlc 0.8.6 fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
pavel.stratil
Tux's lil' helper
Tux's lil' helper


Joined: 23 Oct 2005
Posts: 134

PostPosted: Mon Dec 11, 2006 7:01 pm    Post subject: vlc 0.8.6 fails to compile Reply with quote

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
View user's profile Send private message
elvanor
Developer
Developer


Joined: 11 Oct 2004
Posts: 178
Location: France

PostPosted: Mon Dec 11, 2006 7:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
depu
n00b
n00b


Joined: 05 Dec 2006
Posts: 63

PostPosted: Mon Dec 11, 2006 7:14 pm    Post subject: Reply with quote

same error and AMD64 here too
0.8.5-r5 compiled and worked beautifully tho...
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Mon Dec 11, 2006 7:20 pm    Post subject: Reply with quote

please bugreport
Back to top
View user's profile Send private message
Flameeyes
Retired Dev
Retired Dev


Joined: 30 Mar 2005
Posts: 189
Location: London, Europe

PostPosted: Tue Dec 12, 2006 8:32 am    Post subject: Reply with quote

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
View user's profile Send private message
elvanor
Developer
Developer


Joined: 11 Oct 2004
Posts: 178
Location: France

PostPosted: Tue Dec 12, 2006 3:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
depu
n00b
n00b


Joined: 05 Dec 2006
Posts: 63

PostPosted: Tue Dec 12, 2006 4:34 pm    Post subject: Reply with quote

unmerging the old vlc and emerging the new one works
Back to top
View user's profile Send private message
njuk-njuk
n00b
n00b


Joined: 24 Aug 2003
Posts: 65
Location: New York, NY

PostPosted: Tue Dec 12, 2006 7:29 pm    Post subject: Reply with quote

depu wrote:
unmerging the old vlc and emerging the new one works


thanks. this worked for me.
Back to top
View user's profile Send private message
Raphux
n00b
n00b


Joined: 11 Sep 2004
Posts: 41
Location: Paris

PostPosted: Tue Dec 19, 2006 9:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Flameeyes
Retired Dev
Retired Dev


Joined: 30 Mar 2005
Posts: 189
Location: London, Europe

PostPosted: Tue Dec 19, 2006 11:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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