error: implicitly declaring library function 'printf' with type 'int (const char *, ...)' while building Juliacollider
michaelmariaott opened this issue · comments
michaelmariaott commented
I get the following error while trying to build Julia, even though I made sure I have all the debendencies installed:
/Users/michaelott/Documents/Juliacollider/deps/julia/src/gf.c:70:9: error: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Werror,-Wimplicit-function-declaration]
printf("Invalid method instance \n");
^
/Users/michaelott/Documents/Juliacollider/deps/julia/src/gf.c:70:9: note: include the header <stdio.h> or explicitly provide a declaration for 'printf'
4 warnings and 1 error generated.
make[1]: *** [gf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
4 warnings generated.
4 warnings generated.
4 warnings generated.
make: *** [julia-src-release] Error 2