Skip to content

Build fails on Fedora. #316

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

Open
TheWizardTower opened this issue Apr 14, 2025 · 0 comments
Open

Build fails on Fedora. #316

TheWizardTower opened this issue Apr 14, 2025 · 0 comments

Comments

@TheWizardTower
Copy link

[merlin@Familiar warpd]$ make
mkdir bin
mkdir: cannot create directory ‘bin’: File exists
make: [Makefile:7: all] Error 1 (ignored)
gcc src/cfg.c src/input.c src/hint_drw.c src/discrete.c src/grid.c src/hints.c src/main.c  -lXfixes -lXext -lXi -lXtst -lX11 -lXft -I/usr/include/freetype2 -DCOMMIT=\"01650eabf70846deed057a77ada3c0bbb6d97d6e\" -o bin/warp  
src/input.c: In function ‘input_keyseq_to_string’:
src/input.c:220:9: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations]
  220 |         strcpy(s + i, XKeysymToString(XKeycodeToKeysym(dpy, code, 0)));
      |         ^~~~~~
In file included from src/input.c:27:
/usr/include/X11/Xlib.h:1683:15: note: declared here
 1683 | extern KeySym XKeycodeToKeysym(
      |               ^~~~~~~~~~~~~~~~
src/discrete.c: In function ‘discrete_warp’:
src/discrete.c:232:25: error: implicit declaration of function ‘XTestFakeButtonEvent’ [-Wimplicit-function-declaration]
  232 |                         XTestFakeButtonEvent(dpy, btn, True, CurrentTime);
      |                         ^~~~~~~~~~~~~~~~~~~~
src/main.c: In function ‘proc_args’:
src/main.c:114:33: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations]
  114 |                                 const char *s = XKeysymToString(XKeycodeToKeysym(dpy, i, 0));
      |                                 ^~~~~
In file included from src/main.c:26:
/usr/include/X11/Xlib.h:1683:15: note: declared here
 1683 | extern KeySym XKeycodeToKeysym(
      |               ^~~~~~~~~~~~~~~~
make: *** [Makefile:8: all] Error 1

I suspect I have a newer version of Xlib than warp is expecting.

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

No branches or pull requests

1 participant