[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Strange error!



Hello,

I don't know if this is the wrong form but I'm using dwm and trying to add the centermaster patch but I get errors 

---

  1. joe@debian:~/dwm$ sudo make install clean
  2. dwm build options:
  3. CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION="6.4" -DXINERAMA
  4. LDFLAGS = -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft
  5. CC = cc
  6. cp config.def.h config.h
  7. 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_POSIX_C_SOURCE=200809L -DVERSION=\"6.4\" -DXINERAMA drw.c
  8. 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_POSIX_C_SOURCE=200809L -DVERSION=\"6.4\" -DXINERAMA dwm.c
  9. dwm.c:2350:1: error: redefinition of centeredmaster
  10. 2350 | centeredmaster(Monitor *m)
  11. | ^~~~~~~~~~~~~~
  12. dwm.c:2247:1: note: previous definition of centeredmaster with type void(Monitor *)
  13. 2247 | centeredmaster(Monitor *m)
  14. | ^~~~~~~~~~~~~~
  15. dwm.c:2405:1: error: redefinition of centeredfloatingmaster
  16. 2405 | centeredfloatingmaster(Monitor *m)
  17. | ^~~~~~~~~~~~~~~~~~~~~~
  18. dwm.c:2302:1: note: previous definition of centeredfloatingmaster with type void(Monitor *)
  19. 2302 | centeredfloatingmaster(Monitor *m)
  20. | ^~~~~~~~~~~~~~~~~~~~~~
  21. make: *** [Makefile:18: dwm.o] Error 1

---

I know how to patch a little I've patched about 4 layouts already. Never ran into this

The guys over at #suckless take a while to respond on irc so I decided to reach out

Thanks

Joe B

Joe B - Chat @ Spike1tvfry

Reply to: