ad3658@cus-survox1 pspp-1.4.0]$ clear [ad3658@cus-survox1 pspp-1.4.0]$ make check make check-recursive make[1]: Entering directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0' Making check in gl make[2]: Entering directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/gl' make check-recursive make[3]: Entering directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/gl' make[4]: Entering directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/gl' depbase=`echo fopen.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu11 -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -g -O2 -MT fopen.lo -MD -MP -MF $depbase.Tpo -c -o fopen.lo fopen.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -g -O2 -MT fopen.lo -MD -MP -MF .deps/fopen.Tpo -c fopen.c -fPIC -DPIC -o .libs/fopen.o In file included from ./stdio.h:33:0, from fopen.c:26: /usr/include/stdio.h:48:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’ typedef struct _IO_FILE FILE; ^ fopen.c:29:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ static FILE * ^ fopen.c:29:1: error: unknown type name ‘FILE’ In file included from ./stdio.h:33:0, from stdio.h:43, from fopen.c:38: /usr/include/stdio.h:195:1: error: unknown type name ‘FILE’ extern FILE *tmpfile (void) __wur; ^ /usr/include/stdio.h:205:1: error: unknown type name ‘FILE’ extern FILE *tmpfile64 (void) __wur; ^ /usr/include/stdio.h:237:20: error: unknown type name ‘FILE’ extern int fclose (FILE *__stream); ^ /usr/include/stdio.h:242:20: error: unknown type name ‘FILE’ extern int fflush (FILE *__stream); ^ /usr/include/stdio.h:252:29: error: unknown type name ‘FILE’ extern int fflush_unlocked (FILE *__stream); ^ /usr/include/stdio.h:272:1: error: unknown type name ‘FILE’ extern FILE *fopen (const char *__restrict __filename, ^ /usr/include/stdio.h:278:1: error: unknown type name ‘FILE’ extern FILE *freopen (const char *__restrict __filename, ^ /usr/include/stdio.h:280:9: error: unknown type name ‘FILE’ FILE *__restrict __stream) __wur; ^ /usr/include/stdio.h:297:1: error: unknown type name ‘FILE’ extern FILE *fopen64 (const char *__restrict __filename, ^ /usr/include/stdio.h:299:1: error: unknown type name ‘FILE’ extern FILE *freopen64 (const char *__restrict __filename, ^ /usr/include/stdio.h:301:4: error: unknown type name ‘FILE’ FILE *__restrict __stream) __wur; ^ /usr/include/stdio.h:306:1: error: unknown type name ‘FILE’ extern FILE *fdopen (int __fd, const char *__modes) __THROW __wur; ^ /usr/include/stdio.h:312:1: error: unknown type name ‘FILE’ extern FILE *fopencookie (void *__restrict __magic_cookie, ^ /usr/include/stdio.h:319:1: error: unknown type name ‘FILE’ extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) ^ /usr/include/stdio.h:325:1: error: unknown type name ‘FILE’ extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW __wur; ^ /usr/include/stdio.h:332:21: error: unknown type name ‘FILE’ extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __THROW; ^ /usr/include/stdio.h:336:21: error: unknown type name ‘FILE’ extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, ^ /usr/include/stdio.h:343:24: error: unknown type name ‘FILE’ extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, ^ /usr/include/stdio.h:347:25: error: unknown type name ‘FILE’ extern void setlinebuf (FILE *__stream) __THROW; ^ /usr/include/stdio.h:356:21: error: unknown type name ‘FILE’ extern int fprintf (FILE *__restrict __stream, ^ /usr/include/stdio.h:371:22: error: unknown type name ‘FILE’ extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, ^ /usr/include/stdio.h:425:20: error: unknown type name ‘FILE’ extern int fscanf (FILE *__restrict __stream, ^ /usr/include/stdio.h:471:21: error: unknown type name ‘FILE’ extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, ^ /usr/include/stdio.h:531:19: error: unknown type name ‘FILE’ extern int fgetc (FILE *__stream); ^ /usr/include/stdio.h:532:18: error: unknown type name ‘FILE’ extern int getc (FILE *__stream); ^ /usr/include/stdio.h:550:27: error: unknown type name ‘FILE’ extern int getc_unlocked (FILE *__stream); ^ /usr/include/stdio.h:561:28: error: unknown type name ‘FILE’ extern int fgetc_unlocked (FILE *__stream); ^ /usr/include/stdio.h:573:28: error: unknown type name ‘FILE’ extern int fputc (int __c, FILE *__stream); ^ /usr/include/stdio.h:574:27: error: unknown type name ‘FILE’ extern int putc (int __c, FILE *__stream); ^ /usr/include/stdio.h:594:37: error: unknown type name ‘FILE’ extern int fputc_unlocked (int __c, FILE *__stream); ^ /usr/include/stdio.h:602:36: error: unknown type name ‘FILE’ extern int putc_unlocked (int __c, FILE *__stream); ^ /usr/include/stdio.h:610:18: error: unknown type name ‘FILE’ extern int getw (FILE *__stream); ^ /usr/include/stdio.h:613:27: error: unknown type name ‘FILE’ extern int putw (int __w, FILE *__stream); ^ /usr/include/stdio.h:622:52: error: unknown type name ‘FILE’ extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ /usr/include/stdio.h:650:9: error: unknown type name ‘FILE’ FILE *__restrict __stream) __wur; ^ /usr/include/stdio.h:667:11: error: unknown type name ‘FILE’ FILE *__restrict __stream) __wur; ^ /usr/include/stdio.h:670:9: error: unknown type name ‘FILE’ FILE *__restrict __stream) __wur; ^ /usr/include/stdio.h:680:8: error: unknown type name ‘FILE’ FILE *__restrict __stream) __wur; ^ /usr/include/stdio.h:689:47: error: unknown type name ‘FILE’ extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ /usr/include/stdio.h:702:29: error: unknown type name ‘FILE’ extern int ungetc (int __c, FILE *__stream); ^ /usr/include/stdio.h:710:20: error: unknown type name ‘FILE’ size_t __n, FILE *__restrict __stream) __wur; ^ /usr/include/stdio.h:716:21: error: unknown type name ‘FILE’ size_t __n, FILE *__restrict __s); ^ /usr/include/stdio.h:727:7: error: unknown type name ‘FILE’ FILE *__restrict __stream); ^ /usr/include/stdio.h:738:22: error: unknown type name ‘FILE’ size_t __n, FILE *__restrict __stream) __wur; ^ /usr/include/stdio.h:740:23: error: unknown type name ‘FILE’ size_t __n, FILE *__restrict __stream); ^ /usr/include/stdio.h:749:19: error: unknown type name ‘FILE’ extern int fseek (FILE *__stream, long int __off, int __whence); ^ /usr/include/stdio.h:754:24: error: unknown type name ‘FILE’ extern long int ftell (FILE *__stream) __wur; ^ /usr/include/stdio.h:759:21: error: unknown type name ‘FILE’ extern void rewind (FILE *__stream); ^ /usr/include/stdio.h:773:20: error: unknown type name ‘FILE’ extern int fseeko (FILE *__stream, __off_t __off, int __whence); ^ /usr/include/stdio.h:778:24: error: unknown type name ‘FILE’ extern __off_t ftello (FILE *__stream) __wur; ^ /usr/include/stdio.h:798:21: error: unknown type name ‘FILE’ extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); ^ /usr/include/stdio.h:803:21: error: unknown type name ‘FILE’ extern int fsetpos (FILE *__stream, const fpos_t *__pos); ^ /usr/include/stdio.h:818:22: error: unknown type name ‘FILE’ extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); ^ /usr/include/stdio.h:819:28: error: unknown type name ‘FILE’ extern __off64_t ftello64 (FILE *__stream) __wur; ^ /usr/include/stdio.h:820:23: error: unknown type name ‘FILE’ extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); ^ /usr/include/stdio.h:821:23: error: unknown type name ‘FILE’ extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos); ^ /usr/include/stdio.h:826:23: error: unknown type name ‘FILE’ extern void clearerr (FILE *__stream) __THROW; ^ /usr/include/stdio.h:828:18: error: unknown type name ‘FILE’ extern int feof (FILE *__stream) __THROW __wur; ^ /usr/include/stdio.h:830:20: error: unknown type name ‘FILE’ extern int ferror (FILE *__stream) __THROW __wur; ^ /usr/include/stdio.h:835:32: error: unknown type name ‘FILE’ extern void clearerr_unlocked (FILE *__stream) __THROW; ^ /usr/include/stdio.h:836:27: error: unknown type name ‘FILE’ extern int feof_unlocked (FILE *__stream) __THROW __wur; ^ /usr/include/stdio.h:837:29: error: unknown type name ‘FILE’ extern int ferror_unlocked (FILE *__stream) __THROW __wur; ^ In file included from ./stdio.h:33:0, from stdio.h:43, from fopen.c:38: /usr/include/stdio.h:858:20: error: unknown type name ‘FILE’ extern int fileno (FILE *__stream) __THROW __wur; ^ /usr/include/stdio.h:863:29: error: unknown type name ‘FILE’ extern int fileno_unlocked (FILE *__stream) __THROW __wur; ^ /usr/include/stdio.h:873:1: error: unknown type name ‘FILE’ extern FILE *popen (const char *__command, const char *__modes) __wur; ^ /usr/include/stdio.h:879:20: error: unknown type name ‘FILE’ extern int pclose (FILE *__stream); ^ /usr/include/stdio.h:913:24: error: unknown type name ‘FILE’ extern void flockfile (FILE *__stream) __THROW; ^ /usr/include/stdio.h:917:26: error: unknown type name ‘FILE’ extern int ftrylockfile (FILE *__stream) __THROW __wur; ^ /usr/include/stdio.h:920:26: error: unknown type name ‘FILE’ extern void funlockfile (FILE *__stream) __THROW; ^ In file included from /usr/include/stdio.h:934:0, from ./stdio.h:33, from stdio.h:43, from fopen.c:38: /usr/include/bits/stdio.h:53:17: error: unknown type name ‘FILE’ fgetc_unlocked (FILE *__fp) ^ /usr/include/bits/stdio.h:63:16: error: unknown type name ‘FILE’ getc_unlocked (FILE *__fp) ^ /usr/include/bits/stdio.h:88:26: error: unknown type name ‘FILE’ fputc_unlocked (int __c, FILE *__stream) ^ /usr/include/bits/stdio.h:98:25: error: unknown type name ‘FILE’ putc_unlocked (int __c, FILE *__stream) ^ /usr/include/bits/stdio.h:115:41: error: unknown type name ‘FILE’ getline (char **__lineptr, size_t *__n, FILE *__stream) ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ./stdio.h:33, from stdio.h:43, from fopen.c:38: /usr/include/bits/stdio.h:125:1: error: unknown type name ‘FILE’ __NTH (feof_unlocked (FILE *__stream)) ^ /usr/include/bits/stdio.h:132:1: error: unknown type name ‘FILE’ __NTH (ferror_unlocked (FILE *__stream)) ^ In file included from fopen.c:38:0: stdio.h:782:1: error: unknown type name ‘FILE’ _GL_FUNCDECL_RPL (fopen, FILE *, ^ In file included from /usr/include/sys/types.h:219:0, from ./sys/types.h:39, from stdio.h:58, from fopen.c:38: stdio.h:809:1: error: unknown type name ‘FILE’ _GL_FUNCDECL_RPL (fprintf, int, ^ stdio.h:1084:1: error: unknown type name ‘FILE’ _GL_FUNCDECL_RPL (ftell, long, (FILE *fp) _GL_ARG_NONNULL ((1))); ^ stdio.h:1104:1: error: unknown type name ‘FILE’ _GL_FUNCDECL_RPL (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1))); ^ stdio.h:1223:1: error: unknown type name ‘FILE’ _GL_FUNCDECL_RPL (getdelim, ssize_t, ^ stdio.h:1266:1: error: unknown type name ‘FILE’ _GL_FUNCDECL_RPL (getline, ssize_t, ^ stdio.h:1805:1: error: unknown type name ‘FILE’ _GL_FUNCDECL_RPL (vfprintf, int, ^ fopen.c:47:1: error: unknown type name ‘FILE’ FILE * ^ fopen.c: In function ‘rpl_fopen’: fopen.c:174:9: error: unknown type name ‘FILE’ FILE *fp; ^ fopen.c:213:7: error: unknown type name ‘FILE’ FILE *fp; ^ fopen.c:230:3: warning: implicit declaration of function ‘orig_fopen’ [-Wimplicit-function-declaration] return orig_fopen (filename, mode); ^ fopen.c:230:3: warning: return makes pointer from integer without a cast [enabled by default] make[4]: *** [fopen.lo] Error 1 make[4]: Leaving directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/gl' make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/gl' make[2]: *** [check] Error 2 make[2]: Leaving directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/gl' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0' make: *** [check] Error 2