This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: capability headers question
- To: Arkadiusz Miskiewicz <misiek at pld dot org dot pl>
- Subject: Re: capability headers question
- From: Andreas Jaeger <aj at suse dot de>
- Date: 22 Apr 2001 21:28:55 +0200
- Cc: libc-alpha at sources dot redhat dot com
- References: <20010422212218.A27646@ikar.t17.ds.pwr.wroc.pl>
Arkadiusz Miskiewicz <misiek@pld.ORG.PL> writes:
> Hi,
>
> Problem with glibc 2.2.2 vs kernel 2.4 (2.2 is ok) headers:
>
> #include <string.h>
> #include <sys/capability.h>
sys/capability.h? That's not part of glibc.
> int main() { return 0; }
>
> [misiek@arm misiek]$ gcc -O2 test.c -o /dev/null
> In file included from /usr/include/linux/fs.h:23,
> from /usr/include/linux/capability.h:17,
> from /usr/include/sys/capability.h:24,
> from test.c:2:
> /usr/include/linux/string.h:12: parse error before `__extension__'
If you mix kernel and glibc headers, you might get problems. This
doesn't look like a glibc bug.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj