How to compile the vdr server plugin
#26
When I try to compile vdr-plugin-vnsiserver I get:

Code:
sudo make VDRDIR=/usr/include/vdr LIBDIR=/usr/lib/vdr/plugins
g++   -shared vnsi.o bitstream.o vnsiclient.o config.o cxsocket.o parser.o parser_AAC.o parser_AC3.o parser_DTS.o parser_h264.o parser_MPEGAudio.o parser_MPEGVideo.o parser_Subtitle.o parser_Teletext.o streamer.o recplayer.o requestpacket.o responsepacket.o vnsiserver.o hash.o recordingscache.o setup.o vnsiosd.o demuxer.o videobuffer.o videoinput.o channelfilter.o status.o -o libvdr-vnsiserver.so
/usr/bin/ld: vnsi.o: relocation R_X86_64_32S against `_ZTV17cPluginVNSIServer' can not be used when making a shared object; recompile with -fPIC
vnsi.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [libvdr-vnsiserver.so] Error 1

vdr --version
vdr (2.0.3/2.0.0) - The Video Disk Recorder
dvbhddevice (2.0.2) - HD Full Featured DVB device
live (0.2.0) - Live Interactive VDR Environment
streamdev-server (0.6.0-git) - VDR Streaming Server

What can I try?

I tried just "make" without parameters. And everything worked flawlessly. Perfect!
Reply


Messages In This Thread
RE: How to compile the vdr server plugin - by ronzo - 2015-03-18, 23:40


Logout Mark Read Team Forum Stats Members Help
How to compile the vdr server plugin0
This forum uses Lukasz Tkacz MyBB addons.