* [Buildroot] [PATCH 1/1] package/weston: fix build with OpenGL ES disabled
@ 2017-10-22 18:05 Bernd Kuhls
2017-12-02 14:01 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Bernd Kuhls @ 2017-10-22 18:05 UTC (permalink / raw)
To: buildroot
Building this defconfig
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_WESTON=y
BR2_PACKAGE_XORG7=y
is broken:
CC clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.o
clients/simple-dmabuf-drm.c: In function 'create_display':
clients/simple-dmabuf-drm.c:758:15: warning: implicit declaration of function 'eglQueryString' [-Wimplicit-function-declaration]
extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
^~~~~~~~~~~~~~
clients/simple-dmabuf-drm.c:758:30: error: 'EGL_NO_DISPLAY' undeclared (first use in this function)
extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
^~~~~~~~~~~~~~
clients/simple-dmabuf-drm.c:758:30: note: each undeclared identifier is reported only once for each function it appears in
clients/simple-dmabuf-drm.c:758:46: error: 'EGL_EXTENSIONS' undeclared (first use in this function)
extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
^~~~~~~~~~~~~~
clients/simple-dmabuf-drm.c:759:21: warning: implicit declaration of function 'weston_check_egl_extension' [-Wimplicit-function-declaration]
if (extensions && !weston_check_egl_extension(extensions,
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/weston/weston.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index 93b0246e9e..638954f034 100644
--- a/package/weston/weston.mk
+++ b/package/weston/weston.mk
@@ -57,6 +57,7 @@ WESTON_DEPENDENCIES += libegl
else
WESTON_CONF_OPTS += \
--disable-egl \
+ --disable-simple-dmabuf-drm-client \
--disable-simple-egl-clients
endif
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* [Buildroot] [PATCH 1/1] package/weston: fix build with OpenGL ES disabled
2017-10-22 18:05 [Buildroot] [PATCH 1/1] package/weston: fix build with OpenGL ES disabled Bernd Kuhls
@ 2017-12-02 14:01 ` Thomas Petazzoni
2017-12-27 9:52 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2017-12-02 14:01 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 22 Oct 2017 20:05:21 +0200, Bernd Kuhls wrote:
> Building this defconfig
>
> BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> BR2_PACKAGE_MESA3D=y
> BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
> BR2_PACKAGE_MESA3D_OPENGL_EGL=y
> BR2_PACKAGE_WESTON=y
> BR2_PACKAGE_XORG7=y
>
> is broken:
>
> CC clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.o
> clients/simple-dmabuf-drm.c: In function 'create_display':
> clients/simple-dmabuf-drm.c:758:15: warning: implicit declaration of function 'eglQueryString' [-Wimplicit-function-declaration]
> extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
> ^~~~~~~~~~~~~~
> clients/simple-dmabuf-drm.c:758:30: error: 'EGL_NO_DISPLAY' undeclared (first use in this function)
> extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
> ^~~~~~~~~~~~~~
> clients/simple-dmabuf-drm.c:758:30: note: each undeclared identifier is reported only once for each function it appears in
> clients/simple-dmabuf-drm.c:758:46: error: 'EGL_EXTENSIONS' undeclared (first use in this function)
> extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
> ^~~~~~~~~~~~~~
> clients/simple-dmabuf-drm.c:759:21: warning: implicit declaration of function 'weston_check_egl_extension' [-Wimplicit-function-declaration]
> if (extensions && !weston_check_egl_extension(extensions,
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/weston/weston.mk | 1 +
> 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/weston: fix build with OpenGL ES disabled
2017-12-02 14:01 ` Thomas Petazzoni
@ 2017-12-27 9:52 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2017-12-27 9:52 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Hi,
> On Sun, 22 Oct 2017 20:05:21 +0200, Bernd Kuhls wrote:
>> Building this defconfig
>>
>> BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
>> BR2_TOOLCHAIN_BUILDROOT_CXX=y
>> BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
>> BR2_PACKAGE_MESA3D=y
>> BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
>> BR2_PACKAGE_MESA3D_OPENGL_EGL=y
>> BR2_PACKAGE_WESTON=y
>> BR2_PACKAGE_XORG7=y
>>
>> is broken:
>>
>> CC clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.o
>> clients/simple-dmabuf-drm.c: In function 'create_display':
>> clients/simple-dmabuf-drm.c:758:15: warning: implicit declaration of function 'eglQueryString' [-Wimplicit-function-declaration]
>> extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
>> ^~~~~~~~~~~~~~
>> clients/simple-dmabuf-drm.c:758:30: error: 'EGL_NO_DISPLAY' undeclared (first use in this function)
>> extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
>> ^~~~~~~~~~~~~~
>> clients/simple-dmabuf-drm.c:758:30: note: each undeclared identifier is reported only once for each function it appears in
>> clients/simple-dmabuf-drm.c:758:46: error: 'EGL_EXTENSIONS' undeclared (first use in this function)
>> extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
>> ^~~~~~~~~~~~~~
>> clients/simple-dmabuf-drm.c:759:21: warning: implicit declaration of function 'weston_check_egl_extension' [-Wimplicit-function-declaration]
>> if (extensions && !weston_check_egl_extension(extensions,
>>
>> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
>> ---
>> package/weston/weston.mk | 1 +
>> 1 file changed, 1 insertion(+)
Committed to 2017.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-27 9:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-22 18:05 [Buildroot] [PATCH 1/1] package/weston: fix build with OpenGL ES disabled Bernd Kuhls
2017-12-02 14:01 ` Thomas Petazzoni
2017-12-27 9:52 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox