v4l2 for 2.4.x kernels replaces videodev.h so that kernel no long er compiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



v4l2 for 2.4.x kernels replaces videodev.h so that my kernel wont compile
anymore (either patched with new 2.6.0 i2c or not)

sorry for my bloathed ignorance but may I ask whether this is by design ?
and for my curiosity why so ? *maybe for v4l2 drivers to compile against it
?*

tested with 2.4.3, 2.4.4 and 2.4.5 kernel sources
the modules works all right, tested with bttv2 25062001 tough, after make
install, I cannot compile kernel again with the new videodev.h,
this is what i get:

make modules
.....
make -C video modules
make[3]: Entering directory `/usr/src/linux-2.4.5/drivers/media/video'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.5/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-c
videodev.c: In function `video_open':
videodev.c:171: structure has no member named `owner'
videodev.c:172: structure has no member named `owner'
videodev.c:172: structure has no member named `owner'
videodev.c:172: warning: value computed is not used
videodev.c:181: structure has no member named `owner'
videodev.c:182: structure has no member named `owner'
videodev.c:182: structure has no member named `owner'
videodev.c:182: warning: value computed is not used
videodev.c: In function `video_release':
videodev.c:205: structure has no member named `owner'
videodev.c:206: structure has no member named `owner'
videodev.c:206: structure has no member named `owner'
videodev.c:206: warning: value computed is not used
videodev.c: At top level:
videodev.c:436: conflicting types for `video_register_device_Recfe1c4b'
/usr/src/linux-2.4.5/include/linux/videodev.h:1324: previous declaration of
`video_register_device_Recfe1c4b'
videodev.c:564: warning: static declaration for `videodev_init' follows
non-static
make[3]: *** [videodev.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.5/drivers/media/video'
make[2]: *** [_modsubdir_video] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.5/drivers/media'
make[1]: *** [_modsubdir_media] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.5/drivers'
make: *** [_mod_drivers] Error 2


btw gcc is
gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)

any clarification will be appreciated

Michele Slocovich





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux