vine-users ML アーカイブ



[vine-users:079323] (X)randr.h の RRNotify について

  • From: Yasufumi Haga <yasufumi.haga@xxxxxxxxx>
  • Subject: [vine-users:079323] (X)randr.h の RRNotify について
  • Date: Tue, 5 May 2009 15:34:17 +0900
芳賀です。
Vine 4.2 を使っています。

E17 <http://web.enlightenment.org/> の EFL を構築中に、ecore という
ライブラリで以下のエラーが出ました。

ecore_x.c: In function `ecore_x_init':
ecore_x.c:284: error: `RRNotify' undeclared (first use in this function)
ecore_x.c:284: error: (Each undeclared identifier is reported only once
ecore_x.c:284: error: for each function it appears in.)
make[5]: *** [ecore_x.lo] エラー 1

調べたところ、RRNotify は randr.h とかで定義されているらしく、
Xrandr.h が randr.h をインクルードしているようで、
ecore のソースを見ると、

$ grep -r -i randr.h *
xcb/ecore_xcb_private.h:# include <xcb/randr.h>
xcb/.svn/text-base/ecore_xcb_private.h.svn-base:# include <xcb/randr.h>
xlib/ecore_x_private.h:#include <X11/extensions/Xrandr.h> <--- これ

$ grep ecore_x_private.h xlib/ecore_x.c
#include "ecore_x_private.h"

たしかにインクルードされています。しかし私が使っている Vine 4.2 の
Xrandr.h にも randr.h にも RRNotify は定義されていないようです。

このエラーに対処するには、Xorg のバージョンアップが必要でしょうか、ある
いは、なんらかの回避策があるでしょうか。

  1) Vine 5.x を待つ
  2) VineSeed (RPMS.main) にある Xorg を入れてみる?!
  3) RRNotify が使える xorg を自力で入れる?!
  4) その他. . .

この件について、なにかアドバイスをいただけませんでしょうか。
よろしくお願いします。
--芳賀