[Top][All Lists]

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

[bug-gsrc] pspp

From: carl hansen
Subject: [bug-gsrc] pspp
Date: Wed, 27 Apr 2016 17:28:21 -0700

configure: error: <wchar.h> cannot be used with this compiler (gcc -g -O2  -pthread -I/opt/gsrc/include/pango-1.0 -I/opt/gsrc/include/glib-2.0 -I/opt/gsrc/lib/glib-2.0/include -I/opt/gnome/include -I/opt/gnome/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng12).
This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
C99 mode. You have four options:
  - Add the flag -fgnu89-inline to CC and reconfigure, or
  - Fix your include files, using parts of
    <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
  - Use a gcc version older than 4.3, or
  - Don't use the flags -std=c99 or -std=gnu99.
Configuration aborted.
../../gar.lib.mk:426: recipe for target 'configure-work/pspp-0.10.1/configure' failed
make: *** [configure-work/pspp-0.10.1/configure] Error 1

On the face of it, error message is WRONG.

I have glibc 2.23 and gcc 6.1 (5.3 also fails)
And none of suggested fixes work.......

like someone said, old gnulib problem apparently.

reply via email to

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