On May 26, 2011, at 10:25 AM, Jerry Geis wrote: ... >>> Is there a way I can just compile the linux/drivers/media/video/uvc ? >>> >> >> Edit the .config file, disable anything you don't want to build. >> >> >>> thats all I need. How do I do that? >>> >> >> Another option you can try is something along the lines of this: >> >> cd linux/drivers/media/video/uvc >> make -C /lib/modules/2.6.18-194.32.1.el5/build M=$PWD modules >> >> No guarantees that won't fail miserably though. >> >> Backporting newer drivers to older kernels often takes a fair bit of >> effort and subject matter expertise -- especially when the kernel base >> is as ancient as the one you're targeting. There's a reason media_build >> doesn't support anything that old. :) >> >> > I am trying your suggestion. with the "make -C" when I do this I get errors about > include files not found. I was trying to specify "-I path/v4l -I path/linux/include" on the make line > but it still does not find the compat.h and linux/usb.video.h Those probably need to be made relative to linux/drivers/media/video/uvc/. > Your correct, my machines 5.6 and I was compiling on 5.5 machine. Yeah, I'm quite familiar with the EL5 kernel. Just take a look at the kernel rpm changelog entries. :) -- Jarod Wilson jarod@xxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html