Failed to load module: /usr/way/lib/weston/rpi-backend.so: undefined symbol: eglTerminate
Jeff Chua
jeff.chua.linux at gmail.com
Tue Dec 23 20:49:23 PST 2014
I recompiled Tomeu's userland git and weston with EGL enabled.
Compiled ok, but starting weston gives the following error ..
07:33:06.983] OS: Linux, 3.18.1, #9 Mon Dec 22 21:36:03 SGT 2014, armv6l
[07:33:06.986] Using config file '/root/.config/weston.ini'
[07:33:06.988] Loading module '/usr/way/lib/weston/rpi-backend.so'
[07:33:07.006] Failed to load module:
/usr/way/lib/weston/rpi-backend.so: undefined symbol: eglTerminate
Without "--enable-egl", weston runs.
Here's my weston's config ..
I="-fPIC -DBCMHOST=1"
I="$I -I/opt/vc/include -I/opt/vc/include/EGL"
I="$I -I/opt/vc/include/interface/vcos/pthreads"
I="$I -I/opt/vc/include/interface/vmcs_host/linux"
L="-L/opt/vc/lib -L/usr/way/lib"
WESTON_NATIVE_BACKEND="rpi-backend.so" \
EGL_CFLAGS="$I" \
EGL_LIBS="$L" \
autogen.sh --enable-shared --disable-static \
--disable-colord \
--disable-dbus \
--disable-drm-compositor \
--disable-libinput-backend \
--disable-libunwind \
--disable-resize-optimization \
--disable-x11-compositor \
--disable-xwayland-test \
--disable-wcap-tools \
--disable-wayland-compositor \
--enable-demo-clients-install \
--enable-egl \
--enable-rpi-compositor \
--enable-screen-sharing \
--enable-simple-egl-clients \
--enable-weston-launch \
--with-cairo=image \
--prefix=/usr/way
Here's my mesa's config ...
autogen.sh \
--prefix=/usr/way \
--enable-egl --enable-gbm --enable-gles2 \
--enable-shared-glapi \
--enable-sysfs \
--disable-static \
--with-dri-drivers=swrast \
--with-egl-platforms=x11,wayland,drm \
--with-gallium-drivers="vc4,swrast"
Thanks,
Jeff
More information about the wayland-devel
mailing list