bug-coreutils
[Top][All Lists]
Advanced

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

Re: coreutils 7.4 build: previous declaration of '__u32' was here


From: Mike Frysinger
Subject: Re: coreutils 7.4 build: previous declaration of '__u32' was here
Date: Tue, 26 May 2009 17:17:55 -0400
User-agent: KMail/1.11.3 (Linux/2.6.29.2; KDE/4.2.3; x86_64; ; )

On Tuesday 26 May 2009 17:05:29 Kamil Dudka wrote:
> On Tuesday 26 of May 2009 22:55:37 Poor Yorick wrote:
> > Building coreutils to install in an alternate location which has its own
> > libcap and glibc (self-compiled):
> >
> >       CC     ls.o
> >     In file included from ls.c:43:
> >
> >     /path/to/include/sys/capability.h:34: error: redefinition of typedef
> >     '__u32'
> >
> >     /path/to/glibc/include/asm-generic/int-ll64.h:24: note: previous
> >     declaration of '__u32' was here
> >
> > Any suggestions on the root cause or workaround for this?
>
> It might be caused by this bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=483548
>
> As workaround you can try to move sys/capability.h include down in the
> order. I am not sure now if this is the right point in your case, but worth
> to try anyway.

just look at sys/capability.h itself.  the bug is right -- it's a mess.  
remove all the crap from that header and everything "magically" works.
http://sources.gentoo.org/sys-libs/libcap/files/libcap-2.16-drop-linux-
workarounds.patch
-mike




reply via email to

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