You are not logged in.
I recently applied the bottom stack patch and everything was fine, then I tried to apply the pertag patch, after which I found out was not compatible with the bottom stack, so I tried to apply the updated pertag patch. I'm trying to compile and I'm getting these errors:
dwm build options:
CFLAGS = -g -std=c99 -pedantic -Wall -O0 -I. -I/usr/include -I/usr/X11R6/include -DVERSION="5.8" -DXINERAMA
LDFLAGS = -g -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama
CC = cc
CC dwm.c
dwm.c:283: error: redefinition of 'struct Monitor'
dwm.c: In function 'cleanupmon':
dwm.c:531: warning: unused variable 'i'
dwm.c: In function 'togglebar':
dwm.c:1681: error: 'Monitor' has no member named 'showbars'
make: *** [dwm.o] Error 1
Here is my dwm.c file.
http://ompldr.org/vNjV4eg
Anyone know how to fix this? I don't know where to start in the dwm.c file.
Last edited by finh (2010-11-15 02:01:44)
Offline
I'm not sure what you have done - but you have two struct Monitor entries...
The simplest way to get it working is to patch pertag to a vanilla dwm.c and then hand patch bstack.
Offline
yeap, I just started from scratch and applied the new patches.
thanks.
Offline