・Mesa-7.5.2
昨日の続きで、xorg-server-1.6 用に libdrm-2.4.14、 libXi-1.3 、 Mesa-7.5.2 をビルドしてみました。
一応、手元のTPX60sでは
OpenGL vendor string: Tungsten Graphics, Inc OpenGL renderer string: Mesa DRI Intel(R) 945GM GEM 20090712 2009Q2 RC3 x86/MMX/SSE2 OpenGL version string: 1.4 Mesa 7.5.2
で動いている感じ。
/usr/X11R7/include/xorg/shmint.h:27:35: error: X11/extensions/shmstr.h: そのようなファイルやディレクトリはありません
/usr/X11R7/include/xorg/shmint.h:34: error: expected declaration specifiers or '...' before 'ShmFuncsPtr'
In file included from uxa.c:37:
uxa-priv.h:344: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uxa_shm_funcs'
uxa.c: In function 'uxa_driver_init':
uxa.c:528: error: 'uxa_shm_funcs' undeclared (first use in this function)
uxa.c:528: error: (Each undeclared identifier is reported only once
uxa.c:528: error: for each function it appears in.)
uxa.c:528: error: too many arguments to function 'ShmRegisterFuncs'
となってこけてしまいます。shmstr.hがない事が問題なのですが、これはどのpackagesで提供 されているのでしょう? 何故、kojimaさんのところではcompileが通るでしょうか?
あと、desktop effectがどうしても有効になりません。たとえば、 Terminalで背景が半透明にならない。 KDEでdesktop effectsを有効に出来ないなどです。。。 Kojimaさんの所は出来ますか? 何かupdateされていないpackageがあるのかな? -- Honda 2009-10-05 (月) 11:40:39
*** ../xf86-video-intel-2.9.0/uxa/uxa-priv.h 2009-09-22 07:08:34.000000000 +0900 --- ./uxa/uxa-priv.h 2009-10-05 13:50:15.000000000 +0900 *************** *** 328,336 **** /* XXX these come from shmint.h, which isn't exported by the server */ #ifdef HAVE_XEXTPROTO_71 ! #include "shmint.h" ! #else void ShmRegisterFuncs(ScreenPtr pScreen, ShmFuncsPtr funcs); --- 328,357 ---- /* XXX these come from shmint.h, which isn't exported by the server */ #ifdef HAVE_XEXTPROTO_71 ! /* Up to xextproto 7.1, these were provided in shmstr.h */ ! typedef struct _ShmFuncs { ! PixmapPtr (* CreatePixmap)(ScreenPtr pScreen, ! int width, ! int height, ! int depth, ! char *addr); ! void (* PutImage)(DrawablePtr dst, ! GCPtr pGC, ! int depth, ! unsigned int format, ! int w, ! int h, ! int sx, ! int sy, ! int sw, ! int sh, ! int dx, ! int dy, ! char *data); ! } ShmFuncs, *ShmFuncsPtr; + extern ShmFuncs uxa_shm_funcs; + #else void ShmRegisterFuncs(ScreenPtr pScreen, ShmFuncsPtr funcs);
まぁ、構造体の定義を一つ持ってきただけなので、動作が変わるようなものではないようです-- kojiam 2009-10-05 (月) 14:12:02