How to install VLC with Upnp support in Unix system (eg. FC3)
Thank you.
Code: Select all
g++ -Wsign-compare -Wsign-compare -Wall -pipe -o libupnp_plugin.so libupnp_plugin.a -L/usr/local/lib -shared -lpthread -fpic -fPIC ../XXX/Cyberlink170/lib/unix/libclink.a -lexpat -u vlc_entry__0_8_4
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: ../XXX/Cyberlink170/lib/unix/libclink.a(HTTPHeader.o): relocation R_X86_64_32 against `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' can not be used when making a shared object; recompile with -fPIC
/XXX/Cyberlink170/lib/unix/libclink.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libupnp_plugin.so] Error 1
Hi j-b,Cyberlink is broken. DOn't compile it.
Perhaps You 1.download recent vlc-sources from the Videolan-pages(google "vlc source code").Hi community,
Many thanks to Ingo for excellent description of how to install UPnP plugin. All went well until I tried to configure Cyberlink and I received error messages that gcc couldn't be found. Checked my system and gcc is installed.
Being very new to Linux I guess it might be because I am working in my own directory but please forgive me for seeking some reassurance here before going further. Here is what I have done so far:-
I am using OpenSuse 11.0 and have been through the ten checks for multimedia posted on this forum. My system seems to comply.
I downloaded CyberLink C++ UPnP library Version 1.7.1 to my /home/user directory. VLC is in /usr/share/vlc. I assume I should have put the Cyberlink files in their own directory in /usr/share before trying to configure but is that all? If gcc is installed why is it not available from my user directory?
BTW if I use Dolphin rather than su and commands in a console window, how do I get root priviliges so I can move stuff to /usr/share etc. if indeed that is what I need to do?
All assistance gratefully received.
Budgie.
Hi community,
I was looking for the upnp support in VLC (only for linux) like this ones (you do not need to visit all URLs, they mainly ask for a solution):
viewtopic.php?f=2&t=46271
viewtopic.php?f=2&t=44080
viewtopic.php?f=13&t=27138
viewtopic.php?f=13&t=23396
viewtopic.php?f=13&t=28821
viewtopic.php?f=13&t=26008
viewtopic.php?f=13&t=25735
viewtopic.php?f=13&t=17678
viewtopic.php?f=13&t=17716
viewtopic.php?f=13&t=17683
and found this helpful topics (more interesting):
viewtopic.php?f=2&t=2570
http://wiki.videolan.org/User:J-b#My_VLC
http://www.cybergarage.org/blog/2006/01 ... ectly.html
viewtopic.php?f=2&t=14400
viewtopic.php?f=2&t=46271
but finally THIS current topic give me the pointer to the solution but it's a little bit outdated. So I like to describe how I get it to run with current software versions
together with this information (important):
http://mailman.videolan.org/pipermail/v ... 21015.html
http://www.peerweb.nl/gentoo/net-misc/clinkcc/files/
Get CyberLink C++ UPnP library Version 1.7.1 from :
http://sourceforge.net/project/showfile ... p_id=89768
The iconv compilation patch is no longer needed because it's part of this version.
I use gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) so I have to patch CyberLink with the
gcc-41.patch from http://www.peerweb.nl/gentoo/net-misc/clinkcc/files/
Now just configure CyberLink with "./configure --enable-expat", run make and thats it for CyberLink (don't forget libexpat-dev or whatever the package is called on your distribution).
Once you have CyberLink C++ UPnP, configure your VLC source with:
./configure ... --enable-cyberlink --with-cyberlink-tree=<where/you/have/compiled/CyberLink>
and make.
Yes, OK - on heavy clicking the upnp tree in the playlist I get segfaults, but we know ...
With moderate use it works.
On topic Cyberlink doesn't compile on Mac OS X
viewtopic.php?f=12&t=53958&p=177018&sid ... 43#p177018Hi j-b,Cyberlink is broken. DOn't compile it.
maybe you read this. Is it only for Mac OS X broken?
Hallo Ingo,
ich versuche, mit dem gepatchten "CyberLink"-Paket einen vlc-client für Mediatomb zu kompilieren. "CyberLink" kompiliert zwar, aber bei ./configure im root-vlc erscheint folgendes:
----------------------------------------------------------------------------------------------------------------------------------------------
checking cybergarage/upnp/MediaServer.h usability... no
checking cybergarage/upnp/MediaServer.h presence... yes
configure: WARNING: cybergarage/upnp/MediaServer.h: present but cannot be compiled
configure: WARNING: cybergarage/upnp/MediaServer.h: check for missing prerequisite headers?
configure: WARNING: cybergarage/upnp/MediaServer.h: see the Autoconf documentation
configure: WARNING: cybergarage/upnp/MediaServer.h: section "Present But Cannot Be Compiled"
configure: WARNING: cybergarage/upnp/MediaServer.h: proceeding with the preprocessor's result
configure: WARNING: cybergarage/upnp/MediaServer.h: in the future, the compiler will take precedence
checking for cybergarage/upnp/MediaServer.h... yes
checking for libclink.a in /home/halifax/CyberLink/... /home/halifax/CyberLink/lib/unix/libclink.a
checking for XML parser to link CyberLink with... configure: error: cannot find XML parser for CyberLink
See `config.log' for more details.
-----------------------------------------------------------------------------------------------------------------------------------------------
Wo mag es den fehlenden "XML parser" geben ?
Unter cybergarage/upnp finde ich keine MediaServer.h header-Datei, unter /sample gibt's allerdings MediaGate.h . . .
Muß das CyberLink-Paket noch installiert werden ? (Selbst bei Ausführung als "root" ist "permission denied" . . .)
Ich hoffe, Du kannst mir einen Tip geben, die usability auf "Ja" umzuschalten.
Mit freundlichen Grüßen
halifax
Hi community,
I was looking for the upnp support in VLC (only for linux) like this ones (you do not need to visit all URLs, they mainly ask for a solution):
viewtopic.php?f=2&t=46271
viewtopic.php?f=2&t=44080
viewtopic.php?f=13&t=27138
viewtopic.php?f=13&t=23396
viewtopic.php?f=13&t=28821
viewtopic.php?f=13&t=26008
viewtopic.php?f=13&t=25735
viewtopic.php?f=13&t=17678
viewtopic.php?f=13&t=17716
viewtopic.php?f=13&t=17683
and found this helpful topics (more interesting):
viewtopic.php?f=2&t=2570
http://wiki.videolan.org/User:J-b#My_VLC
http://www.cybergarage.org/blog/2006/01 ... ectly.html
viewtopic.php?f=2&t=14400
viewtopic.php?f=2&t=46271
but finally THIS current topic give me the pointer to the solution but it's a little bit outdated. So I like to describe how I get it to run with current software versions
together with this information (important):
http://mailman.videolan.org/pipermail/v ... 21015.html
http://www.peerweb.nl/gentoo/net-misc/clinkcc/files/
Get CyberLink C++ UPnP library Version 1.7.1 from :
http://sourceforge.net/project/showfile ... p_id=89768
The iconv compilation patch is no longer needed because it's part of this version.
I use gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) so I have to patch CyberLink with the
gcc-41.patch from http://www.peerweb.nl/gentoo/net-misc/clinkcc/files/
Now just configure CyberLink with "./configure --enable-expat", run make and thats it for CyberLink (don't forget libexpat-dev or whatever the package is called on your distribution).
Once you have CyberLink C++ UPnP, configure your VLC source with:
./configure ... --enable-cyberlink --with-cyberlink-tree=<where/you/have/compiled/CyberLink>
and make.
Yes, OK - on heavy clicking the upnp tree in the playlist I get segfaults, but we know ...
With moderate use it works.
On topic Cyberlink doesn't compile on Mac OS X
viewtopic.php?f=12&t=53958&p=177018&sid ... 43#p177018Hi j-b,Cyberlink is broken. DOn't compile it.
maybe you read this. Is it only for Mac OS X broken?
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 13 guests