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: Poor Yorick
Subject: Re: coreutils 7.4 build: previous declaration of '__u32' was here
Date: Wed, 27 May 2009 14:58:35 +0000

>  From: Mike Frysinger <address@hidden>
>  Sent: 2009-05-26 21:17
>  
>  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
>  >
...

>  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

After reading the bug report, I was able to build coreutils by invoking make
like so (running configure as normal):

    make LIB_SELINUX= SELINUX_CONTEXT_H=selinux/context.h 
SELINUX_SELINUX_H=selinux/selinux.h

This tip just got me the rest of my week back.  Many thanks!

-- 
Yorick
    




reply via email to

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