Device: Raspad (Raspberry Pi 4)
Operating System: Raspberry OS (Bullseye)
Hi, I tried to install right click emulation on the latest release of the raspberry pi operating system. I got the compile errors listed below. I installed the emulation in the last release with no problems... Any hints would be appreciated....
gcc -Wall -std=c11 -D_POSIX_C_SOURCE=199309L -levdev -I/usr/include/libevdev-1.0 out/uinput.o out/input.o out/rce.o -o out/evdev-rce
/usr/bin/ld: out/uinput.o: in function uinput_initialize': uinput.c:(.text+0xc): undefined reference tolibevdev_new'
/usr/bin/ld: uinput.c:(.text+0x1c): undefined reference to libevdev_set_name' /usr/bin/ld: uinput.c:(.text+0x28): undefined reference tolibevdev_enable_event_type'
/usr/bin/ld: uinput.c:(.text+0x3c): undefined reference to libevdev_enable_event_code' /usr/bin/ld: uinput.c:(.text+0x58): undefined reference tolibevdev_uinput_create_from_device'
/usr/bin/ld: uinput.c:(.text+0x74): undefined reference to libevdev_free' /usr/bin/ld: out/uinput.o: in functionuinput_send_right_click':
uinput.c:(.text+0xb0): undefined reference to libevdev_uinput_write_event' /usr/bin/ld: uinput.c:(.text+0xc4): undefined reference tolibevdev_uinput_write_event'
/usr/bin/ld: uinput.c:(.text+0xd8): undefined reference to libevdev_uinput_write_event' /usr/bin/ld: uinput.c:(.text+0xec): undefined reference tolibevdev_uinput_write_event'
/usr/bin/ld: out/input.o: in function free_evdev': input.c:(.text+0x14): undefined reference tolibevdev_get_fd'
/usr/bin/ld: input.c:(.text+0x20): undefined reference to libevdev_free' /usr/bin/ld: out/input.o: in functionbuild_fd_set':
input.c:(.text+0x110): undefined reference to libevdev_get_fd' /usr/bin/ld: out/input.o: in functionprocess_evdev_input':
input.c:(.text+0x578): undefined reference to libevdev_get_fd' /usr/bin/ld: input.c:(.text+0x5bc): undefined reference tolibevdev_get_fd'
/usr/bin/ld: input.c:(.text+0x620): undefined reference to libevdev_next_event' /usr/bin/ld: input.c:(.text+0x6a8): undefined reference tolibevdev_uinput_destroy'
/usr/bin/ld: out/rce.o: in function find_evdev': rce.c:(.text+0x1a4): undefined reference tolibevdev_new_from_fd'
/usr/bin/ld: rce.c:(.text+0x1f4): undefined reference to libevdev_has_event_type' /usr/bin/ld: rce.c:(.text+0x210): undefined reference tolibevdev_has_event_type'
/usr/bin/ld: rce.c:(.text+0x230): undefined reference to libevdev_has_event_code' /usr/bin/ld: rce.c:(.text+0x250): undefined reference tolibevdev_has_event_code'
/usr/bin/ld: rce.c:(.text+0x268): undefined reference to libevdev_get_name' /usr/bin/ld: rce.c:(.text+0x344): undefined reference tolibevdev_free'
collect2: error: ld returned 1 exit status
make: *** [Makefile:19: out/evdev-rce] Error 1
Device: Raspad (Raspberry Pi 4) Operating System: Raspberry OS (Bullseye)
Hi, I tried to install right click emulation on the latest release of the raspberry pi operating system. I got the compile errors listed below. I installed the emulation in the last release with no problems... Any hints would be appreciated....
gcc -Wall -std=c11 -D_POSIX_C_SOURCE=199309L -levdev -I/usr/include/libevdev-1.0 out/uinput.o out/input.o out/rce.o -o out/evdev-rce /usr/bin/ld: out/uinput.o: in function
uinput_initialize': uinput.c:(.text+0xc): undefined reference to
libevdev_new' /usr/bin/ld: uinput.c:(.text+0x1c): undefined reference tolibevdev_set_name' /usr/bin/ld: uinput.c:(.text+0x28): undefined reference to
libevdev_enable_event_type' /usr/bin/ld: uinput.c:(.text+0x3c): undefined reference tolibevdev_enable_event_code' /usr/bin/ld: uinput.c:(.text+0x58): undefined reference to
libevdev_uinput_create_from_device' /usr/bin/ld: uinput.c:(.text+0x74): undefined reference tolibevdev_free' /usr/bin/ld: out/uinput.o: in function
uinput_send_right_click': uinput.c:(.text+0xb0): undefined reference tolibevdev_uinput_write_event' /usr/bin/ld: uinput.c:(.text+0xc4): undefined reference to
libevdev_uinput_write_event' /usr/bin/ld: uinput.c:(.text+0xd8): undefined reference tolibevdev_uinput_write_event' /usr/bin/ld: uinput.c:(.text+0xec): undefined reference to
libevdev_uinput_write_event' /usr/bin/ld: out/input.o: in functionfree_evdev': input.c:(.text+0x14): undefined reference to
libevdev_get_fd' /usr/bin/ld: input.c:(.text+0x20): undefined reference tolibevdev_free' /usr/bin/ld: out/input.o: in function
build_fd_set': input.c:(.text+0x110): undefined reference tolibevdev_get_fd' /usr/bin/ld: out/input.o: in function
process_evdev_input': input.c:(.text+0x578): undefined reference tolibevdev_get_fd' /usr/bin/ld: input.c:(.text+0x5bc): undefined reference to
libevdev_get_fd' /usr/bin/ld: input.c:(.text+0x620): undefined reference tolibevdev_next_event' /usr/bin/ld: input.c:(.text+0x6a8): undefined reference to
libevdev_uinput_destroy' /usr/bin/ld: out/rce.o: in functionfind_evdev': rce.c:(.text+0x1a4): undefined reference to
libevdev_new_from_fd' /usr/bin/ld: rce.c:(.text+0x1f4): undefined reference tolibevdev_has_event_type' /usr/bin/ld: rce.c:(.text+0x210): undefined reference to
libevdev_has_event_type' /usr/bin/ld: rce.c:(.text+0x230): undefined reference tolibevdev_has_event_code' /usr/bin/ld: rce.c:(.text+0x250): undefined reference to
libevdev_has_event_code' /usr/bin/ld: rce.c:(.text+0x268): undefined reference tolibevdev_get_name' /usr/bin/ld: rce.c:(.text+0x344): undefined reference to
libevdev_free' collect2: error: ld returned 1 exit status make: *** [Makefile:19: out/evdev-rce] Error 1