pipelka / vdr-plugin-xvdr

DISCONTINUED - XVDR Plugin for VDR
GNU General Public License v2.0
43 stars 21 forks source link

Can't build #49

Closed ramoncio closed 12 years ago

ramoncio commented 12 years ago

I know about your vdr/xbmc projects a few months ago, and I've been happily using them in my debian squeeze home server. Thanks for the very nice work you are doing!!

But after I last apt-get updated my system, vdr 1.7.22 got upgraded to 1.7.23 in my server, and xvdr stopped working. I have downloaded vdr sources from the e-tobi repo using 'apt-get source vdr' and vdr-plugin-xvdr latest sources from github buit I can't build it.

I just changed in Makefile from vdr-plugin-xvdr DVBDIR /usr/src/media_build/linux , where my DVB sources are located, as I had to do with some other plugins

This is the error I get:

In file included from ./src/live/livestreamer.h:30, from src/demuxer/demuxer.c:31: /usr/src/media_build/linux/include/linux/videodev2.h:64:28: error: linux/compiler.h: No file or directory In file included from ./src/live/livestreamer.h:30, from src/demuxer/demuxer.c:31: /usr/src/media_build/linux/include/linux/videodev2.h:706: error: field ‘__user’ has incomplete type /usr/src/mediabuild/linux/include/linux/videodev2.h:706: error: expected ‘;’ before ‘’ token /usr/src/mediabuild/linux/include/linux/videodev2.h:713: error: expected ‘;’ before ‘’ token /usr/src/media_build/linux/include/linux/videodev2.h:715: error: variable or field ‘__user’ declared void /usr/src/mediabuild/linux/include/linux/videodev2.h:715: error: expected ‘;’ before ‘’ token make: _\ [src/demuxer/demuxer.o] Error 1

Thanks for your time

ramoncio commented 12 years ago

Ok I figured it out. I just needed to create a symlink:

cd /usr/src/media_build/linux/include/linux ln -s /usr/src/linux/include/linux/compiler.h compiler.h

Now it's working fine