[dev] dmenu compile help..

From: Madhu Rao <bgmrao_AT_gmail.com>
Date: Sun, 4 Nov 2012 23:14:25 +0530

I am new to dwm/dmenu. I was using xmonad for a while, but after using dwm for a couple of days, I have
switched to using dwm.
However, I am not able to compile dmenu. I guess, this is something rather stupid that's to
do with me, but I don't know how to resolve this.
(I am not a programmer by any means, by I do spend most of my time in linux,
as part of my job).

Thanks.
-------
 ~/bin/dmenu-4.5 $ make clean install
cleaning
dmenu build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I/usr/X11R6/include -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION="4.5"
LDFLAGS = -s -L/usr/X11R6/lib64 -lX11
CC = cc
CC -c dmenu.c
dmenu.c: In function ‚€˜keypress‚€™:
dmenu.c:248: error: ‚€˜XK_a‚€™ undeclared (first use in this function)
dmenu.c:248: error: (Each undeclared identifier is reported only once
dmenu.c:248: error: for each function it appears in.)
dmenu.c:248: error: ‚€˜XK_Home‚€™ undeclared (first use in this function)
dmenu.c:249: error: ‚€˜XK_b‚€™ undeclared (first use in this function)
dmenu.c:249: error: ‚€˜XK_Left‚€™ undeclared (first use in this function)
dmenu.c:250: error: ‚€˜XK_c‚€™ undeclared (first use in this function)
dmenu.c:250: error: ‚€˜XK_Escape‚€™ undeclared (first use in this function)
dmenu.c:251: error: ‚€˜XK_d‚€™ undeclared (first use in this function)
dmenu.c:251: error: ‚€˜XK_Delete‚€™ undeclared (first use in this function)
dmenu.c:252: error: ‚€˜XK_e‚€™ undeclared (first use in this function)
dmenu.c:252: error: ‚€˜XK_End‚€™ undeclared (first use in this function)
dmenu.c:253: error: ‚€˜XK_f‚€™ undeclared (first use in this function)
dmenu.c:253: error: ‚€˜XK_Right‚€™ undeclared (first use in this function)
dmenu.c:254: error: ‚€˜XK_h‚€™ undeclared (first use in this function)
dmenu.c:254: error: ‚€˜XK_BackSpace‚€™ undeclared (first use in this function)
dmenu.c:255: error: ‚€˜XK_i‚€™ undeclared (first use in this function)
dmenu.c:255: error: ‚€˜XK_Tab‚€™ undeclared (first use in this function)
dmenu.c:256: error: ‚€˜XK_j‚€™ undeclared (first use in this function)
dmenu.c:256: error: ‚€˜XK_Return‚€™ undeclared (first use in this function)
dmenu.c:257: error: ‚€˜XK_m‚€™ undeclared (first use in this function)
dmenu.c:258: error: ‚€˜XK_n‚€™ undeclared (first use in this function)
dmenu.c:258: error: ‚€˜XK_Down‚€™ undeclared (first use in this function)
dmenu.c:259: error: ‚€˜XK_p‚€™ undeclared (first use in this function)
dmenu.c:259: error: ‚€˜XK_Up‚€™ undeclared (first use in this function)
dmenu.c:261: error: ‚€˜XK_k‚€™ undeclared (first use in this function)
dmenu.c:265: error: ‚€˜XK_u‚€™ undeclared (first use in this function)
dmenu.c:268: error: ‚€˜XK_w‚€™ undeclared (first use in this function)
dmenu.c:274: error: ‚€˜XK_y‚€™ undeclared (first use in this function)
dmenu.c:283: error: ‚€˜XK_g‚€™ undeclared (first use in this function)
dmenu.c:284: error: ‚€˜XK_G‚€™ undeclared (first use in this function)
dmenu.c:286: error: ‚€˜XK_Next‚€™ undeclared (first use in this function)
dmenu.c:287: error: ‚€˜XK_Prior‚€™ undeclared (first use in this function)
dmenu.c:288: error: ‚€˜XK_l‚€™ undeclared (first use in this function)
dmenu.c:360: error: ‚€˜XK_KP_Enter‚€™ undeclared (first use in this function)
dmenu.c: In function ‚€˜paste‚€™:
dmenu.c:460: warning: dereferencing type-punned pointer will break strict-aliasing rules
make: *** [dmenu.o] Error 1
----
Received on Sun Nov 04 2012 - 18:44:25 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 04 2012 - 18:48:04 CET