On Tue, Aug 18, 2015 at 08:28:41PM +0800, Pickfire wrote: > st build options: > CFLAGS = -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os -I. > -I/usr/include -I/usr/X11R6/include -I/usr/include/freetype2 > -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 > -I/usr/include/libpng16 -I/usr/include/harfbuzz > -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz > -DVERSION="0.6" -D_XOPEN_SOURCE=600 > LDFLAGS = -g -L/usr/lib -lc -L/usr/X11R6/lib -lm -lrt -lX11 -lutil > -lXext -lXft -lfontconfig -lfreetype -lfreetype > CC = cc > CC st.c > st.c: In function ‘xinit’: > st.c:3487:37: error: ‘mouseshape’ undeclared (first use in this > function) > cursor = XCreateFontCursor(xw.dpy, mouseshape); > ^ > st.c:3487:37: note: each undeclared identifier is reported only once for > each function it appears in > st.c:3490:45: error: ‘mousefg’ undeclared (first use in this function) > if (XParseColor(xw.dpy, xw.cmap, colorname[mousefg], &xmousefg) == 0) > { > ^ > st.c:3496:45: error: ‘mousebg’ undeclared (first use in this function) > if (XParseColor(xw.dpy, xw.cmap, colorname[mousebg], &xmousebg) == 0) > { > ^ > Makefile:21: recipe for target 'st.o' failed > make: *** [st.o] Error 1
Your config.h is old.