Hi, On 04/04/2010 08:47 PM, rath wrote:
Hi, I have a 2.6.29 kernel for my embedded ARM system. I need an newer gspca driver, so I downloaded the gspca driver from http://linuxtv.org/hg/~hgoede/gspca/ an copied the content of the linux folder to my 2.6.29 source tree and tried to cross compile it. But I get the error "drivers/media/IR/irfunctions.c:27:20: error: compat.h: No such file or directory". Where can I find the missing file and where I have to put it in my linux tree? Do you have some other ideas to cross compile the gspca driver?
The hg v4l-dvb trees are meant for out of tree compilation (this means your v4l subsystem must be compiled modular). You will want to not use my tree, but use the latest generic tree: hg clone http://linuxtv.org/hg/v4l-dvb/ Then simply compile that tree (this will need the headers of your 2.6.29 kernel in the usual place): cd v4l-dvb make menuconfig make sudo make install And then reboot, now you will be using your 2.9.29 kernel with a fully up2date v4l-dvb subsystem. Regards, Hans -- 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