I can confirm adding #include to test/egl_common.c gets past the original error, but then fails with: Log data follows: | DEBUG: Executing shell function do_compile | [1/2] Compiling c object 'test/glx_beginend@exe/glx_beginend.c.o' | [2/2] Linking target test/glx_beginend | FAILED: test/glx_beginend | arm-poky-linux-gnueabi-gcc -o test/glx_beginend 'test/glx_beginend@exe/glx_beginend.c.o' '-Wl,--no-undefined' '-Wl,--as-needed' '-O2' '-pipe' '-g' '-feliminate-unused-debug-types' '-fdebug-prefix-map=/home/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0=/usr/src/debug/libepoxy/1.4.3-r0' '-fdebug-prefix-map=/home/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/recipe-sysroot-native=' '-fdebug-prefix-map=/home/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/recipe-sysroot=' '-Wl,-O1' '-Wl,--hash-style=gnu' '-Wl,--as-needed' 'test/libglx_common.a' 'src/libepoxy.so.0.0.0' 'src/libepoxy.so.0.0.0' 'src/libepoxy.so.0.0.0' '-ldl' '-lX11' '-ldl' '-Wl,-rpath,/home/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/build/src' -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed | test/glx_beginend@exe/glx_beginend.c.o: In function `test_without_epoxy': | /usr/src/debug/libepoxy/1.4.3-r0/libepoxy-1.4.3/test/glx_beginend.c:70: undefined reference to `glBegin' | /usr/src/debug/libepoxy/1.4.3-r0/libepoxy-1.4.3/test/glx_beginend.c:85: undefined reference to `glEnd' | collect2: error: ld returned 1 exit status | ninja: build stopped: subcommand failed. | WARNING: /home/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/temp/run.do_compile.2610:1 exit 1 from 'ninja -j 8' | ERROR: Function failed: do_compile (log file is located at /home/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/temp/log.do_compile.2610) ERROR: Task (/home/michael/oe/recipes/poky/meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb:do_compile) failed with exit code '1' Michael Gloff On Thu, Jan 18, 2018 at 8:08 AM, Trevor Woerner wrote: > On Thu, Jan 18, 2018 at 4:05 AM, Alexander Kanavin < > alexander.kanavin@linux.intel.com> wrote: > >> On 01/18/2018 10:58 AM, Andrea Galbusera wrote: >> >>> >>> Looks like my first guess was not that bad. Reverting below commit, >>> which switched to meson build system brought my build back to green. >>> Also CC-ing the patch author who might suggest further investigations. >>> >>> libepoxy: convert to meson build >>> >>> >> There's probably a missing header include >> >> > > The original error: > > > ../libepoxy-1.4.3/test/egl_common.c:36:20: error: implicit declaration of function 'XOpenDisplay'; did you mean 'eglGetDisplay'? [-Werror=implicit-function-declaration] > Display *dpy = XOpenDisplay(NULL); > > implies a missing #include > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > >