Closed thecodsman closed 6 months ago
it doesnt compile. here is the output when I run sudo make clean install:
sudo make clean install
rm -f dwm drw.o dwm.o util.o dwm-6.5.tar.gz rm -f dwm-msg cc -c -std=c99 -pedantic -Wall -Wno-unused-function -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 cc -c -std=c99 -pedantic -Wall -Wno-unused-function -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 cc -c -std=c99 -pedantic -Wall -Wno-unused-function -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 util.c cc -o dwm drw.o dwm.o util.o -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft /usr/bin/ld: dwm.o: in function `manage': dwm.c:(.text+0x5516): undefined reference to `xcb_res_query_client_ids' /usr/bin/ld: dwm.c:(.text+0x5529): undefined reference to `xcb_res_query_client_ids_reply' /usr/bin/ld: dwm.c:(.text+0x5543): undefined reference to `xcb_res_query_client_ids_ids_iterator' /usr/bin/ld: dwm.c:(.text+0x5570): undefined reference to `xcb_res_client_id_value_value' /usr/bin/ld: dwm.c:(.text+0x557d): undefined reference to `xcb_res_client_id_value_next' /usr/bin/ld: dwm.o: in function `main': dwm.c:(.text.startup+0xad): undefined reference to `XGetXCBConnection' collect2: error: ld returned 1 exit status make: *** [Makefile:29: dwm] Error 1
here are my patches:
#define BAR_DWMBLOCKS_PATCH 1 #define BAR_LTSYMBOL_PATCH 1 #define BAR_STATUS_PATCH 1 #define BAR_STATUS2D_XRDB_TERMCOLORS_PATCH 1 #define BAR_TAGS_PATCH 1 #define BAR_WINTITLE_PATCH 1 #define COMBO_PATCH 1 #define MOVESTACK_PATCH 1 #define PERTAG_PATCH 1 #define STACKER_PATCH 1 #define STICKY_PATCH 1 #define SWALLOW_PATCH 1 #define SWAPTAGS_PATCH 1 #define TOGGLEFULLSCREEN_PATCH 1 #define VANITYGAPS_PATCH 1 #define WARP_PATCH 1 #define TILE_LAYOUT 1 #define MONOCLE_LAYOUT 1
Some patches have dependencies on additional libraries which needs to be uncommented in config.mk before you compile, e.g.
https://github.com/bakkeby/dwm-flexipatch/blob/a18f3ef370110c85d9001aced4b0cb1c96a075bf/config.mk#L48-L49
ty, it compiles now. now I just gotta get it to the point I want it to be lol
it doesnt compile. here is the output when I run
sudo make clean install
:here are my patches: