[OE-core] The build issue of wayland-native on Linux distros with old glibc
Luo Zhenhua-B19537
B19537 at freescale.com
Thu Apr 11 09:22:50 UTC 2013
I tried to build wayland-native which requires sys/signalfd.h and sys/timerfd.h, the two headers are not provided by Yocto build env, so host version is searched.
When the build is conducted in Linux distros with old glibc(not sure about the accurate version), above two headers are not available, so build will failed as following:
| /home/yocto/workspace/sdk-devel/build_p4080ds_release/tmp/work/x86_64-linux/wayland-native/1.0.6-r0/wayland-1.0.6/src/event-loop.c:33:26: error: sys/signalfd.h: No such file or directory
| /home/yocto/workspace/sdk-devel/build_p4080ds_release/tmp/work/x86_64-linux/wayland-native/1.0.6-r0/wayland-1.0.6/src/event-loop.c:34:25: error: sys/timerfd.h: No such file or directory
Can anybody shed some light on how to solve the issue in Yocto to ensure the build doesn't depend on host env?
Best Regards,
Zhenhua
More information about the Openembedded-core
mailing list