bug-coreutils
[Top][All Lists]
Advanced

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

Re: ls.c doesn't compile


From: Kamil Dudka
Subject: Re: ls.c doesn't compile
Date: Sat, 9 Jan 2010 21:00:56 +0100
User-agent: KMail/1.9.10

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

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