Closed ekhramtsov closed 2 years ago
Subset of epoll is available on non-Linux via epoll-shim, check if epoll-shim is available and link to it.
ld: error: undefined symbol: timerfd_create >>> referenced by window.c >>> swayimg.p/src_window.c.o:(create_window) ld: error: undefined symbol: epoll_shim_close >>> referenced by window.c >>> swayimg.p/src_window.c.o:(destroy_window) >>> referenced by window.c >>> swayimg.p/src_window.c.o:(on_keyboard_keymap) >>> referenced by window.c >>> swayimg.p/src_window.c.o:(create_buffer) >>> referenced 1 more times ld: error: undefined symbol: epoll_shim_poll >>> referenced by window.c >>> swayimg.p/src_window.c.o:(show_window) ld: error: undefined symbol: epoll_shim_read >>> referenced by window.c >>> swayimg.p/src_window.c.o:(show_window) ld: error: undefined symbol: timerfd_settime >>> referenced by window.c >>> swayimg.p/src_window.c.o:(on_keyboard_key)
Thanks for the patch! Could you add Signed-off-by to the commit message?
Subset of epoll is available on non-Linux via epoll-shim, check if epoll-shim is available and link to it.