MrGlockenspiel / activate-linux

The "Activate Windows" watermark ported to Linux
GNU General Public License v3.0
4.25k stars 91 forks source link

linking failure on linux #131

Closed apprehensions closed 1 year ago

apprehensions commented 2 years ago
cc src/activate_linux.c src/color.c src/draw.c src/i18n.c src/wayland.c src/wlr-layer-shell-unstable-v1.c src/x11.c src/xdg_shell.c -o activate-linux -Og -Wall -Wpedantic -Wextra -lX11 -lXfixes -lXinerama -lXrandr -lwayland-client -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -lcairo
/bin/ld: /tmp/cczFeUf3.o: in function `anonymous_shm_open':
wayland.c:(.text+0x1b5): undefined reference to `shm_open'
/bin/ld: wayland.c:(.text+0x1d8): undefined reference to `shm_unlink'
collect2: error: ld returned 1 exit status
make: *** [Makefile:29: activate-linux] Error 1

all dependencies installed.

Nefsen402 commented 2 years ago

Does #128 fix this for you?