portals.c: In function 'g_net_is_set': portals.c:259:12: error: passing argument 1 of 'printf' from incompatible pointer type [-Werror] "You must run '--net LNET_NETWORK %s'\n", cmd); ^ In file included from portals.c:30:0: /usr/include/stdio.h:362:12: note: expected 'const char * __restrict__' but argument is of type '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]: *** [lctl-portals.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2