Re: [dev] [st] Compilation error after commit dc33d1d

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Tue, 18 Aug 2015 17:50:30 +0200

Greetings.

On Tue, 18 Aug 2015 17:50:30 +0200 Pickfire <pickfire_AT_riseup.net> 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

This is a mailinglist and no twitter conversation. Please show some re‐
spect to the people that should answer by at least providing one useful
sentence about what are asking for. Otherwise you are just a big ass‐
hole.


Sincerely,

Christoph Lohmann
Received on Tue Aug 18 2015 - 17:50:30 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 18 2015 - 18:00:17 CEST