What am I doing wrong? I can compile all the pvr plugins fine but can't compile the vdr-plugin-vnsiserver
git clone --branch osd git://github.com/FernetMenta/xbmc-pvr-addons.git
./bootstrap
Code:
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --install --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:6: installing `./missing'
addons/pvr.argustv/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
autoreconf: Leaving directory `.'
cd xbmc-pvr-addons/addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver
sudo make VDRDIR=/usr/include/vdr LIBDIR=/usr/lib/vdr/plugins
Code:
g++ -g -Wall -Woverloaded-virtual -Wno-parentheses -O2 -fPIC -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 -o libvdr-vnsiserver.so
/usr/bin/ld: vnsi.o: relocation R_X86_64_32S against `vtable for cPluginVNSIServer' can not be used when making a shared object; recompile with -fPIC
vnsi.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libvdr-vnsiserver.so] Error 1
ls -al /usr/lib/vdr/plugins
Code:
total 536
drwxr-xr-x 2 root root 4096 Jan 24 23:19 .
drwxr-xr-x 3 root root 4096 Jan 24 23:11 ..
-rw-r--r-- 1 root root 537544 Jan 3 2012 libvdr-xineliboutput.so.1.7.22
ls -al /usr/include/vdr
Code:
total 476
drwxr-xr-x 4 root root 4096 Jan 24 23:11 .
drwxr-xr-x 35 root root 4096 Jan 24 23:36 ..
-rw-r--r-- 1 root root 1977 Jul 6 2008 audio.h
-rw-r--r-- 1 root root 10040 Aug 6 2011 channels.h
-rw-r--r-- 1 root root 10246 Dec 4 2011 ci.h
-rw-r--r-- 1 root root 8787 Dec 3 2011 config.h
-rw-r--r-- 1 root root 675 Aug 29 2010 cutter.h
-rw-r--r-- 1 root root 39761 Dec 4 2011 device.h
.................
Guide to building an all in one Ubuntu Server - TV(vdr),File,Music,Web
Server Fractal Designs Define XL, Asus P5QL/EPU, Dual Core E5200, 4gb, L4M-Twin S2 v6.2, Supermicro AOC-USAS-L8I, 1*SSD & 13*HDD drives (24TB total) - Ubuntu Server
XBMC 1 ASRock Z77E-ITX, G850, 8GB RAM, SSD, BD - Ubuntu / OpenElec frodo
XBMC 2 Revo 3700 - OpenElec frodo
XBMC 3 Raspb Pi