Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson.build: link epoll-shim for non-Linux #36

Merged
merged 1 commit into from
Jul 31, 2022
Merged

meson.build: link epoll-shim for non-Linux #36

merged 1 commit into from
Jul 31, 2022

Conversation

ekhramtsov
Copy link
Contributor

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)

@artemsen
Copy link
Owner

Thanks for the patch!
Could you add Signed-off-by to the commit message?

meson.build Show resolved Hide resolved
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)

Signed-off-by: Evgeniy Khramtsov <evgeniy@khramtsov.org>
@artemsen artemsen merged commit 2e885ea into artemsen:master Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants