Wind River Support Network

HomeDefectsLIN10-4968
Fixed

LIN10-4968 : eglinfo-x11_1.0.0 failed (do_compile)

Created: Nov 13, 2018    Updated: Dec 16, 2018
Resolved Date: Nov 22, 2018
Found In Version: 10.17.41.12
Fix Version: 10.17.41.13
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Userspace

Description

10/11] cxx: src/process_glapi.cpp -> build/release/src/process_glapi.cpp.1.o
../../src/platfor
m_x11_generic.cpp: In constructor 'eglinfo::native_display::native_display(const char*)':
../../src/platform_x11_generic.cpp:104:38: error: invalid conversion from 'Display* {aka _XDisplay*}' to 'EGLNativeDisplayType {aka int}' [-fpermissive]
   m_egl_native_display = XOpenDisplay(0);
                          ~~~~~~~~~~~~^~~
../../src/platform_x11_generic.cpp:109:38: error: invalid conversion from 'Display* {aka _XDisplay*}' to 'EGLNativeDisplayType {aka int}' [-fpermissive]
   m_egl_native_dis
play = XOpenDisplay(p_name);
                          ~~~~~~~~~~~~^~~~~~~~
../../src/platform_x11_generic.cpp:111:30: warning: NULL used in arithmetic [-Wpointer-arith]
  if (m_egl_native_display == NULL)
                              ^~~~
../../src/platform_x11_generic.cpp: In destructor 'eglinfo::native_display::~native_display()':
../../src/platform_x11_generic.cpp:120:30: warning: NULL used in arithmetic [-Wpointer-arith]
  if (m_egl_native_display != NULL)
                              ^~~
~
../../src/platform_x11_generic.cpp: In member function 'bool eglinfo::native_display::is_ok() const':
../../src/platform_x11_generic.cpp:127:33: warning: NULL used in arithmetic [-Wpointer-arith]
  return m_egl_native_display != NULL;
                                 ^~~~
Waf: Leaving directory `/home/wrlbuild/builds/builds-6fc0d55c-5832-4634-af81-4264a4f8ff11/wrlinux-std-sato_ti-am335x_world_10-lts/tmp-glibc/work/cortexa8hf-neon-wrs-linux-gnueabi/eglinfo-x11/1.0.0-r0/git/build/release'

Steps to Reproduce

Build in fedora24_64 x86_64
Branch being built is WRLINUX_10_17_LTS
Logfiles are 00-wrconfig.log and 00-wrbuild.log
Relevant bits of the config were:
    setup.sh --distro=wrlinux-std-sato --machine=ti-am335x --dl-layers --all-layers --repo-verbose --verbose --accept-eula=yes
    notconfigure.sh --jobs=10 --parallel_pkgbuilds=20
    bitbake world

Other Downloads


Live chat
Online