[Piglit] [PATCH v2 0/2] eventloop for Wayland platform

Mark Janes mark.a.janes at intel.com
Fri Nov 18 18:13:07 UTC 2016


This series breaks my compilation:

gcc -m64  -Wall -std=gnu99 -Werror=vla -Werror=pointer-arith -Werror=variadic-macros -g   target_api/gl/tests/bugs/CMakeFiles/point-sprite.dir/point-sprite.c.o  -o bin/point-sprite  -rdynamic lib/libpiglitutil_gl.so.0 -lGL lib/libpiglitutil.so.0 -lrt -ldl -lxkbcommon -lpng -lz -lm -lEGL -L/tmp/build_root/m64/lib -lgbm -L/tmp/build_root/m64/lib/x86_64-linux-gnu -lwaffle-1 -ldrm -lxcb -lxcb-dri2 -ldrm_intel -ldrm -lxcb -lxcb-dri2 -ldrm_intel -lX11 -lGL -Wl,-rpath,/home/majanes/src/jenkins/repos/piglit/build_m64/lib: && :

lib/libpiglitutil_gl.so.0: undefined reference to `wl_keyboard_interface'
lib/libpiglitutil_gl.so.0: undefined reference to `wl_display_dispatch'

adding -lwayland-client gets the link working.

-Mark

Tapani Pälli <tapani.palli at intel.com> writes:

> Round 2 *gonggg*
>
> Here's another try to implement eventloop for Wayland. I've done fixes
> based on Pekka's review. I did not attempt to support multiseat or multiple
> keyboards, such configurations are considered exotic for running Piglit and
> support can be added later. Main thing is to try to be consistent with 
> existing X11 backend.
>
> Thanks;
>
> Tapani Pälli (2):
>   cmake: require libxkbcommon when building with Wayland
>   util: implement eventloop for wayland platform
>
>  CMakeLists.txt                                     |   7 +
>  tests/util/CMakeLists.txt                          |   5 +
>  .../util/piglit-framework-gl/piglit_wl_framework.c | 253 +++++++++++++++++++--
>  3 files changed, 249 insertions(+), 16 deletions(-)
>
> -- 
> 2.7.4
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list