The issue seems to be that the 32bit ioctl compatibility handling was moved to the main v4l2 layer and drivers themselves should not include code for this feature. I've pushed a fix out to the prepare-for-kernel branch that removes this and should allow compilation on 2.6.29 64bit systems.
Note: because i noticed a slight goof were i had some of the patches in that branch applied twice with the second set being empty patches. I've deleted and re-pushed a corrected version of the prepare-for-kernel branch. If you were tracking this one you should probably delete your local copy and re-track the remote to make sure you are in-sync. On Fri, May 1, 2009 at 11:42 AM, Josua Grawitter <[email protected]> wrote: > Am Freitag 01 Mai 2009 17:34:18 schrieb Martin Herrman: >> All, >> >> I'm running gentoo with a custom compiled 2.6.29.2 kernel. I get the >> following error: >> >> mar...@martindesktop ~/microdia $ make clean >> make -C /lib/modules/2.6.29.2/build SUBDIRS=/home/martin/microdia clean >> make[1]: Entering directory `/usr/src/linux-2.6.29.2' >> CLEAN /home/martin/microdia/.tmp_versions >> make[1]: Leaving directory `/usr/src/linux-2.6.29.2' >> mar...@martindesktop ~/microdia $ make >> make -C /lib/modules/2.6.29.2/build SUBDIRS=/home/martin/microdia modules >> make[1]: Entering directory `/usr/src/linux-2.6.29.2' >> CC [M] /home/martin/microdia/sn9c20x-usb.o >> CC [M] /home/martin/microdia/sn9c20x-v4l2.o >> /home/martin/microdia/sn9c20x-v4l2.c:1497: error: unknown field >> ‘compat_ioctl’ specified in initializer >> /home/martin/microdia/sn9c20x-v4l2.c:1497: error: ‘v4l_compat_ioctl32’ >> undeclared here (not in a function) >> make[2]: *** [/home/martin/microdia/sn9c20x-v4l2.o] Error 1 >> make[1]: *** [_module_/home/martin/microdia] Error 2 >> make[1]: Leaving directory `/usr/src/linux-2.6.29.2' >> make: *** [driver] Error 2 >> >> Kernel headers are installed, I also emerged libv4l succesfully. I have >> compiled the v4l v1 compatibility with my kernel. >> >> What's going wrong, any ideas? >> >> Thanks in advance, >> >> Martin >> >> > > I had the same problem when I briefly tested 2.629 on my x86_64 machine. > Since > 2.6.29 hated me and my machine very much I could not find the source of this > complication. > > Anyone who already uses 2.6.29? > > GWater > --~--~---------~--~----~------------~-------~--~----~ Lets make microdia webcams plug'n play, (currently plug'n pray) To post to this group, send email to [email protected] Visit us online https://groups.google.com/group/microdia -~----------~----~----~----~------~----~------~--~---
