cleaning
dwm build options:
CFLAGS = -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="4.1"
LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11
CC = cc
CC client.c
In file included from client.c:4:
dwm.h:35:22: error: X11/Xlib.h: No such file or directory
In file included from client.c:4:
dwm.h:55: error: expected specifier-qualifier-list before Bool
dwm.h:67: error: expected specifier-qualifier-list before Drawable
dwm.h:89: error: LASTEvent undeclared here (not in a function)
dwm.h:89: error: expected ) before * token
dwm.h:90: error: expected =, ,, ;, asm or __attribute__ before wmatom
dwm.h:91: error: expected =, ,, ;, asm or __attribute__ before selscreen
dwm.h:93: error: expected =, ,, ;, asm or __attribute__ before cursor
dwm.h:95: error: expected =, ,, ;, asm or __attribute__ before * token
dwm.h:97: error: expected =, ,, ;, asm or __attribute__ before root
dwm.h:106: error: expected ) before w
dwm.h:108: error: expected declaration specifiers or ... before Bool
dwm.h:138: error: expected ) before * token
dwm.h:142: error: expected =, ,, ;, asm or __attribute__ before isvisible
client.c:8:23: error: X11/Xutil.h: No such file or directory
client.c: In function attachstack:
client.c:14: error: Client has no member named snext
client.c: In function detachstack:
client.c:22: error: Client has no member named snext
client.c:23: error: Client has no member named snext
client.c: At top level:
client.c:27: error: expected declaration specifiers or ... before Bool
client.c: In function grabbuttons:
client.c:28: error: dpy undeclared (first use in this function)
client.c:28: error: (Each undeclared identifier is reported only once
client.c:28: error: for each function it appears in.)
client.c:28: error: AnyButton undeclared (first use in this function)
client.c:28: error: AnyModifier undeclared (first use in this function)
client.c:28: error: Client has no member named win
client.c:30: error: focused undeclared (first use in this function)
client.c:31: error: Button1 undeclared (first use in this function)
client.c:31: error: Mod1Mask undeclared (first use in this function)
client.c:31: error: Client has no member named win
client.c:31: error: False undeclared (first use in this function)
client.c:31: error: ButtonPressMask undeclared (first use in this function)
client.c:31: error: ButtonReleaseMask undeclared (first use in this function)
client.c:32: error: GrabModeAsync undeclared (first use in this function)
client.c:32: error: GrabModeSync undeclared (first use in this function)
client.c:32: error: None undeclared (first use in this function)
client.c:33: error: LockMask undeclared (first use in this function)
client.c:33: error: Client has no member named win
client.c:35: error: Client has no member named win
client.c:37: error: Client has no member named win
client.c:40: error: Button2 undeclared (first use in this function)
client.c:40: error: Client has no member named win
client.c:42: error: Client has no member named win
client.c:44: error: Client has no member named win
client.c:46: error: Client has no member named win
client.c:49: error: Button3 undeclared (first use in this function)
client.c:49: error: Client has no member named win
client.c:51: error: Client has no member named win
client.c:53: error: Client has no member named win
client.c:55: error: Client has no member named win
client.c:59: error: Client has no member named win
client.c: At top level:
client.c:64: error: expected =, ,, ;, asm or __attribute__ before isprotodel
client.c: In function setclientstate:
client.c:80: error: None undeclared (first use in this function)
client.c:82: error: dpy undeclared (first use in this function)
client.c:82: error: Client has no member named win
client.c:82: error: wmatom undeclared (first use in this function)
client.c:83: error: PropModeReplace undeclared (first use in this function)
client.c: At top level:
client.c:87: error: expected ) before * token
client.c: In function attach:
client.c:96: error: Client has no member named prev
client.c:97: error: Client has no member named next
client.c: In function configure:
client.c:103: error: XConfigureEvent undeclared (first use in this function)
client.c:103: error: expected ; before ce
client.c:105: error: ce undeclared (first use in this function)
client.c:105: error: request for member type in something not a structure or union
client.c:105: error: ConfigureNotify undeclared (first use in this function)
client.c:106: error: request for member display in something not a structure or union
client.c:106: error: dpy undeclared (first use in this function)
client.c:107: error: request for member event in something not a structure or union
client.c:107: error: Client has no member named win
client.c:108: error: request for member window in something not a structure or union
client.c:108: error: Client has no member named win
client.c:109: error: request for member x in something not a structure or union
client.c:110: error: request for member y in something not a structure or union
client.c:111: error: request for member width in something not a structure or union
client.c:112: error: request for member height in something not a structure or union
client.c:113: error: request for member border_width in something not a structure or union
client.c:114: error: request for member above in something not a structure or union
client.c:114: error: None undeclared (first use in this function)
client.c:115: error: request for member override_redirect in something not a structure or union
client.c:115: error: False undeclared (first use in this function)
client.c:116: error: Client has no member named win
client.c:116: error: StructureNotifyMask undeclared (first use in this function)
client.c:116: error: XEvent undeclared (first use in this function)
client.c:116: error: expected expression before ) token
client.c:116: error: invalid operands to binary *
client.c: In function detach:
client.c:121: error: Client has no member named prev
client.c:122: error: Client has no member named prev
client.c:122: error: request for member next in something not a structure or union
client.c:122: error: Client has no member named next
client.c:123: error: Client has no member named next
client.c:124: error: Client has no member named next
client.c:124: error: request for member prev in something not a structure or union
client.c:124: error: Client has no member named prev
client.c:126: error: Client has no member named next
client.c:126: warning: assignment from incompatible pointer type
client.c:127: error: Client has no member named next
client.c:127: error: Client has no member named prev
client.c: In function focus:
client.c:135: error: False undeclared (first use in this function)
client.c:135: error: too many arguments to function grabbuttons
client.c:136: error: dpy undeclared (first use in this function)
client.c:136: error: Client has no member named win
client.c:141: error: True undeclared (first use in this function)
client.c:141: error: too many arguments to function grabbuttons
client.c:145: error: selscreen undeclared (first use in this function)
client.c:148: error: Client has no member named win
client.c:149: error: Client has no member named win
client.c:149: error: RevertToPointerRoot undeclared (first use in this function)
client.c:149: error: CurrentTime undeclared (first use in this function)
client.c:152: error: root undeclared (first use in this function)
client.c: In function focustopvisible:
client.c:159: error: Client has no member named snext
client.c:159: warning: assignment from incompatible pointer type
client.c: In function killclient:
client.c:165: error: XEvent undeclared (first use in this function)
client.c:165: error: expected ; before ev
client.c:170: error: ev undeclared (first use in this function)
client.c:170: error: request for member type in something not a structure or union
client.c:170: error: ClientMessage undeclared (first use in this function)
client.c:171: error: request for member xclient in something not a structure or union
client.c:171: error: request for member window in something not a structure or union
client.c:171: error: Client has no member named win
client.c:172: error: request for member xclient in something not a structure or union
client.c:172: error: request for member message_type in something not a structure or union
client.c:172: error: wmatom undeclared (first use in this function)
client.c:173: error: request for member xclient in something not a structure or union
client.c:173: error: request for member format in something not a structure or union
client.c:174: error: request for member xclient in something not a structure or union
client.c:174: error: request for member data in something not a structure or union
client.c:174: error: request for member l in something not a structure or union
client.c:175: error: request for member xclient in something not a structure or union
client.c:175: error: request for member data in something not a structure or union
client.c:175: error: request for member l in something not a structure or union
client.c:175: error: CurrentTime undeclared (first use in this function)
client.c:175: warning: assignment makes integer from pointer without a cast
client.c:176: error: dpy undeclared (first use in this function)
client.c:176: error: Client has no member named win
client.c:176: error: False undeclared (first use in this function)
client.c:176: error: NoEventMask undeclared (first use in this function)
client.c:179: error: Client has no member named win
client.c: At top level:
client.c:183: error: expected ) before w
client.c:239: error: expected declaration specifiers or ... before Bool
client.c: In function resize:
client.c:241: error: XWindowChanges undeclared (first use in this function)
client.c:241: error: expected ; before wc
client.c:245: error: sizehints undeclared (first use in this function)
client.c:292: error: wc undeclared (first use in this function)
client.c:292: error: request for member x in something not a structure or union
client.c:292: warning: assignment makes integer from pointer without a cast
client.c:293: error: request for member y in something not a structure or union
client.c:293: warning: assignment makes integer from pointer without a cast
client.c:294: error: request for member width in something not a structure or union
client.c:294: warning: assignment makes integer from pointer without a cast
client.c:295: error: request for member height in something not a structure or union
client.c:295: warning: assignment makes integer from pointer without a cast
client.c:296: error: request for member border_width in something not a structure or union
client.c:297: error: dpy undeclared (first use in this function)
client.c:297: error: Client has no member named win
client.c:297: error: CWX undeclared (first use in this function)
client.c:297: error: CWY undeclared (first use in this function)
client.c:297: error: invalid operands to binary |
client.c:297: error: CWWidth undeclared (first use in this function)
client.c:297: error: invalid operands to binary |
client.c:297: error: CWHeight undeclared (first use in this function)
client.c:297: error: invalid operands to binary |
client.c:297: error: CWBorderWidth undeclared (first use in this function)
client.c:297: error: invalid operands to binary |
client.c:299: error: False undeclared (first use in this function)
client.c: In function togglefloating:
client.c:307: error: Client has no member named isfloating
client.c:307: error: Client has no member named isfloating
client.c: In function updatesizehints:
client.c:314: error: XSizeHints undeclared (first use in this function)
client.c:314: error: expected ; before size
client.c:316: error: dpy undeclared (first use in this function)
client.c:316: error: Client has no member named win
client.c:316: error: size undeclared (first use in this function)
client.c:316: error: request for member flags in something not a structure or union
client.c:317: error: request for member flags in something not a structure or union
client.c:317: error: PSize undeclared (first use in this function)
client.c:318: error: request for member flags in something not a structure or union
client.c:318: warning: assignment makes integer from pointer without a cast
client.c:319: error: PBaseSize undeclared (first use in this function)
client.c:319: error: invalid operands to binary &
client.c:320: error: request for member base_width in something not a structure or union
client.c:320: warning: assignment makes integer from pointer without a cast
client.c:321: error: request for member base_height in something not a structure or union
client.c:321: warning: assignment makes integer from pointer without a cast
client.c:323: error: PMinSize undeclared (first use in this function)
client.c:323: error: invalid operands to binary &
client.c:324: error: request for member min_width in something not a structure or union
client.c:324: warning: assignment makes integer from pointer without a cast
client.c:325: error: request for member min_height in something not a structure or union
client.c:325: warning: assignment makes integer from pointer without a cast
client.c:329: error: PResizeInc undeclared (first use in this function)
client.c:329: error: invalid operands to binary &
client.c:330: error: request for member width_inc in something not a structure or union
client.c:330: warning: assignment makes integer from pointer without a cast
client.c:331: error: request for member height_inc in something not a structure or union
client.c:331: warning: assignment makes integer from pointer without a cast
client.c:335: error: PMaxSize undeclared (first use in this function)
client.c:335: error: invalid operands to binary &
client.c:336: error: request for member max_width in something not a structure or union
client.c:336: warning: assignment makes integer from pointer without a cast
client.c:337: error: request for member max_height in something not a structure or union
client.c:337: warning: assignment makes integer from pointer without a cast
client.c:341: error: invalid operands to binary &
client.c:342: error: request for member min_width in something not a structure or union
client.c:342: warning: assignment makes integer from pointer without a cast
client.c:343: error: request for member min_height in something not a structure or union
client.c:343: warning: assignment makes integer from pointer without a cast
client.c:345: error: invalid operands to binary &
client.c:346: error: request for member base_width in something not a structure or union
client.c:346: warning: assignment makes integer from pointer without a cast
client.c:347: error: request for member base_height in something not a structure or union
client.c:347: warning: assignment makes integer from pointer without a cast
client.c:351: error: PAspect undeclared (first use in this function)
client.c:351: error: invalid operands to binary &
client.c:352: error: request for member min_aspect in something not a structure or union
client.c:352: error: request for member x in something not a structure or union
client.c:352: warning: assignment makes integer from pointer without a cast
client.c:353: error: request for member max_aspect in something not a structure or union
client.c:353: error: request for member x in something not a structure or union
client.c:353: warning: assignment makes integer from pointer without a cast
client.c:354: error: request for member min_aspect in something not a structure or union
client.c:354: error: request for member y in something not a structure or union
client.c:354: warning: assignment makes integer from pointer without a cast
client.c:355: error: request for member max_aspect in something not a structure or union
client.c:355: error: request for member y in something not a structure or union
client.c:355: warning: assignment makes integer from pointer without a cast
client.c:359: error: Client has no member named isfixed
client.c: In function updatetitle:
client.c:367: error: XTextProperty undeclared (first use in this function)
client.c:367: error: expected ; before name
client.c:369: error: name undeclared (first use in this function)
client.c:369: error: request for member nitems in something not a structure or union
client.c:371: error: dpy undeclared (first use in this function)
client.c:371: error: Client has no member named win
client.c:371: error: netatom undeclared (first use in this function)
client.c:372: error: request for member nitems in something not a structure or union
client.c:373: error: Client has no member named win
client.c:374: error: request for member nitems in something not a structure or union
client.c:376: error: request for member encoding in something not a structure or union
client.c:376: error: Atom undeclared (first use in this function)
client.c:376: error: expected ) before numeric constant
client.c:377: error: request for member value in something not a structure or union
client.c:379: error: Success undeclared (first use in this function)
client.c:380: warning: comparison between pointer and integer
client.c:387: error: request for member value in something not a structure or union
client.c: In function unmanage:
client.c:392: error: XWindowChanges undeclared (first use in this function)
client.c:392: error: expected ; before wc
client.c:394: error: wc undeclared (first use in this function)
client.c:394: error: request for member border_width in something not a structure or union
client.c:396: error: dpy undeclared (first use in this function)
client.c:397: error: xerrordummy undeclared (first use in this function)
client.c:398: error: Client has no member named win
client.c:398: error: CWBorderWidth undeclared (first use in this function)
client.c:403: error: AnyButton undeclared (first use in this function)
client.c:403: error: AnyModifier undeclared (first use in this function)
client.c:403: error: Client has no member named win
client.c:404: error: WithdrawnState undeclared (first use in this function)
client.c:404: warning: passing argument 2 of setclientstate makes integer from pointer without a cast
client.c:405: error: Client has no member named tags
client.c:407: error: False undeclared (first use in this function)
client.c:408: error: xerror undeclared (first use in this function)
make: *** [client.o] Error 1