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: /usr/local/src/s2-liplianin/linux/include/linux/videodev2.h:560: error: field '__user' has incomplete type /usr/local/src/s2-liplianin/linux/include/linux/videodev2.h:560: error: expected ';' before '*' token /usr/local/src/s2-liplianin/linux/include/linux/videodev2.h:567: error: expected ';' before '*' token /usr/local/src/s2-liplianin/linux/include/linux/videodev2.h:569: error: variable or field '__user' declared void /usr/local/src/s2-liplianin/linux/include/linux/videodev2.h:569: error: expected ';' before '*' token In file included from dvbdevice.c:13: /usr/local/src/s2-liplianin/linux/include/linux/videodev.h:148: error: expected ';' before '*' token In file included from dvbdevice.c:17: /usr/local/src/s2-liplianin/linux/include/linux/dvb/video.h:162: error: expected ';' before '*' token /usr/local/src/s2-liplianin/linux/include/linux/dvb/video.h:195: error: expected ';' before '*' token dvbdevice.c: In member function 'virtual void cDvbDevice::StillPicture(const uchar*, int)': dvbdevice.c:1299: error: too many initializers for 'video_still_picture' dvbdevice.c:1299: error: invalid conversion from 'char*' to 'int32_t' dvbdevice.c:1305: error: too many initializers for 'video_still_picture' dvbdevice.c:1305: error: invalid conversion from 'char*' to 'int32_t' make: *** [dvbdevice.o] Error 1
Same error happens with s2-liplianin *and* v4l-dvb, with latest revisions.
Tried googling for it, but no solution...
Any thoughts?
Thanks
On Wed, Jan 14, 2009 at 3:41 PM, Chris Silva 2manybills@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
On Thu, Jan 15, 2009 at 12:45 AM, user. vdr user.vdr@gmail.com wrote:
On Wed, Jan 14, 2009 at 3:41 PM, Chris Silva 2manybills@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.
On Thu, Jan 15, 2009 at 2:50 AM, Chris Silva 2manybills@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.
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