Advertisement
Guest User

Untitled

a guest
Mar 17th, 2020
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. In file included from /usr/include/readline/readline.h:35,
  2. from main.c:2:
  3. /usr/include/readline/rltypedefs.h:71:28: error: unknown type name ‘FILE’
  4. 71 | typedef int rl_getc_func_t PARAMS((FILE *));
  5. | ^~~~~~
  6. In file included from /usr/include/readline/readline.h:36,
  7. from main.c:2:
  8. /usr/include/readline/rltypedefs.h:1:1: note: ‘FILE’ is defined in header ‘<stdio.h>’; did you forget to ‘#include <stdio.h>’?
  9. +++ |+#include <stdio.h>
  10. 1 | /* rltypedefs.h -- Type declarations for readline functions. */
  11. In file included from /usr/include/readline/readline.h:35,
  12. from main.c:2:
  13. /usr/include/readline/readline.h:438:20: error: unknown type name ‘FILE’
  14. 438 | extern int rl_getc PARAMS((FILE *));
  15. | ^~~~~~
  16. In file included from main.c:2:
  17. /usr/include/readline/readline.h:39:1: note: ‘FILE’ is defined in header ‘<stdio.h>’; did you forget to ‘#include <stdio.h>’?
  18. 38 | # include <readline/tilde.h>
  19. +++ |+#include <stdio.h>
  20. 39 | #endif
  21. /usr/include/readline/readline.h:568:8: error: unknown type name ‘FILE’
  22. 568 | extern FILE *rl_instream;
  23. | ^~~~
  24. /usr/include/readline/readline.h:569:8: error: unknown type name ‘FILE’
  25. 569 | extern FILE *rl_outstream;
  26. | ^~~~
  27. /usr/include/readline/readline.h:598:8: error: unknown type name ‘rl_getc_func_t’
  28. 598 | extern rl_getc_func_t *rl_getc_function;
  29. | ^~~~~~~~~~~~~~
  30. /usr/include/readline/readline.h:927:3: error: unknown type name ‘FILE’
  31. 927 | FILE *inf;
  32. | ^~~~
  33. /usr/include/readline/readline.h:928:3: error: unknown type name ‘FILE’
  34. 928 | FILE *outf;
  35. | ^~~~
  36. make: *** [Makefile:5: main.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement