I'm having errors when doing a make for dwmblocks and I'm hoping this might find its way to a DWM user.
- Code: Select all
chris@mars:~/dwmblocks$ make
cp blocks.def.h blocks.h
cc `pkg-config --cflags x11 --libs x11` dwmblocks.c -o dwmblocks
/usr/bin/ld: /tmp/cc2DtK0H.o: in function `setroot':
dwmblocks.c:(.text+0x3d7): undefined reference to `XStoreName'
/usr/bin/ld: dwmblocks.c:(.text+0x3e6): undefined reference to `XFlush'
/usr/bin/ld: /tmp/cc2DtK0H.o: in function `setupX':
dwmblocks.c:(.text+0x3f9): undefined reference to `XOpenDisplay'
/usr/bin/ld: /tmp/cc2DtK0H.o: in function `main':
dwmblocks.c:(.text+0x6b9): undefined reference to `XCloseDisplay'
collect2: error: ld returned 1 exit status
make: *** [Makefile:5: output] Error 1
I appear to have all the bits in place since I don't have an issue compiling dwm.
Any help would be nice please.