[Top][All Lists]

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

Re: PSPP-BUG: PSPP make check errors

From: John Darrington
Subject: Re: PSPP-BUG: PSPP make check errors
Date: Thu, 27 Aug 2020 20:09:30 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

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");


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;
     /* 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 
     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 
          Making check in gl
          make[2]: Entering directory 
          make  check-recursive
          make[3]: Entering directory 
          make[4]: Entering directory 
          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 
          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]