I am trying to cross compile wayland for an arm-linux platform. During the make, I am getting following error.. CC src/scanner.o CC src/connection.lo CC src/wayland-util.lo CC src/wayland-os.lo CCLD libwayland-util.la CCLD wayland-scanner GEN protocol/wayland-server-protocol.h /bin/sh: ./wayland-scanner: cannot execute binary file make: *** [protocol/wayland-server-protocol.h] Error 126
Thierry Reding has already given a patch for this problem. It is not yet merged. You can refer that in the below link for the solution: http://lists.freedesktop.org/archives/wayland-devel/2014-May/014892.html
A similar patch was merged in wayland some time ago: https://cgit.freedesktop.org/wayland/wayland/commit/?id=21f80b8 But in any case, this seems to be an issue in wayalnd mroe than the xserver/xwayland. Can we close this bug if the aforementioned commit fixes the issue, or else move that bug to wayland where it belongs?
Cross-compiling is a bit painful sometimes, but this does work if your environment is fully set up for wayland-scanner.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.