[vdr] Can't compile VDR

Chris Silva 2manybills at gmail.com
Thu Jan 15 03:50:21 CET 2009


On Thu, Jan 15, 2009 at 12:45 AM, user. vdr <user.vdr at gmail.com> wrote:
> On Wed, Jan 14, 2009 at 3:41 PM, Chris Silva <2manybills at gmail.com> wrote:
>> I'm having problems compiling VDR 1.7.0 and 1.7.3.
>>
>> This is the error:
>>
>> /usr/local/src/s2-liplianin/linux/include/linux/videodev2.h:64:28:
>> error: linux/compiler.h: No such file or directory
>> In file included from
>> /usr/local/src/s2-liplianin/linux/include/linux/videodev.h:16,
>>                 from dvbdevice.c:13:
>
> Starting with the first error, try this:
> cp /usr/src/linux/include/linux/compiler.h
> /usr/local/src/s2-liplianin/linux/include/linux

Hi.

Thanks for the help. Installing things from memory can get you into trouble.

After writing the mail, read my notes and found the error...

A simple
cp /usr/src/linux-headers-$(uname -r)/include/linux/compiler.h
/usr/local/src/v4l-dvb/linux/include/linux/
or
cp /usr/src/linux-headers-$(uname -r)/include/linux/compiler.h
/usr/local/src/s2-liplianin/linux/include/linux/

solves it.

Sorry for that.

Now i'm having another error:

etype2 -I/usr/local/src/s2-liplianin/linux/include tools.c
tools.c: In member function âssize_t cUnbufferedFile::Write(const
void*, size_t)â:
tools.c:1611: error: no matching function for call to âmin(long
unsigned int, off_t)â
make: *** [tools.o] Error 1

It seems to be caused by s2-liplianin drivers.

Gonna try v4l-dvb. BTW, which repo is most up-to-date concerning
S2-3200 card? v4l-dvb or s2-liplianin?

Thanks.



More information about the vdr mailing list