Skip to content

Build fails on Fedora. #316

Description

@TheWizardTower
[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions