Problem With libwayland-cursor.so

Ali Sarlak ali.sarlak at aol.com
Thu Dec 15 06:42:36 UTC 2016


 Hi


 
When I configured the Wayland without --disable-scanner :

./configure  --disable-documentation --host=arm-linux-gnueabi --prefix=/home/ali/Desktop/Weston/waylanOut --with-sysroot=/home/ali/Desktop/rootfs/out/target --with-expat=/home/ali/Desktop/rootfs/out/target/usr

 
on make it complains:

make  all-recursive
make[1]: Entering directory `/home/ali/Desktop/Weston/wayland-1.0.3'
Making all in src
make[2]: Entering directory `/home/ali/Desktop/Weston/wayland-1.0.3/src'
  CC     scanner.o
  CC     wayland-os.lo
  CCLD   libwayland-util.la
  CCLD   wayland-scanner
  GEN    wayland-server-protocol.h
/bin/bash: ../src/wayland-scanner: cannot execute binary file: Exec format error
make[2]: *** [wayland-server-protocol.h] Error 126
make[2]: Leaving directory `/home/ali/Desktop/Weston/wayland-1.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ali/Desktop/Weston/wayland-1.0.3'
make: *** [all] Error 2

Yours,

 

 

-----Original Message-----
From: Ali Sarlak <ali.sarlak at aol.com>
To: ppaalanen <ppaalanen at gmail.com>
Sent: Tue, Dec 13, 2016 4:22 pm
Subject: Re: Problem With libwayland-cursor.so



 Dear pq,

When I configured the Wayland without --disable-scanner :

./configure  --disable-documentation --host=arm-linux-gnueabi --prefix=/home/ali/Desktop/Weston/waylanOut --with-sysroot=/home/ali/Desktop/rootfs/out/target --with-expat=/home/ali/Desktop/rootfs/out/target/usr

 
on make it complains:

make  all-recursive
make[1]: Entering directory `/home/ali/Desktop/Weston/wayland-1.0.3'
Making all in src
make[2]: Entering directory `/home/ali/Desktop/Weston/wayland-1.0.3/src'
  CC     scanner.o
  CC     wayland-os.lo
  CCLD   libwayland-util.la
  CCLD   wayland-scanner
  GEN    wayland-server-protocol.h
/bin/bash: ../src/wayland-scanner: cannot execute binary file: Exec format error
make[2]: *** [wayland-server-protocol.h] Error 126
make[2]: Leaving directory `/home/ali/Desktop/Weston/wayland-1.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ali/Desktop/Weston/wayland-1.0.3'
make: *** [all] Error 2

Yours,

 

-----Original Message-----
From: Pekka Paalanen <ppaalanen at gmail.com>
To: Ali <ali.sarlak at aol.com>
Cc: wayland-devel <wayland-devel at lists.freedesktop.org>
Sent: Tue, Dec 13, 2016 11:47 am
Subject: Re: Problem With libwayland-cursor.so

On Sat, 10 Dec 2016 22:09:29 +0330
Ali <ali.sarlak at aol.com> wrote:

> Dear Wayland,
> 
> After I’ve read “Building Weston” doc I cross compiled the wayland and then I tried to run Weston by :
> start-weston 
> 
> It complained:
> 
> [00:01:00.878] weston 1.0.3
>                http://wayland.freedesktop.org/
>                Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=weston
>                Build:  
> [00:01:00.878] OS: Linux, 3.0.35, #3 SMP PREEMPT Tue Nov 15 09:36:14 MST 2016, armv7l
> [00:01:00.883] Loading module '/usr/lib/weston/gal2d-backend.so'
> [00:01:01.031] input device unknown, /dev/input/mice ignored: unsupported device type
> [00:01:01.191] Loading module '/usr/lib/weston/desktop-shell.so'
> [00:01:01.199] libwayland: using socket /tmp_weston/wayland-0
> [00:01:01.200] launching '/usr/libexec/weston-desktop-shell'
> /usr/libexec/weston-desktop-shell: symbol lookup error: /usr/lib/libwayland-cursor.so.0: undefined symbol: wl_proxy_marshal_constructor


Hi,

this happens when you have built libwayland-cursor with a
wayland-scanner version that is higher than the libwayland-client you
built or are using at runtime.

It is recommended to always have wayland-scanner exactly the same
version as the libwayland you are building and running. It is ok to use
an older wayland-scanner than the libwayland you are running, but the
opposite is not guaranteed to work so far.


Thanks,
pq


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20161215/12ad66db/attachment.html>


More information about the wayland-devel mailing list