vine-users ML アーカイブ



[vine-users:082091] Re: kinoのインストールエラー

  • From: 野宮 賢 / NOMIYA Masaru <nomiya@xxxxxxxxxxxxxxxx>
  • Subject: [vine-users:082091] Re: kinoのインストールエラー
  • Date: Sun, 23 Sep 2012 12:06:49 +0900
野宮です.

In the Message; 

  Subject    : [vine-users:082089] Re: kinoのインストールエラー
  Message-ID : <505E69A9.1070803@xxxxxxxxx>
  Date & Time: Sun, 23 Sep 2012 10:45:13 +0900

Akihiko Sano <aki-sano@xxxxxxxxx> has written:

[...]
    -D_FILE_OFFSET_BITS=64 -DKINO_PLUGINDIR=\""/usr/lib/kino-gtk2"\" -DDATADIR=\""/usr/share"\" -D_REENTRANT -D__STDC_CONSTANT_MACROS    -O2 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing -fno-schedule-insns2 -c -o page_editor.o page_editor.cc
> In file included from page_bttv.h:30,
>                  from kino_common.cc:54:
> v4l.h:43:28: error: linux/videodev.h: No such file or directory
> In file included from page_bttv.h:30,
>                  from kino_common.cc:54:
> v4l.h:75: error: field 'capability' has incomplete type
> v4l.h:103: error: field 'tuner' has incomplete type
> v4l.h:124: error: field 'channel' has incomplete type
> v4l.h:152: error: field 'frame' has incomplete type
> make[3]: *** [kino_common.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory `/var/tmp/self-build-kino.bWEQaH/rpm/BUILD/kino-1.3.4/src'
[...]

ソースに

--- ffmpeg/libavdevice/v4l.c.orig
+++ ffmpeg/libavdevice/v4l.c
@@ -26,7 +26,7 @@
 #include <sys/mman.h>
 #include <sys/time.h>
 #define _LINUX_TIME_H 1
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
 #include <time.h>
 
 typedef struct {

--- src/v4l.h.orig
+++ src/v4l.h
@@ -40,7 +40,7 @@ using std::deque;
 
 #define _DEVICE_H_
 #define _LINUX_TIME_H
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
 
 #include "displayer.h"

というパッチを当てなければビルド出来ないと思いますが.

---
┏━━┓彡 野宮  賢             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ 「eメールや携帯電話に縛られた社会は、自分自身と向き合ったり、
         空想にふけったりする自由を奪う。」
                                                  -- M. Crichton --
_______________________________________________
vine-users mailing list
vine-users@xxxxxxxxxxxxxxxxxxxx
http://listserv.linux.or.jp/mailman/listinfo/vine-users