forked from Coffee2CodeNL/gebaar-libinput
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I am currently creating a package for void linux of this and I can't get the build to go through. I added libinput-devel to the makedepends, but it always fails, like it can't link libinput. The failing output is this:
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::initialize_context()':
input.cpp:(.text+0x16a): undefined reference to `libinput_udev_create_context'
/usr/bin/ld: input.cpp:(.text+0x17d): undefined reference to `libinput_udev_assign_seat'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::~Input()':
input.cpp:(.text+0x3bc): undefined reference to `libinput_unref'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::handle_touch_event_down(libinput_event_touch*)':
input.cpp:(.text+0x992): undefined reference to `libinput_event_touch_get_time'
/usr/bin/ld: input.cpp:(.text+0x99c): undefined reference to `libinput_event_touch_get_slot'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::handle_touch_event_motion(libinput_event_touch*)':
input.cpp:(.text+0xb45): undefined reference to `libinput_event_touch_get_slot'
/usr/bin/ld: input.cpp:(.text+0xb99): undefined reference to `libinput_event_touch_get_slot'
/usr/bin/ld: input.cpp:(.text+0xbf1): undefined reference to `libinput_event_touch_get_x'
/usr/bin/ld: input.cpp:(.text+0xc03): undefined reference to `libinput_event_touch_get_slot'
/usr/bin/ld: input.cpp:(.text+0xc56): undefined reference to `libinput_event_touch_get_y'
/usr/bin/ld: input.cpp:(.text+0xc69): undefined reference to `libinput_event_touch_get_slot'
/usr/bin/ld: input.cpp:(.text+0xcbe): undefined reference to `libinput_event_touch_get_x'
/usr/bin/ld: input.cpp:(.text+0xccc): undefined reference to `libinput_event_touch_get_y'
/usr/bin/ld: input.cpp:(.text+0xcd9): undefined reference to `libinput_event_touch_get_slot'
/usr/bin/ld: input.cpp:(.text+0xd79): undefined reference to `libinput_event_touch_get_slot'
/usr/bin/ld: input.cpp:(.text+0xdbc): undefined reference to `libinput_event_touch_get_slot'
/usr/bin/ld: input.cpp:(.text+0xe79): undefined reference to `libinput_event_touch_get_slot'
/usr/bin/ld: input.cpp:(.text+0xea0): undefined reference to `libinput_event_touch_get_x'
/usr/bin/ld: input.cpp:(.text+0xeae): undefined reference to `libinput_event_touch_get_y'
/usr/bin/ld: input.cpp:(.text+0xebb): undefined reference to `libinput_event_touch_get_slot'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::gesture_device_exists()':
input.cpp:(.text+0x1360): undefined reference to `libinput_event_destroy'
/usr/bin/ld: input.cpp:(.text+0x1369): undefined reference to `libinput_dispatch'
/usr/bin/ld: input.cpp:(.text+0x1389): undefined reference to `libinput_get_event'
/usr/bin/ld: input.cpp:(.text+0x139e): undefined reference to `libinput_event_get_device'
/usr/bin/ld: input.cpp:(.text+0x13f4): undefined reference to `libinput_device_get_name'
/usr/bin/ld: input.cpp:(.text+0x14a2): undefined reference to `libinput_device_has_capability'
/usr/bin/ld: input.cpp:(.text+0x14bb): undefined reference to `libinput_device_has_capability'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::initialize()':
input.cpp:(.text+0x17fa): undefined reference to `libinput_udev_create_context'
/usr/bin/ld: input.cpp:(.text+0x180d): undefined reference to `libinput_udev_assign_seat'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::test_above_threshold(unsigned long, double, libinput_device*)':
input.cpp:(.text+0x186f): undefined reference to `libinput_device_get_size'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::handle_touch_event_up(libinput_event_touch*)':
input.cpp:(.text+0x2da4): undefined reference to `libinput_event_touch_get_time'
/usr/bin/ld: input.cpp:(.text+0x2dae): undefined reference to `libinput_event_touch_get_slot'
/usr/bin/ld: input.cpp:(.text+0x3153): undefined reference to `libinput_event_touch_get_base_event'
/usr/bin/ld: input.cpp:(.text+0x315b): undefined reference to `libinput_event_get_device'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::handle_swipe_event_with_coords(libinput_event_gesture*)':
input.cpp:(.text+0x483c): undefined reference to `libinput_event_gesture_get_dx_unaccelerated'
/usr/bin/ld: input.cpp:(.text+0x484e): undefined reference to `libinput_event_gesture_get_dy_unaccelerated'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::handle_swipe_event_without_coords(libinput_event_gesture*, bool)':
input.cpp:(.text+0x4914): undefined reference to `libinput_event_gesture_get_finger_count'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::handle_pinch_event(libinput_event_gesture*, bool)':
input.cpp:(.text+0x6984): undefined reference to `libinput_event_gesture_get_scale'
/usr/bin/ld: input.cpp:(.text+0x6991): undefined reference to `libinput_event_gesture_get_angle_delta'
/usr/bin/ld: input.cpp:(.text+0x6a14): undefined reference to `libinput_event_gesture_get_finger_count'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::handle_switch_event(libinput_event_switch*)':
input.cpp:(.text+0x6ac0): undefined reference to `libinput_event_switch_get_switch_state'
/usr/bin/ld: input.cpp:(.text+0x6acc): undefined reference to `libinput_event_switch_get_switch'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::handle_event()':
input.cpp:(.text+0x758c): undefined reference to `libinput_dispatch'
/usr/bin/ld: input.cpp:(.text+0x7595): undefined reference to `libinput_get_event'
/usr/bin/ld: input.cpp:(.text+0x75aa): undefined reference to `libinput_event_get_type'
/usr/bin/ld: input.cpp:(.text+0x761d): undefined reference to `libinput_event_get_gesture_event'
/usr/bin/ld: input.cpp:(.text+0x76b1): undefined reference to `libinput_event_get_gesture_event'
/usr/bin/ld: input.cpp:(.text+0x76d1): undefined reference to `libinput_event_destroy'
/usr/bin/ld: input.cpp:(.text+0x76da): undefined reference to `libinput_dispatch'
/usr/bin/ld: input.cpp:(.text+0x76e8): undefined reference to `libinput_event_get_gesture_event'
/usr/bin/ld: input.cpp:(.text+0x7753): undefined reference to `libinput_event_get_touch_event'
/usr/bin/ld: input.cpp:(.text+0x77b8): undefined reference to `libinput_event_get_touch_event'
/usr/bin/ld: input.cpp:(.text+0x77dc): undefined reference to `libinput_event_get_switch_event'
/usr/bin/ld: input.cpp:(.text+0x7861): undefined reference to `libinput_event_get_touch_event'
/usr/bin/ld: input.cpp:(.text+0x78ba): undefined reference to `libinput_event_get_gesture_event'
/usr/bin/ld: input.cpp:(.text+0x78c2): undefined reference to `libinput_event_gesture_get_finger_count'
/usr/bin/ld: input.cpp:(.text+0x7903): undefined reference to `libinput_event_get_gesture_event'
/usr/bin/ld: CMakeFiles/gebaard.dir/src/io/input.cpp.o: in function `gebaar::io::Input::start_loop()':
input.cpp:(.text+0x79a9): undefined reference to `libinput_get_fd'
What am I doing wrong? Thanks for any help with this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels