Go to /usr/X11R6/lib in my linux PC.
1) install ARM toolchain, If not installed
2) Get x11 source from http://www.x.org/
3) extract all the tar files, using tar -xvzf
4) edit cross.def and host.def files, in cross.def set the paths
of tool chain in host.def file set crossCompile to YES and
DoLoadableServer to NO
5) make shadow directory "build" and link to xc "lndir ../xc"
6) run Make World
error: linux_vm86.c 281 impossible constraint in 'asm'
268 res might be used uninitialized in this function.
fix:comment line 281,
set res=0
error: implicit decleration of function 'SET_FLAG'
fix: comment line 111 in
programs/Xserver/hw/xfree86/os-support/linux/int10/helper_exec.c
error:Undefined reference to XF86VidModeQueryVersion in glxinfo
And glxgears
Undefined reference to XF86VidModeQueryVersion in xdriinfo
fix:download libXxf86vm.so.1.0 into our armtoolchain lib path
and make softlinks
ln -s libXxf86vm.so.1.0 libXxf86vm.so
ln -s libXxf86vm.so.1.0 libXxf86vm.so.1
error:X_cursor.cfg command not found.
fix:
copied all the binaries from cvs in our
arm-tools-chain bin folder...didnt work
copied libXcursor.so.1.0.2 from cvs in our arm-tools-chain
and made links
ln -s libXcursor.so.1.0.2 libXcursor.so.1
ln -s libXcursor.so.1.0.2 libXcursor.so
...still didnt work
copied xcursor.pc in pkgconfig of toolchain.
looks like xcursorgen is missing .
got it from debian.still didnt work.
copied xcursorgen from programs/xcursorgen/ to tool chain
still didnt work.
export XCURSORGEN=/usr/X11R6/bin/xcursorgen
!!! WORKED !!!
Total compilation time with "Make World" is 20 minutes.
after compilation it prints a message:
"Full build of Release 6.8 complete."
error: while doing make install got the error in fonts:
"/bin/sh -b: command not found"
workaround:
removed "models" folder from Makefile at
"programs/Xserver/XpConfig/C/print/Makefile
fix:Open the makefile in Xserver/XpConfig/C/print/models/XXX/fonts/Makefile
and then set MKFONTSCALE=$(XBINDIR)/mkfontscale below XBINDIR on line
no around 389.
Comments
Could you please take more detail on each step: which files used, commands,...
Thanks in advance.