portals.c: In function ‘g_net_is_set’: portals.c:258:11: error: passing argument 1 of ‘printf’ from incompatible pointer type [-Werror=incompatible-pointer-types] printf(stderr, ^~~~~~ In file included from portals.c:30: /usr/include/stdio.h:332:43: note: expected ‘const char * restrict’ but argument is of type ‘FILE *’ {aka ‘struct _IO_FILE *’} extern int printf (const char *__restrict __format, ...); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ portals.c:251:9: error: unused variable ‘net’ [-Werror=unused-variable] char *net; ^~~ cc1: all warnings being treated as errors make[4]: *** [Makefile:1921: lctl-portals.o] Error 1 make[3]: *** [Makefile:2234: all-recursive] Error 1 make[2]: *** [autoMakefile:534: all-recursive] Error 1 make[1]: *** [autoMakefile:738: all-recursive] Error 1 make: *** [autoMakefile:590: all] Error 2