Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VLC doesn't compile | ld error? libtool error? [solved]
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
meldron
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 91
Location: Nuremburg

PostPosted: Wed Mar 21, 2007 8:30 pm    Post subject: VLC doesn't compile | ld error? libtool error? [solved] Reply with quote

Hi everybody,
today i emerged modular Xorg and now i tryed to remerge VLC, but everytime i get this compile error:

Code:
/bin/sh ../../libtool --tag=CC   --mode=link gcc `top_builddir="../.." ../../vlc-config --cflags plugin directfb` -Wsign-compare -Wall -march=athlon-xp -pipe -O2 -I /usr/include/directfb -pipe `top_builddir="../.." ../../vlc-config --libs plugin directfb` -rpath '/usr/lib/vlc/video_output' -avoid-version -module -shrext .so  -o libdirectfb_plugin.la  libdirectfb_plugin_la-directfb.lo ../../src/libvlc.la
(cd .libs && rm -f libimage_plugin.la && ln -s ../libimage_plugin.la libimage_plugin.la)
libtool: link: warning: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.4//libstdc++.la' seems to be moved
gcc -shared  .libs/libdirectfb_plugin_la-directfb.o  -Wl,--rpath -Wl,/var/tmp/portage/vlc-0.8.6-r1/work/vlc-0.8.6/src/.libs -L/usr/lib /usr/lib/libdirectfb.so -L/usr/i686-pc-linux-gnu/bin -L/usr/lib/gcc-lib/.. -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4 -lfusion -ldirect -lpthread /usr/lib/libjpeg.so -lz -ldl ../../src/.libs/libvlc.so -L/usr/lib/live/UsageEnvironment -L/usr/lib/live/groupsock -L/usr/lib/live/BasicUsageEnvironment -L/usr/lib/live/liveMedia -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/  -march=athlon-xp -Wl,-soname -Wl,libdirectfb_plugin.so -o .libs/libdirectfb_plugin.so
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfusion
collect2: ld returned 1 exit status
make[4]: *** [libdirectfb_plugin.la] Fehler 1


Anybody got a solution?
Thanks in advance,
meldron


Last edited by meldron on Thu Mar 22, 2007 11:59 am; edited 1 time in total
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Wed Mar 21, 2007 9:06 pm    Post subject: Reply with quote

if you don't need the directfb you can always remove it. I couldn't find what lfusion is, probably there's some flag missing in some package, find out what it is and you probably know what you need... Maybe the vlc docs on building it tell you what's missing.

cheers
Back to top
View user's profile Send private message
meldron
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 91
Location: Nuremburg

PostPosted: Wed Mar 21, 2007 10:14 pm    Post subject: Reply with quote

I compiled VLC without directfb. This time i didnt get a compile error. Now i've got an error if i try to start it.
Code:
VLC media player 0.8.6-bugfix Janus
[00000131] main interface error: no interface module matched "hotkeys,none"
[00000131] main interface error: no suitable interface module
[00000001] main private error: interface "hotkeys,none" initialization failed
[00000134] main interface error: no interface module matched "any"
[00000134] main interface error: no suitable interface module
[00000001] main private error: interface "(null)" initialization failed
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Wed Mar 21, 2007 10:30 pm    Post subject: Reply with quote

well, i'm sorry but i have to ask this in case you're new, but are you running in X with ati/nvidia/other drivers? Because without directfb it shouldn't work in the framebuffer. Does it work in X with graphics aceleration?

You can always follow my second sugestion :P
Back to top
View user's profile Send private message
meldron
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 91
Location: Nuremburg

PostPosted: Wed Mar 21, 2007 10:36 pm    Post subject: Reply with quote

I'm running X with nvidia driver. => No it doesn't work in X

Thanks for your help.
meldron
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Wed Mar 21, 2007 10:39 pm    Post subject: Reply with quote

In that case these problems must unrelated. Directfb is not at all a requirement for vlc. Have you got old configurations for vlc? remove it with something like
Code:
 rm -R ~/.vlc
Back to top
View user's profile Send private message
meldron
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 91
Location: Nuremburg

PostPosted: Wed Mar 21, 2007 10:56 pm    Post subject: Reply with quote

I removed it. Still the same error.
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Wed Mar 21, 2007 11:02 pm    Post subject: Reply with quote

Could be a permission thing, does it happen in root?
Back to top
View user's profile Send private message
meldron
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 91
Location: Nuremburg

PostPosted: Wed Mar 21, 2007 11:14 pm    Post subject: Reply with quote

Happens as root too.
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Wed Mar 21, 2007 11:32 pm    Post subject: Reply with quote

ok, it seems like a common error and it happens in windows:http://forum.videolan.org/viewtopic.php?t=33445&sid=ec153ebc7ec3105a5ee290a886a37820http://forum.videolan.org/viewtopic.php?t=33445&sid=ec153ebc7ec3105a5ee290a886a37820

lack of plugins?
Back to top
View user's profile Send private message
meldron
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 91
Location: Nuremburg

PostPosted: Thu Mar 22, 2007 11:32 am    Post subject: Reply with quote

I recompiled VLC once again and this time it works. My mistake was i compiled an unstable version. With the stable version and without directfb it works!

Thank you really much for your help, Pseudonimo. People like you are the reason why I like the gentoo community so much.
Thanks,
meldron
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Thu Mar 22, 2007 11:54 am    Post subject: Reply with quote

You're welcome, I only ask people in return to mark the topic solved :P. pm me for help anytime,
Cheers
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