Hello, Fabio Venturi wrote: > Hello, > I'm trying to build the modules from a fresh hg cloned em28xx-new. > I'm using kernel 2.6.28-rc8 and the error is: > > > @ryuk:[/usr/src/modules/em28xx-new] > [fabio]:$ ./build.sh build > rm -rf Module.symvers; > make -C /lib/modules/`if [ -d /lib/modules/2.6.21.4-eeepc ]; then echo > 2.6.21.4-eeepc; else uname -r; fi`/build SUBDIRS=`pwd` modules > make[1]: Entering directory `/usr/src/linux-2.6.28-rc8' > CC [M] /usr/src/modules/em28xx-new/em28xx-video.o > /usr/src/modules/em28xx-new/em28xx-video.c: In function > ‘em28xx_release_resources’: > /usr/src/modules/em28xx-new/em28xx-video.c:826: error: > ‘MINOR_VFL_TYPE_GRABBER_MIN’ undeclared (first use in this function) > /usr/src/modules/em28xx-new/em28xx-video.c:826: error: (Each undeclared > identifier is reported only once > /usr/src/modules/em28xx-new/em28xx-video.c:826: error: for each function it > appears in.) > /usr/src/modules/em28xx-new/em28xx-video.c:830: error: > ‘MINOR_VFL_TYPE_VBI_MIN’ undeclared (first use in this function) > /usr/src/modules/em28xx-new/em28xx-video.c: In function > ‘em28xx_stream_interrupt’: > /usr/src/modules/em28xx-new/em28xx-video.c:1535: error: > ‘MINOR_VFL_TYPE_GRABBER_MIN’ undeclared (first use in this function) > /usr/src/modules/em28xx-new/em28xx-video.c: In function ‘em28xx_do_ioctl’: > /usr/src/modules/em28xx-new/em28xx-video.c:2386: warning: passing argument 1 > of ‘v4l_compat_translate_ioctl’ from incompatible pointer type > /usr/src/modules/em28xx-new/em28xx-video.c:2386: warning: passing argument 2 > of ‘v4l_compat_translate_ioctl’ makes integer from pointer without a cast > /usr/src/modules/em28xx-new/em28xx-video.c:2386: warning: passing argument 3 > of ‘v4l_compat_translate_ioctl’ makes pointer from integer without a cast > /usr/src/modules/em28xx-new/em28xx-video.c:2386: error: too many arguments to > function ‘v4l_compat_translate_ioctl’ > /usr/src/modules/em28xx-new/em28xx-video.c: In function > ‘em28xx_video_do_ioctl’: > /usr/src/modules/em28xx-new/em28xx-video.c:2832: warning: passing argument 6 > of ‘em28xx_do_ioctl’ from incompatible pointer type > /usr/src/modules/em28xx-new/em28xx-video.c: In function ‘em28xx_init_dev’: > /usr/src/modules/em28xx-new/em28xx-video.c:3268: error: > ‘MINOR_VFL_TYPE_VBI_MIN’ undeclared (first use in this function) > /usr/src/modules/em28xx-new/em28xx-video.c:3272: error: > ‘MINOR_VFL_TYPE_GRABBER_MIN’ undeclared (first use in this function) > make[2]: *** [/usr/src/modules/em28xx-new/em28xx-video.o] Error 1 > make[1]: *** [_module_/usr/src/modules/em28xx-new] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.28-rc8' > make: *** [default] Error 2 > > Is 2.6.28 release candidate 8 supported? > Thank you and happy holidays.
The latest kernel is 2.6.27 which is supported by em28xx-new. See also http://mcentral.de/pipermail/em28xx/2008-November/002155.html . Regards, Márton Németh _______________________________________________ Em28xx mailing list Em28xx@mcentral.de http://mcentral.de/mailman/listinfo/em28xx