Hi everybody, the attached file is the result of trying to compile videodev2_280700.tgz (bttv-v4l2) under a 2.4.0test8 kenel, that failed. Does anybody have any ideas/experience? Thanks in advance, Iñaki
DIR=`pwd`; (cd /usr/src/linux; make SUBDIRS=$DIR modules) make[1]: Entering directory `/usr/src/linux-2.4.0-test8' make -C /home/garetxe/tmp/videodev2 CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.0-test8/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686 -fno-strict-aliasing -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.0-test8/include/linux/modversions.h" MAKING_MODULES=1 modules make[2]: Entering directory `/home/garetxe/tmp/videodev2' gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test8/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686 -fno-strict-aliasing -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.0-test8/include/linux/modversions.h -c -o videodev2.o videodev2.c videodev2.c: In function `video_mmap': videodev2.c:262: structure has no member named `vm_offset' videodev2.c:269: structure has no member named `vm_offset' videodev2.c: In function `free_wait': videodev2.c:534: structure has no member named `entry' videodev2.c:534: structure has no member named `nr' videodev2.c:535: structure has no member named `nr' videodev2.c:536: structure has no member named `nr' videodev2.c:537: decrement of pointer to unknown structure videodev2.c:537: arithmetic on pointer to an incomplete type videodev2.c:538: dereferencing pointer to incomplete type videodev2.c:538: dereferencing pointer to incomplete type videodev2.c:539: dereferencing pointer to incomplete type videodev2.c:542: structure has no member named `next' videodev2.c: In function `my_do_select': videodev2.c:559: structure has no member named `nr' videodev2.c:560: structure has no member named `entry' videodev2.c:561: structure has no member named `next' videodev2.c: At top level: videodev2.c:1418: warning: initialization from incompatible pointer type videodev2.c:1427: warning: initialization from incompatible pointer type videodev2.c:1428: warning: initialization from incompatible pointer type videodev2.c:1429: warning: initialization from incompatible pointer type videodev2.c:1431: warning: initialization from incompatible pointer type videodev2.c:1432: warning: initialization from incompatible pointer type videodev2.c:1433: warning: initialization from incompatible pointer type videodev2.c:1434: warning: initialization from incompatible pointer type videodev2.c:1439: warning: initialization from incompatible pointer type videodev2.c: In function `videodev_init': videodev2.c:1461: warning: implicit declaration of function `proc_register' videodev2.c: In function `cleanup_module': videodev2.c:1477: warning: implicit declaration of function `proc_unregister' videodev2.c: In function `v4l2_vmalloc_to_page': videodev2.c:1575: warning: return makes integer from pointer without a cast make[2]: *** [videodev2.o] Error 1 make[2]: Leaving directory `/home/garetxe/tmp/videodev2' make[1]: *** [_mod_/home/garetxe/tmp/videodev2] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.0-test8' make: *** [here] Error 2