might want to run gcc-config to re set your C compiler, generally when you get this error is either due to broken CFLAGS or flat out not having the compiler in the expected path. might need ldconfig also
make make all-recursive make[1]: Entering directory `redshift-1.7' Making all in src make[2]: Entering directory `redshift-1.7/src' Making all in gtk-redshift make[3]: Entering directory `redshift-1.7/src/gtk-redshift' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `redshift-1.7/src/gtk-redshift' make[3]: Entering directory `redshift-1.7/src' CC redshift.o In file included from redshift.c:61: gamma-randr.h:33: error: expected specifier-qualifier-list before ‘xcb_randr_crtc_t’ make[3]: *** [redshift.o] Error 1 make[3]: Leaving directory `redshift-1.7/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `redshift-1.7/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `redshift-1.7' make: *** [all] Error 2