Can't build xwayland
darxus at chaosreigns.com
darxus at chaosreigns.com
Wed Mar 14 18:56:19 PDT 2012
Based on
http://lists.freedesktop.org/archives/wayland-devel/2011-June/001163.html
but using git://people.freedesktop.org/~krh/xserver -b xwayland since it
appears to have the patches from Corentin's repo:
git clone git://people.freedesktop.org/~krh/xserver -b xwayland
cd xserver
CFLAGS="-O0 -ggdb3"
./autogen.sh --prefix=$WLD --disable-dri --disable-dri2
--disable-config-hal --enable-unix-transport --enable-tcp-transport
--disable-config-udev --disable-config-dbus --disable-xaa --enable-libdrm
--disable-xnest --disable-xvfb --disable-dmx --disable-xvmc --disable-dga
--disable-screensaver --disable-xdmcp --disable-xdm-auth-1 --disable-glx
--disable-xinerama --disable-xace
make
Resulted in:
Making all in Xext
make[1]: Entering directory `/home/darxus/source/xserver/Xext'
CC xvmc.lo
In file included from ../include/dixstruct.h:28:0,
from xvmc.c:12:
../include/dix.h:527:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls]
xvmc.c: In function 'ProcXvMCListSubpictureTypes':
xvmc.c:490:22: error: the comparison will always evaluate as 'false' for the address of 'XvMCScreenKeyRec' will never be NULL [-Werror=address]
xvmc.c: In function 'XvMCExtensionInit':
xvmc.c:671:21: error: the comparison will always evaluate as 'false' for the address of 'XvMCScreenKeyRec' will never be NULL [-Werror=address]
xvmc.c:675:12: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default]
../include/resource.h:159:26: note: expected 'char *' but argument is of type 'const char *'
xvmc.c:679:12: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default]
../include/resource.h:159:26: note: expected 'char *' but argument is of type 'const char *'
xvmc.c:683:8: warning: passing argument 2 of 'CreateNewResourceType' discards 'const' qualifier from pointer target type [enabled by default]
../include/resource.h:159:26: note: expected 'char *' but argument is of type 'const char *'
xvmc.c:688:31: warning: passing argument 1 of 'AddExtension' discards 'const' qualifier from pointer target type [enabled by default]
../include/extnsionst.h:94:34: note: expected 'char *' but argument is of type 'const char *'
xvmc.c: In function 'XvMCFindXvImage':
xvmc.c:749:22: error: the comparison will always evaluate as 'false' for the address of 'XvMCScreenKeyRec' will never be NULL [-Werror=address]
cc1: some warnings being treated as errors
Building from git://people.freedesktop.org/~iksaif/xserver -b xwayland
included the same errors.
Would it help if I installed all the dependencies it asked for via git? I
installed all these from Ubuntu Oneric packages, which satisfied autogen:
No package 'xcmiscproto' found
No package 'bigreqsproto' found
No package 'randrproto' found
No package 'fontsproto' found
No package 'videoproto' found
No package 'compositeproto'
No package 'recordproto' found
No package 'resourceproto' found
No package 'xkbfile' found
No package 'xfont' found
--
"As humans, we are taught to forget that we are animals."
- forward to Johnny The Homicidal Maniac
http://www.ChaosReigns.com
More information about the wayland-devel
mailing list