Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/weston: fix build with OpenGL ES disabled
Date: Sat, 2 Dec 2017 15:01:23 +0100	[thread overview]
Message-ID: <20171202150123.66aabccb@windsurf.lan> (raw)
In-Reply-To: <20171022180521.25751-1-bernd.kuhls@t-online.de>

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

  reply	other threads:[~2017-12-02 14:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2017-12-27  9:52   ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171202150123.66aabccb@windsurf.lan \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox