[xorg-server] cross compile (arm-linux) error. help~

oxoooooooo oxoooooooo at 163.com
Wed Oct 29 19:59:56 PDT 2008


Dears:


Who can tell me how to cross compile xorg-server 1.5.1 (from X11R7.4 release
version)?
My Env:  arm-linux 2.6.21 gcc-4.3.1, support framebuffer

I can successfully compile all  following items in build-from-tarballs.sh:
	build util util-macros
	build_doc
	build_proto
	build_lib
	build data xbitmaps
	build_app
but,when compiling xorg-server 1.5.1,i got errors. 

I think maybe is my configure fault, my params & error:
"--host=arm-linux --target=arm\
 --disable-composite \
 --enable-tslib \
 --enable-kdrive \
 --disable-xorg \
 --disable-xorgcfg \
 --disable-tcp-transport \
 --disable-ipv6 \
 --disable-xdm-auth-1 \
 --disable-dri \
 --disable-xnest \
 --disable-xvfb \
 --disable-xprint \
 --disable-dmx \
 --disable-xephyr \
"
Error:
In file included from colormap.c:65:
../include/windowstr.h:133: error: field 'clipList' has incomplete type
../include/windowstr.h:134: error: field 'borderClip' has incomplete type
../include/windowstr.h:136: error: field 'winSize' has incomplete type
../include/windowstr.h:137: error: field 'borderSize' has incomplete type
make[2]: *** [colormap.lo] error 1

in windowstr.h:
i found:
    RegionRec		clipList;	/* clipping rectangle for output */
    RegionRec		borderClip;	/* NotClippedByChildren + border */


Best wishes,
Dvd






More information about the xorg mailing list