unable to include capability.h

Daniel Lezcano daniel.lezcano at free.fr
Fri Jun 12 11:48:15 UTC 2009


Hi,

I hope this is the right mailing list ...

I installed a f11 and tried to compile a simple program:

#include <sys/capability.h>
int main(int argc, char *argv[])
{
return 0;
}

But the compilation fails with the error:

In file included from /usr/include/sys/capability.h:23,
from myinclude.c:1:
/usr/include/stdint.h:41: error: conflicting types for ‘int64_t’
/usr/include/linux/types.h:98: note: previous declaration of ‘int64_t’ 
was here
/usr/include/stdint.h:56: error: conflicting types for ‘uint64_t’
/usr/include/linux/types.h:96: note: previous declaration of ‘uint64_t’ 
was here
make: *** [myinclude] Error 1

Is there a trick for that or is it a bug ?

Thanks in advance
-- Daniel




More information about the fedora-devel-list mailing list