[pvrusb2] compile error with 2.6.15-1-686 (debian)

Mike Isely isely at isely.net
Mon Apr 10 13:47:50 CDT 2006


yOn Mon, 10 Apr 2006, Matt Bachmann wrote:

> I am having troubles compiling this with the 2.6.16-1-686 kernel. It
> is the newest snapshot. Here is my error.
>
> make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.16-1-686/build
> M=/root/pvrusb2-mci-20060329/driver CONFIG_VIDEO_PVRUSB2=m modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.16-1-686'
>  CC [M]  /root/pvrusb2-mci-20060329/driver/pvrusb2-audio.o
> In file included from /root/pvrusb2-mci-20060329/driver/pvrusb2-audio.c:35:
> include/media/v4l2-common.h:124: error: redefinition of ?
> make[2]: *** [/root/pvrusb2-mci-20060329/driver/pvrusb2-audio.o] Error 1
> make[1]: *** [_module_/root/pvrusb2-mci-20060329/driver] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.16-1-686'
> make: *** [modules] Error 2
>
> Now I have done some looking around and the best advice I have seen is
> to get a kernel from kernel.org (kernels.org?) and build it myself.
> However I am using debian(the advice was given to a fc5 user) so I was
> wondering if there was any other options.
>
> Now I have gotten the thing to compile and run on the 2.6.15-1-686
> kernel (worked great, although it was an older snapshot) However I
> have recently done a reinstall and now cant seem to even find header
> files for that kernel (i dont know why)
>
> any ideas?

I actually do my build / testing with Debian, using vanilla kernels.  I 
can't vouch for the Debian'ized kernels, however it was my (perhaps wrong) 
understanding that Debian kernels have minimal changes from the vanilla 
versions.

I would still recommend you try a vanilla kernel.  It's actually made 
easier with Debian.  There's a Debian package called kernel-package that 
you can install; it is a tool that you can use to compile any vanilla 
kernel tree into a nicely bound up Debian kernel package.  Then you can 
install that anywhere, same as any other package.  In fact, I think this 
is the same package used by the kernel package maintainer in Debian.  Give 
it a try.

   -Mike


-- 
                         |         Mike Isely          |     PGP fingerprint
      Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                         |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                         |                             |


More information about the pvrusb2 mailing list