On Tue, Jul 05, 2016 at 06:14:07AM +0300, Andrei Borzenkov wrote:
05.07.2016 00:56, Dutch Ingraham пишет: No, solution is to add
-I/usr/include/freetype2
to CFLAGS.
Thanks - that worked. However, I'm now getting two further errors:
dwm.c: In function ‘updatestatus’:
dwm.c:1996:23: error: expected ‘)’ before ‘VERSION’
strcpy(stext, "dwm-"VERSION);
^
dwm.c: In function ‘main’:
dwm.c:2127:13: error: expected ‘)’ before ‘VERSION’
die("dwm-"VERSION "\n");
^
Makefile:18: recipe for target 'dwm.o' failed
make: *** [dwm.o] Error 1
Interestingly, this is the same code (checked with sha1) that I have
compiled on a number of different distros (and one BSD) without error.
The only non-constants seem to be (1) the distro, and (2) slight
variations in GCC version.
Based upon (2), its difficult to compare default GCC specs with certainty,
but I did run a couple of checks (like