Definitively, this is THE solution.
I upgraded libcap from 2.16 to 2.18, and coreutils compiles well now.

Thank you.

Le 09/01/2010 21:00, Kamil Dudka a écrit :
> 
> On Friday 08 of January 2010 11:08:48 Jean Philippe EIMER wrote:
>> Compiling coreutils 8.3 fails at ls.c, with gcc 4.4.2, glibc 2.11.1 and
>> kernel 2.6.32.3 :
>>
>> In file included from /usr/include/bits/sigcontext.h:28,
>>                  from /usr/include/signal.h:339,
>>                  from ../lib/signal.h:34,
>>                  from ls.c:67:
>> /usr/include/asm/sigcontext.h:28: error: expected
>> specifier-qualifier-list before '__u64'
>> /usr/include/asm/sigcontext.h:267: error: expected
>> specifier-qualifier-list before '__u64'
>>
>> Moving up  #include <signal.h> just after  #include <sys/types.h> in
>> src/ls.c solves this compilation issue.
> 
> It looks to me like https://bugzilla.redhat.com/483548 - it has been 
> discussed 
> several times on this mailing list. You can find it going through the 
> archive.
> 
> Simply speaking the problem is in the header <sys/capability.h> - it hasn't 
> been ready for userspace until some point. You can solve it by configuring 
> coreutils with --disable-libcap or updating the package providing 
> <sys/capability.h>.
> 
> Is that actually the case?
> 
> Kamil
> 
> 
> 



Reply via email to