Hi,
I have a Raspberry Pi 4 which works wonderfully with Ubuntu Mate and I would like to have the Right Click Long press touch command active on my Pi Tablet. I have it working on other Pi Os's, but failed to do so for Ubuntu Mate.
I've been following the instructions here: Enable right-click for the Raspberry Pi touchscreen
After I install packages, git cloning and changing the directory into 'evdev-right-click-emulation,' whenever I try to use the command 'make all' I get an error stating 'make: *** No rule to make target 'all'. Stop' instead.
I looked around and I believe it had something to do with sdl/sdl-devel not being installed?
I'm unsure, but I believe a package is missing.
Is there anyway to get this up and running at all, cause I would really love to be able to have Ubuntu Touch on the go.
Anyway questions regarding this or advice given would be very well appreciated.
Mike
1 Like
Welcome @hi-from-mike to the community!
This link shows there is an issue with the Makefile, modify it (changes are on line 5 and 19)
opened 02:28PM - 28 Nov 21 UTC
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 to `libevdev_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 to `libevdev_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 to `libevdev_free'
/usr/bin/ld: out/uinput.o: in function `uinput_send_right_click':
uinput.c:(.text+0xb0): undefined reference to `libevdev_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 to `libevdev_uinput_write_event'
/usr/bin/ld: uinput.c:(.text+0xec): undefined reference to `libevdev_uinput_write_event'
/usr/bin/ld: out/input.o: in function `free_evdev':
input.c:(.text+0x14): undefined reference to `libevdev_get_fd'
/usr/bin/ld: input.c:(.text+0x20): undefined reference to `libevdev_free'
/usr/bin/ld: out/input.o: in function `build_fd_set':
input.c:(.text+0x110): undefined reference to `libevdev_get_fd'
/usr/bin/ld: out/input.o: in function `process_evdev_input':
input.c:(.text+0x578): undefined reference to `libevdev_get_fd'
/usr/bin/ld: input.c:(.text+0x5bc): undefined reference to `libevdev_get_fd'
/usr/bin/ld: input.c:(.text+0x620): undefined reference to `libevdev_next_event'
/usr/bin/ld: input.c:(.text+0x6a8): undefined reference to `libevdev_uinput_destroy'
/usr/bin/ld: out/rce.o: in function `find_evdev':
rce.c:(.text+0x1a4): undefined reference to `libevdev_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 to `libevdev_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 to `libevdev_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 to `libevdev_free'
collect2: error: ld returned 1 exit status
make: *** [Makefile:19: out/evdev-rce] Error 1
2 Likes