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