From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Installing a C tool chain Date: Mon, 14 Apr 2014 21:16:31 +0200 Message-ID: <878ur73enk.fsf@gnu.org> References: <20140125164217.GA21259@debian> <20140125170440.GA4883@jocasta.intra> <871tzvu743.fsf@gnu.org> <20140126073815.GA19985@jocasta.intra> <20140126185413.GD9380@debian> <877g9mpmmd.fsf@gnu.org> <52E6213B.3020203@totakura.in> <87ha8pda3y.fsf_-_@gnu.org> <87wqhbz8wa.fsf@netris.org> <87ha671p6g.fsf@gnu.org> <20140414175414.GA21776@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZmN0-00049v-8r for guix-devel@gnu.org; Mon, 14 Apr 2014 15:16:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZmMs-0000sh-4D for guix-devel@gnu.org; Mon, 14 Apr 2014 15:16:42 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:56653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZmMr-0000rz-Ue for guix-devel@gnu.org; Mon, 14 Apr 2014 15:16:34 -0400 In-Reply-To: <20140414175414.GA21776@debian> (Andreas Enge's message of "Mon, 14 Apr 2014 19:54:14 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > On Sat, Apr 05, 2014 at 10:44:55PM +0200, Ludovic Court=C3=A8s wrote: >> Comments welcome! [...] > When I do a "./configure" of mpc, none of the standard headers are recogn= ised; > I obtain something like: > > configure:12920: checking for ANSI C header files > configure:13024: result: yes > configure:13035: checking locale.h usability > configure:13035: gcc -std=3Dgnu99 -c -g -Werror -g -std=3Dc99 -pedantic -= Wno-long-long -Wall -Wextra -Wdeclaration-after-statement -Wundef -Wshadow = -Wmissing-prototypes -Wno-unused-value -Wlogical-op -I/usr/local/gmp-6.0.0a= /include -I/usr/local/mpfr-3.1.2/include conftest.c >&5 > In file included from /home/enge/.guix-profile/include/stdio.h:27:0, > from conftest.c:24: > /home/enge/.guix-profile/include/features.h:232:36: error: "_XOPEN_SOURCE= " is not defined [-Werror=3Dundef] > #if ((!defined __STRICT_ANSI__ || (_XOPEN_SOURCE - 0) >=3D 500) && \ This is because you=E2=80=99re compiling with -Wundef -Werror, something th= at libc 2.19 headers apparently don=E2=80=99t support. Can you try without -Werror? Ludo=E2=80=99.