Hi,

I tried to build em28xx-new with 2.6.28-rc5. The build failed because
the linux/media/v4l2-dev.h no longer contains the MINOR_VFL_TYPE_GRABBER_MIN
and MINOR_VFL_TYPE_VBI_MIN defines.

http://www.linuxhq.com/kernel/v2.6/28-rc2/include/media/v4l2-dev.h


$ make

running ./build.sh build

make[1]: Entering directory `/usr/src/mcentral.de/em28xx-new'
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[2]: Entering directory `/usr/src/linux-2.6.28-rc5'
  CC [M]  /usr/src/mcentral.de/em28xx-new/em2880-dvb.o
  CC [M]  /usr/src/mcentral.de/em28xx-new/em28xx-video.o
/usr/src/mcentral.de/em28xx-new/em28xx-video.c: In function 
'em28xx_release_resources':
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:826: error: 
'MINOR_VFL_TYPE_GRABBER_MIN' undeclared (first use in this function)
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:826: error: (Each undeclared 
identifier is reported only once
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:826: error: for each function it 
appears in.)
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:830: error: 
'MINOR_VFL_TYPE_VBI_MIN' undeclared (first use in this function)
/usr/src/mcentral.de/em28xx-new/em28xx-video.c: In function 
'em28xx_stream_interrupt':
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:1535: error: 
'MINOR_VFL_TYPE_GRABBER_MIN' undeclared (first use in this function)
/usr/src/mcentral.de/em28xx-new/em28xx-video.c: In function 'em28xx_do_ioctl':
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:2386: warning: passing argument 
1 of 'v4l_compat_translate_ioctl' from incompatible pointer type
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:2386: warning: passing argument 
2 of 'v4l_compat_translate_ioctl' makes integer from pointer without a cast
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:2386: warning: passing argument 
3 of 'v4l_compat_translate_ioctl' makes pointer from integer without a cast
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:2386: error: too many arguments 
to function 'v4l_compat_translate_ioctl'
/usr/src/mcentral.de/em28xx-new/em28xx-video.c: In function 
'em28xx_video_do_ioctl':
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:2832: warning: passing argument 
6 of 'em28xx_do_ioctl' from incompatible pointer type
/usr/src/mcentral.de/em28xx-new/em28xx-video.c: In function 'em28xx_init_dev':
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:3268: error: 
'MINOR_VFL_TYPE_VBI_MIN' undeclared (first use in this function)
/usr/src/mcentral.de/em28xx-new/em28xx-video.c:3272: error: 
'MINOR_VFL_TYPE_GRABBER_MIN' undeclared (first use in this function)
make[3]: *** [/usr/src/mcentral.de/em28xx-new/em28xx-video.o] Error 1
make[2]: *** [_module_/usr/src/mcentral.de/em28xx-new] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.28-rc5'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/mcentral.de/em28xx-new'


Regards,

        Márton Németh

_______________________________________________
Em28xx mailing list
[email protected]
http://mcentral.de/mailman/listinfo/em28xx

Reply via email to