~/dwmblocks$ mdwm
rm -f dwm drw.o dwm.o util.o dwm-6.6.tar.gz
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.6" -DXINERAMA drw.c
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.6" -DXINERAMA dwm.c
dwm.c: In function ‘getstatusbarpid’:
dwm.c:1118:42: error: ‘STATUSBAR’ undeclared (first use in this function)
1118 | if (!strcmp(str, STATUSBAR))
| ^~~~~~~~~
dwm.c:1118:42: note: each undeclared identifier is reported only once for each function it appears in
dwm.c:1122:37: error: expected ‘)’ before ‘STATUSBAR’
1122 | if (!(fp = popen("pidof -s "STATUSBAR, "r")))
| ~ ^~~~~~~~~
| )
dwm.c:1122:20: error: too few arguments to function ‘popen’
1122 | if (!(fp = popen("pidof -s "STATUSBAR, "r")))
| ^~~~~
In file included from dwm.c:27:
/usr/include/stdio.h:893:14: note: declared here
893 | extern FILE *popen (const char *__command, const char *__modes)
| ^~~~~
dwm.c: At top level:
dwm.c:1938:1: warning: ‘sigstatusbar’ defined but not used [-Wunused-function]
1938 | sigstatusbar(const Arg *arg)
| ^~~~~~~~~~~~
dwm.c:801:1: warning: ‘drawstatusbar’ defined but not used [-Wunused-function]
801 | drawstatusbar(Monitor m, int bh, char stext) {
| ^~~~~~~~~~~~~
make: *** [Makefile:12: dwm.o] Error 1
~/dwmblocks$ mdwm
rm -f dwm drw.o dwm.o util.o dwm-6.6.tar.gz
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.6" -DXINERAMA drw.c
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.6" -DXINERAMA dwm.c
dwm.c: In function ‘getstatusbarpid’:
dwm.c:1118:42: error: ‘STATUSBAR’ undeclared (first use in this function)
1118 | if (!strcmp(str, STATUSBAR))
| ^~~~~~~~~
dwm.c:1118:42: note: each undeclared identifier is reported only once for each function it appears in
dwm.c:1122:37: error: expected ‘)’ before ‘STATUSBAR’
1122 | if (!(fp = popen("pidof -s "STATUSBAR, "r")))
| ~ ^~~~~~~~~
| )
dwm.c:1122:20: error: too few arguments to function ‘popen’
1122 | if (!(fp = popen("pidof -s "STATUSBAR, "r")))
| ^~~~~
In file included from dwm.c:27:
/usr/include/stdio.h:893:14: note: declared here
893 | extern FILE *popen (const char *__command, const char *__modes)
| ^~~~~
dwm.c: At top level:
dwm.c:1938:1: warning: ‘sigstatusbar’ defined but not used [-Wunused-function]
1938 | sigstatusbar(const Arg *arg)
| ^~~~~~~~~~~~
dwm.c:801:1: warning: ‘drawstatusbar’ defined but not used [-Wunused-function]
801 | drawstatusbar(Monitor m, int bh, char stext) {
| ^~~~~~~~~~~~~
make: *** [Makefile:12: dwm.o] Error 1