[Xorg] debrix and composite

Hagbard Celine footourist at gmail.com
Sat Jul 17 05:09:23 PDT 2004


Hello,

I've downloaded debrix using the instruction on debrix.freedesktop.org, so I sup
pose I've the very latest version.
The first problem is during the configure: it cannot find some extension/library
 such as xdcmp.pc, I've then set the variable PKG_CONFIG_PATH pointing at /opt/f
do/lib/pkgconfig which is there from a previous kdrive compiling attempt (succes
ful) and the configure go well.
Is this right?
Anyway let's face the real problem: when I try to compile with --enable-composit
e I get the following error:

if gcc -DHAVE_CONFIG_H -I. -I. -I../include     -I../Xext -I../render -I../randr
 -I../xfixes -I../composite -I../mi -I../miext/damage -I../miext/shadow -I../fb 
-I../Xi -I../hw/xorg/include -I../hw/xorg/common -I../hw/xorg/os-support -I../hw
/xorg/os-support/bus -I../os -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing
-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_XOPE
N_SOURCE -D_BSD_SOURCE -DXTHREADS -DXUSE_MTSAFE_API -DDFLT_XKB_CONFIG_ROOT="/usr
/X11R6/lib/X11/xkb" -I/opt/fdo/include -I/opt/fdo/include/X11/fonts -I/opt/fdo/i
nclude/X11/Xtrans   -DDEFAULT_MODULE_PATH=\"/opt/fdo/lib/xorg/modules/drivers\" 
-DDEFAULT_LOGPREFIX=\"/opt/fdo/var/log/Xorg.\" -DXF86CONFIGFILE=\"/opt/fdo/etc/x
org.conf\" -DXKB_BASE_DIRECTORY=\"/opt/fdo/lib/xkb\" -g -O2 -MT fbwindow.o -MD -
MP -MF ".deps/fbwindow.Tpo" -c -o fbwindow.o fbwindow.c; \
then mv -f ".deps/fbwindow.Tpo" ".deps/fbwindow.Po"; else rm -f ".deps/fbwindow.
Tpo"; exit 1; fi
fbwindow.c: In function `fbCopyWindow':
fbwindow.c:142: error: `pPixmap' undeclared (first use in this function)
fbwindow.c:142: error: (Each undeclared identifier is reported only once
fbwindow.c:142: error: for each function it appears in.)
make[1]: *** [fbwindow.o] Error 1
make[1]: Leaving directory `/home/dasnake/freedesktop.org/debrix--devel--0.1--pa
tch-4/fb'
make: *** [all-recursive] Error 1


At this time I've looked into the source code (fb/fbwindow.c) and I found:

    // XXX DS PixmapPtr   pPixmap = fbGetWindowPixmap (pWin);

near the error.

I've tryed to uncomment that and the fb part get compiled, but then:

if gcc -DHAVE_CONFIG_H -I. -I. -I../include     -I../Xext -I../render -I../randr
 -I../xfixes -I../composite -I../mi -I../miext/damage -I../damagext -I../miext/s
hadow -I../fb -I../Xi -I../hw/xorg/include -I../hw/xorg/common -I../hw/xorg/os-s
upport -I../hw/xorg/os-support/bus -I../os -Wall -Wpointer-arith -Wstrict-protot
ypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-al
iasing -D_XOPEN_SOURCE -D_BSD_SOURCE -DXTHREADS -DXUSE_MTSAFE_API -DDFLT_XKB_CON
FIG_ROOT="/usr/X11R6/lib/X11/xkb" -I/opt/fdo/include -I/opt/fdo/include/X11/font
s -I/opt/fdo/include/X11/Xtrans   -DDEFAULT_MODULE_PATH=\"/opt/fdo/lib/xorg/modu
les/drivers\" -DDEFAULT_LOGPREFIX=\"/opt/fdo/var/log/Xorg.\" -DXF86CONFIGFILE=\"
/opt/fdo/etc/xorg.conf\" -DXKB_BASE_DIRECTORY=\"/opt/fdo/lib/xkb\" -g -O2 -MT co
mpalloc.o -MD -MP -MF ".deps/compalloc.Tpo" -c -o compalloc.o compalloc.c; \
then mv -f ".deps/compalloc.Tpo" ".deps/compalloc.Po"; else rm -f ".deps/compall
oc.Tpo"; exit 1; fi
In file included from compalloc.c:28:
compint.h:47:26: damageextint.h: No such file or directory
compalloc.c: In function `compRedirectWindow':
compalloc.c:94: warning: passing arg 5 of `DamageCreate' from incompatible point
er type
compalloc.c:94: error: too few arguments to function `DamageCreate'
compalloc.c: In function `compRedirectSubwindows':
compalloc.c:297: warning: implicit declaration of function `DamageExtSetCritical
'
make[1]: *** [compalloc.o] Error 1
make[1]: Leaving directory `/home/dasnake/freedesktop.org/debrix--devel--0.1--pa
tch-4/composite'
make: *** [all-recursive] Error 1

Ok, I've searched damageextint.h and found it in damageext dir, then added a -I 
line to the Makefile to let include that dir and:

if gcc -DHAVE_CONFIG_H -I. -I. -I../include     -I../Xext -I../render -I../randr
 -I../xfixes -I../composite -I../mi -I../miext/damage -I../damageext -I../miext/
shadow -I../fb -I../Xi -I../hw/xorg/include -I../hw/xorg/common -I../hw/xorg/os-
support -I../hw/xorg/os-support/bus -I../os -Wall -Wpointer-arith -Wstrict-proto
types -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-a
liasing -D_XOPEN_SOURCE -D_BSD_SOURCE -DXTHREADS -DXUSE_MTSAFE_API -DDFLT_XKB_CO
NFIG_ROOT="/usr/X11R6/lib/X11/xkb" -I/opt/fdo/include -I/opt/fdo/include/X11/fon
ts -I/opt/fdo/include/X11/Xtrans   -DDEFAULT_MODULE_PATH=\"/opt/fdo/lib/xorg/mod
ules/drivers\" -DDEFAULT_LOGPREFIX=\"/opt/fdo/var/log/Xorg.\" -DXF86CONFIGFILE=\
"/opt/fdo/etc/xorg.conf\" -DXKB_BASE_DIRECTORY=\"/opt/fdo/lib/xkb\" -g -O2 -MT c
ompalloc.o -MD -MP -MF ".deps/compalloc.Tpo" -c -o compalloc.o compalloc.c; \
then mv -f ".deps/compalloc.Tpo" ".deps/compalloc.Po"; else rm -f ".deps/compall
oc.Tpo"; exit 1; fi
compalloc.c: In function `compRedirectWindow':
compalloc.c:94: warning: passing arg 5 of `DamageCreate' from incompatible point
er type
compalloc.c:94: error: too few arguments to function `DamageCreate'
make[1]: *** [compalloc.o] Error 1
make[1]: Leaving directory `/home/dasnake/freedesktop.org/debrix--devel--0.1--pa
tch-4/composite'
make: *** [all-recursive] Error 1

Uhmm, ok I stopped here.

I wonder: is the composite support broken? Or I'm wrong somewhere?

Thanks,
 Hagbard



More information about the xorg mailing list