Приветствую,<br><br>Хотел завести сам эту камеру, но не могу собрать драйвер от Microdia(sn9c20x) под ядро 2.6.25(сама система: ALT Linux Desktop 4.0+ядро и gcc из 4.1 Desktop). Кто сможет помочь с решением данной проблемы?<br>
<br>Привожу логи:<br><br>/home/rs/src/microdia/sn9c20x.h:57:1: warning: "V4L2_CID_EXPOSURE_AUTO" redefined<br>In file included from include/media/v4l2-dev.h:17,<br> from include/media/v4l2-common.h:29,<br>
from /home/rs/src/microdia/sn9c20x.h:33,<br> from /home/rs/src/microdia/sn9c20x-v4l2.c:38:<br>include/linux/videodev2.h:1091:1: warning: this is the location of the previous definition<br>
/home/rs/src/microdia/sn9c20x-v4l2.c: In function ‘v4l_sn9c20x_ioctl’:<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1350: error: implicit declaration of function ‘video_ioctl2’<br>/home/rs/src/microdia/sn9c20x-v4l2.c: In function ‘v4l_sn9c20x_register_video_device’:<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1399: error: incompatible types in assignment<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1400: error: ‘struct video_device’ has no member named ‘owner’<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: ‘struct video_device’ has no member named ‘type’<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: ‘VID_TYPE_CAPTURE’ undeclared (first use in this function)<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: (Each undeclared identifier is reported only once<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: for each function it appears in.)<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1412: error: ‘V4L2_DEBUG_IOCTL_ARG’ undeclared (first use in this function)<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1415: error: ‘struct video_device’ has no member named ‘vidioc_querycap’<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1416: error: ‘struct video_device’ has no member named ‘vidioc_enum_fmt_cap’<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1417: error: ‘struct video_device’ has no member named ‘vidioc_try_fmt_cap’<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1418: error: ‘struct video_device’ has no member named ‘vidioc_s_fmt_cap’<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1419: error: ‘struct video_device’ has no member named ‘vidioc_g_fmt_cap’<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1420: error: ‘struct video_device’ has no member named ‘vidioc_enum_input’<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1421: error: ‘struct video_device’ has no member named ‘vidioc_g_input’<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1422: error: ‘struct video_device’ has no member named ‘vidioc_s_input’<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1423: error: ‘struct video_device’ has no member named ‘vidioc_streamon’<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1424: error: ‘struct video_device’ has no member named ‘vidioc_streamoff’<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1425: error: ‘struct video_device’ has no member named ‘vidioc_queryctrl’<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1426: error: ‘struct video_device’ has no member named ‘vidioc_g_ctrl’<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1427: error: ‘struct video_device’ has no member named ‘vidioc_s_ctrl’<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1428: error: ‘struct video_device’ has no member named ‘vidioc_g_parm’<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1429: error: ‘struct video_device’ has no member named ‘vidioc_s_parm’<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1430: error: ‘struct video_device’ has no member named ‘vidioc_reqbufs’<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1431: error: ‘struct video_device’ has no member named ‘vidioc_qbuf’<br>
/home/rs/src/microdia/sn9c20x-v4l2.c:1432: error: ‘struct video_device’ has no member named ‘vidioc_dqbuf’<br>/home/rs/src/microdia/sn9c20x-v4l2.c:1433: error: ‘struct video_device’ has no member named ‘vidioc_querybuf’<br>
make[2]: *** [/home/rs/src/microdia/sn9c20x-v4l2.o] Error 1<br>make[1]: *** [_module_/home/rs/src/microdia] Error 2<br>make[1]: Leaving directory `/usr/src/linux-2.6.25-std-def-alt8.M41.4'<br>make: *** [driver] Error 2<br clear="all">
<br>Этот драйвер нормально собрался под Федорой с ядром 2.6.25. А тут что-то не получается.<br><br>-- <br>Stanislav Egorov<br>Cisco Systems, Inc.<br>Cell: +79276230169<br>ICQ: 270805968<br>