On Thu, 27 Jun 2002, Bernardo Motta wrote: > I have, > > - a clean kernel 2.4.17 compiled with i2c, v4l and bttv support > > (all compiled as modules) > > - Gerd's patches downloaded from bytesex.org/patches > > - Gerd's driver bttv-0.8.33, also downloaded from his site > > Here's what I've done: > > 1. Compiled 2.4.17 kernel & modules, and rebooted with them Whoa.... you need to do steps 2,3,4,5 before you do step 1. That's your problem :). Otherwise you only have the original routines in your kernel, so even if you manage to make bttv, you'll still have linking and module loading problems. You should use 2.4.18 instead of 2.4.17 for the patches to apply cleanly. They should work for 2.4.19preX also. > > (yes, yes, all the symbolic links to the kernel tree are OK) > > 2. Downloaded "videodev-2.4.18.diff.txt" into /usr/src > > 3. Downloaded "v4l2-01-add-api-2.4.19-pre8.diff.gz" into /usr/src/linux > > 4. Applied patch "videodev-2.4.18.diff.txt" by doing: > > "patch -p0 < videodev-2.4.18.diff.txt" on /usr/src > > 5. Applied patch "v4l2-01-add-api-2.4.19-pre8.diff.gz" by doing: > > "patch -p1 < v4l2-01-add-api-2.4.19-pre8.diff.gz" on /usr/src/linux > > (a bit strange, but it seems to only work this way, otherwise I get "file > not found errors") > > 6. The patches went well, then I compiled bttv-0.8.33 with "make". It broke > on file > > "bttv-driver.c" with that well-known error of "video_generic_ioctl > undeclared...". > T.C. ---- Wan Tat Chee (Lecturer) School of Computer Science, Univ. Science Malaysia, 11800 Minden, Penang, Malaysia. Ofc Ph: +604 657-7888 x 3617 Internet: tcwan@xxxxxxxxx Web: http://nrg.cs.usm.my/~tcwan GPG Key : http://nrg.cs.usm.my/~tcwan/tcw_gpg.asc F'print : FB0F CED7 85A5 ECF9 DEF0 50E8 A550 A0D2 8638 B1EB