Advertisement
Guest User

errors

a guest
Feb 15th, 2025
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. sudo make clean install
  2. [sudo] password for oc:
  3. rm -f dwm drw.o dwm.o util.o dwm-6.5.tar.gz
  4. cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"6.5\" -DXINERAMA drw.c
  5. cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"6.5\" -DXINERAMA dwm.c
  6. dwm.c: In function ‘buttonpress’:
  7. dwm.c:470:13: warning: variable ‘arg’ set but not used [-Wunused-but-set-variable]
  8. 470 | Arg arg = {0};
  9. | ^~~
  10. dwm.c:469:28: warning: variable ‘click’ set but not used [-Wunused-but-set-variable]
  11. 469 | unsigned int i, x, click;
  12. | ^~~~~
  13. dwm.c: At top level:
  14. dwm.c:537:11: error: expected identifier or ‘(’ before ‘else’
  15. 537 | } else if ((c = wintoclient(ev->window))) {
  16. | ^~~~
  17. dwm.c:543:9: error: expected identifier or ‘(’ before ‘for’
  18. 543 | for (i = 0; i < LENGTH(buttons); i++)
  19. | ^~~
  20. dwm.c:543:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
  21. 543 | for (i = 0; i < LENGTH(buttons); i++)
  22. | ^
  23. dwm.c:543:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
  24. 543 | for (i = 0; i < LENGTH(buttons); i++)
  25. | ^~
  26. dwm.c:547:1: error: expected identifier or ‘(’ before ‘}’ token
  27. 547 | }
  28. | ^
  29. dwm.c: In function ‘getstatusbarpid’:
  30. dwm.c:1053:42: error: ‘STATUSBAR’ undeclared (first use in this function)
  31. 1053 | if (!strcmp(str, STATUSBAR))
  32. | ^~~~~~~~~
  33. dwm.c:1053:42: note: each undeclared identifier is reported only once for each function it appears in
  34. dwm.c:1057:37: error: expected ‘)’ before ‘STATUSBAR’
  35. 1057 | if (!(fp = popen("pidof -s "STATUSBAR, "r")))
  36. | ~ ^~~~~~~~~
  37. | )
  38. dwm.c:1057:20: error: too few arguments to function ‘popen’
  39. 1057 | if (!(fp = popen("pidof -s "STATUSBAR, "r")))
  40. | ^~~~~
  41. In file included from dwm.c:27:
  42. /usr/include/stdio.h:893:14: note: declared here
  43. 893 | extern FILE *popen (const char *__command, const char *__modes)
  44. | ^~~~~
  45. dwm.c: At top level:
  46. dwm.c:2017:1: warning: ‘sigstatusbar’ defined but not used [-Wunused-function]
  47. 2017 | sigstatusbar(const Arg *arg)
  48. | ^~~~~~~~~~~~
  49. make: *** [Makefile:12: dwm.o] Error 1
  50.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement