Bug 80459 - Wayland cross compiling makefile error
Summary: Wayland cross compiling makefile error
Status: RESOLVED WORKSFORME
Alias: None
Product: Wayland
Classification: Unclassified
Component: XWayland (show other bugs)
Version: 1.5.0
Hardware: ARM Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-24 05:50 UTC by Sunshine
Modified: 2018-06-04 07:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Sunshine 2014-06-24 05:50:30 UTC
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
Comment 1 Srivardhan Hebbar 2014-06-24 09:05:46 UTC
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
Comment 2 Olivier Fourdan 2016-04-07 08:45:59 UTC
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?
Comment 3 Daniel Stone 2018-06-04 07:26:34 UTC
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.