From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <49D8F5FB.8050805@altlinux.ru> Date: Sun, 05 Apr 2009 22:18:35 +0400 From: Michail Yakushin User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: hardware@lists.altlinux.org References: <4c23cefe0904041255w73d7129fq2099a828cf58b11@mail.gmail.com> In-Reply-To: <4c23cefe0904041255w73d7129fq2099a828cf58b11@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Hardware] =?utf-8?b?0JTRgNCw0LnQstC10YAg0LTQu9GPIEdlbml1cyBMb29r?= =?utf-8?q?_320S?= X-BeenThere: hardware@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: hardware@lists.altlinux.org List-Id: ALT Linux hardware support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2009 18:18:21 -0000 Archived-At: List-Archive: List-Post: egorov_stas wrote: > Приветствую, > > Хотел завести сам эту камеру, но не могу собрать драйвер от > Microdia(sn9c20x) под ядро 2.6.25(сама система: ALT Linux Desktop > 4.0+ядро и gcc из 4.1 Desktop). Кто сможет помочь с решением данной > проблемы? > > Привожу логи: > > /home/rs/src/microdia/sn9c20x.h:57:1: warning: "V4L2_CID_EXPOSURE_AUTO" > redefined > In file included from include/media/v4l2-dev.h:17, > from include/media/v4l2-common.h:29, > from /home/rs/src/microdia/sn9c20x.h:33, > from /home/rs/src/microdia/sn9c20x-v4l2.c:38: > include/linux/videodev2.h:1091:1: warning: this is the location of the > previous definition > /home/rs/src/microdia/sn9c20x-v4l2.c: In function ‘v4l_sn9c20x_ioctl’: > /home/rs/src/microdia/sn9c20x-v4l2.c:1350: error: implicit declaration > of function ‘video_ioctl2’ > /home/rs/src/microdia/sn9c20x-v4l2.c: In function > ‘v4l_sn9c20x_register_video_device’: > /home/rs/src/microdia/sn9c20x-v4l2.c:1399: error: incompatible types in > assignment > /home/rs/src/microdia/sn9c20x-v4l2.c:1400: error: ‘struct video_device’ > has no member named ‘owner’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: ‘struct video_device’ > has no member named ‘type’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: ‘VID_TYPE_CAPTURE’ > undeclared (first use in this function) > /home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: (Each undeclared > identifier is reported only once > /home/rs/src/microdia/sn9c20x-v4l2.c:1401: error: for each function it > appears in.) > /home/rs/src/microdia/sn9c20x-v4l2.c:1412: error: ‘V4L2_DEBUG_IOCTL_ARG’ > undeclared (first use in this function) > /home/rs/src/microdia/sn9c20x-v4l2.c:1415: error: ‘struct video_device’ > has no member named ‘vidioc_querycap’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1416: error: ‘struct video_device’ > has no member named ‘vidioc_enum_fmt_cap’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1417: error: ‘struct video_device’ > has no member named ‘vidioc_try_fmt_cap’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1418: error: ‘struct video_device’ > has no member named ‘vidioc_s_fmt_cap’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1419: error: ‘struct video_device’ > has no member named ‘vidioc_g_fmt_cap’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1420: error: ‘struct video_device’ > has no member named ‘vidioc_enum_input’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1421: error: ‘struct video_device’ > has no member named ‘vidioc_g_input’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1422: error: ‘struct video_device’ > has no member named ‘vidioc_s_input’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1423: error: ‘struct video_device’ > has no member named ‘vidioc_streamon’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1424: error: ‘struct video_device’ > has no member named ‘vidioc_streamoff’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1425: error: ‘struct video_device’ > has no member named ‘vidioc_queryctrl’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1426: error: ‘struct video_device’ > has no member named ‘vidioc_g_ctrl’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1427: error: ‘struct video_device’ > has no member named ‘vidioc_s_ctrl’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1428: error: ‘struct video_device’ > has no member named ‘vidioc_g_parm’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1429: error: ‘struct video_device’ > has no member named ‘vidioc_s_parm’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1430: error: ‘struct video_device’ > has no member named ‘vidioc_reqbufs’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1431: error: ‘struct video_device’ > has no member named ‘vidioc_qbuf’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1432: error: ‘struct video_device’ > has no member named ‘vidioc_dqbuf’ > /home/rs/src/microdia/sn9c20x-v4l2.c:1433: error: ‘struct video_device’ > has no member named ‘vidioc_querybuf’ > make[2]: *** [/home/rs/src/microdia/sn9c20x-v4l2.o] Error 1 > make[1]: *** [_module_/home/rs/src/microdia] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.25-std-def-alt8.M41.4' > make: *** [driver] Error 2 > > Этот драйвер нормально собрался под Федорой с ядром 2.6.25. А тут что-то > не получается. Возможно это из-за нового V4L в нашем ядре. А поробуйте откопать в архивах версию M41.1 .