guix-devel
[Top][All Lists]
Advanced

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

Re: Installing a C tool chain


From: Ludovic Courtès
Subject: Re: Installing a C tool chain
Date: Mon, 14 Apr 2014 21:16:31 +0200
User-agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)

Andreas Enge <address@hidden> skribis:

> On Sat, Apr 05, 2014 at 10:44:55PM +0200, Ludovic Courtès wrote:
>> Comments welcome!

[...]

> When I do a "./configure" of mpc, none of the standard headers are recognised;
> 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=gnu99 -c -g -Werror -g -std=c99 -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=undef]
>  #if ((!defined __STRICT_ANSI__ || (_XOPEN_SOURCE - 0) >= 500) && \

This is because you’re compiling with -Wundef -Werror, something that
libc 2.19 headers apparently don’t support.

Can you try without -Werror?

Ludo’.



reply via email to

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