Re: [vdr] Can't compile VDR

2009-01-14 Thread user . vdr
On Wed, Jan 14, 2009 at 3:41 PM, Chris Silva 2manybi...@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

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Can't compile VDR

2009-01-14 Thread Chris Silva
On Thu, Jan 15, 2009 at 12:45 AM, user. vdr user@gmail.com wrote:
 On Wed, Jan 14, 2009 at 3:41 PM, Chris Silva 2manybi...@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.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Can't compile VDR

2009-01-14 Thread Chris Silva
On Thu, Jan 15, 2009 at 2:50 AM, Chris Silva 2manybi...@gmail.com wrote:


 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.


Well... VDR 1.7.0 compiles against v4l-dvb. VDR 1.7.3 still gives the
error above.

Any help is welcome.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Can't compile VDR

2009-01-14 Thread Ales Jurik
On Thursday 15 of January 2009, Chris Silva wrote:
 Hi.

 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:

Hi

try with kernel headers installed in /usr/src/linux (or linked there):

cd  /usr/local/src/s2-liplianin/linux/include/linux
ln -s /usr/src/linux/include/linux/compiler.h compiler.h

BR,

Ales

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr