bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSPP-BUG: PSPP make check errors


From: Ruth Waite
Subject: Re: PSPP-BUG: PSPP make check errors
Date: Thu, 27 Aug 2020 19:46:14 +0000

Here are the results of make -k: 

[ad3658@cus-survox1 pspp-1.4.0]$ make -k
make  all-recursive
make[1]: Entering directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0'
Making all in gl
make[2]: Entering directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/gl'
make  all-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
depbase=`echo ftello.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 ftello.lo -MD -MP -MF $depbase.Tpo -c -o ftello.lo ftello.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -std=gnu11 -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -g -O2 -MT ftello.lo -MD -MP -MF .deps/ftello.Tpo -c ftello.c  -fPIC -DPIC -o .libs/ftello.o
ftello.c: In function ‘rpl_ftello’:
ftello.c:53:7: error: ‘fp_’ undeclared (first use in this function)
   if (fp_->_flag & _IOWRT)
       ^
ftello.c:53:7: note: each undeclared identifier is reported only once for each function it appears in
ftello.c:53:20: error: ‘_IOWRT’ undeclared (first use in this function)
   if (fp_->_flag & _IOWRT)
                    ^
make[4]: *** [ftello.lo] Error 1
make[4]: Target `all-am' not remade because of errors.
make[4]: Leaving directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/gl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/gl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/gl'
Making all in po
make[2]: Entering directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/po'
make[2]: Leaving directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0/po'
make[2]: Entering directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0'
make[2]: *** No rule to make target `gl/libgl.la', needed by `src/libpspp-core.la'.
make[2]: Target `all-am' not remade because of errors.
make[2]: Leaving directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ad/ad36/ad3658/Downloads/pspp-1.4.0'
make: *** [all] Error 2
[ad3658@cus-survox1 pspp-1.4.0]$



From: John Darrington <john@darrington.wattle.id.au>
Sent: Thursday, August 27, 2020 3:30 PM
To: Ruth Waite <ruth.waite@wayne.edu>
Cc: John Darrington <john@darrington.wattle.id.au>; bug-gnu-pspp@gnu.org <bug-gnu-pspp@gnu.org>
Subject: Re: PSPP-BUG: PSPP make check errors
 
I'm starting to think this is a problem with Gnulib.

Can you try building with "make -k" to see what other errors arise (if any).

J'

On Thu, Aug 27, 2020 at 06:58:42PM +0000, Ruth Waite wrote:
     hello ran fine and produced hello world as expected.
    
     log file attached.
    
     ________________________________
     From: John Darrington <john@darrington.wattle.id.au>
     Sent: Thursday, August 27, 2020 2:09 PM
     To: Ruth Waite <ruth.waite@wayne.edu>
     Cc: John Darrington <john@darrington.wattle.id.au>; bug-gnu-pspp@gnu.org <bug-gnu-pspp@gnu.org>
     Subject: Re: PSPP-BUG: PSPP make check errors
    
     Can you send your config.log file (it's large so you might have to compress it).
    
     Also, can you try compiling a very simple "hello world" program, like:
    
     #include <stdio.h>
    
     void main (void)
     {
       printf ("hello world\n");
     }
    
    
    
     Thanks.
    
    
    
     On Thu, Aug 27, 2020 at 05:41:58PM +0000, Ruth Waite wrote:
          Sorry, total noob.
    
          I think the standard C library is /usr/lib/libc-2.17.so. If this does not make sense, can you tell me how to determine the standard C library?
    
          stdio.h file:
    
          /* Define outside of namespace so the C++ is happy.  */
          struct _IO_FILE;
    
          __BEGIN_NAMESPACE_STD
          /* The opaque type of streams. This is the definition used elsewhere. */
          typedef struct _IO_FILE FILE;   <<<--- LINE48
          _END_NAMESPACE_STD
    
          The error reads:  /usr/include/stdio.h:48:1: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?typedef? typedef struct _IO_FILE FILE;
    
          Thanks so much for your help!
          ________________________________
          From: John Darrington <john@darrington.wattle.id.au>
          Sent: Thursday, August 27, 2020 12:34 PM
          To: Ruth Waite <ruth.waite@wayne.edu>
          Cc: bug-gnu-pspp@gnu.org <bug-gnu-pspp@gnu.org>
          Subject: Re: PSPP-BUG: PSPP make check errors
    
          This is strange.   It looks almost like a problem with your standard C library.
          What standard C library do you have installed? and what version?
    
          What do you see immediately before line 48 in /usr/include/stdio.h ?
    
          J'
    
          On Thu, Aug 27, 2020 at 03:19:36PM +0000, Ruth Waite wrote:
               Please see attached errors when attempting to install PSPP on Oracle Linux Server 7.8.
    
               Thank you for your attention to this matter.
    
               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 *



reply via email to

[Prev in Thread] Current Thread [Next in Thread]