[Top][All Lists]

[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 17:41:58 +0000

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;

/* The opaque type of streams. This is the definition used elsewhere. */
typedef struct _IO_FILE FILE;   <<<--- LINE48

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 ?


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]