Re: V4L hg tree fails to compile against kernel 2.6.28

2010-08-25 Thread Jan Hoogenraad
Thanks for your help. I pulled the code Actually, now the function definition in compat.h causes a compilation error: see first text below. I fixed that by inserting #include linux/err.h at line 38 in compat.h in my local branch After that, compilation succeeds. Now, the device will not

Re: V4L hg tree fails to compile against kernel 2.6.28

2010-08-25 Thread Douglas Schilling Landgraf
Hello Jan, On Wed, Aug 25, 2010 at 3:26 AM, Jan Hoogenraad jan-conceptro...@hoogenraad.net wrote: Thanks for your help. I pulled the code Actually, now the function definition in compat.h causes a compilation error: see first text below. I fixed that by inserting #include linux/err.h at

Re: V4L hg tree fails to compile against kernel 2.6.28

2010-08-25 Thread Jan Hoogenraad
__kmalloc_track_caller is not avaiable in 2.6.28-19-generic #62-Ubuntu which just passes your cut at 2.6.26. Apparently, the code __kmalloc_track_caller is in the source archive for 2.6.28, but the kernel options were not such that the symbol is available. My guess is that it was changed in

V4L hg tree fails to compile against kernel 2.6.28

2010-08-24 Thread Jan Hoogenraad
Douglas: On compiling with Linux 2.6.28-19-generic #62-Ubuntu I now get: dvb_demux.c: In function 'dvbdmx_write': dvb_demux.c:1137: error: implicit declaration of function 'memdup_user' dvb_demux.c:1137: warning: assignment makes pointer from integer without a cast This is probably due to

Re: V4L hg tree fails to compile against kernel 2.6.28

2010-08-24 Thread Douglas Schilling Landgraf
Hello Jan, On Tue, Aug 24, 2010 at 5:04 PM, Jan Hoogenraad jan-conceptro...@hoogenraad.net wrote: Douglas: On compiling with  Linux  2.6.28-19-generic #62-Ubuntu I now get: dvb_demux.c: In function 'dvbdmx_write': dvb_demux.c:1137: error: implicit declaration of function 'memdup_user'

Re: V4L hg tree fails to compile against kernel 2.6.28

2010-08-24 Thread Douglas Schilling Landgraf
Hi, On Tue, Aug 24, 2010 at 11:45 PM, Douglas Schilling Landgraf dougsl...@gmail.com wrote: Hello Jan, On Tue, Aug 24, 2010 at 5:04 PM, Jan Hoogenraad jan-conceptro...@hoogenraad.net wrote: Douglas: On compiling with  Linux  2.6.28-19-generic #62-Ubuntu I now get: dvb_demux.c: In