../sysdeps/unix/sysv/linux/bits/uio.h:20:3: error: #error "Never include <bits/uio.h> directly; use <sys/uio.h> instead."

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

../sysdeps/unix/sysv/linux/bits/uio.h:20:3: error: #error "Never include <bits/uio.h> directly; use <sys/uio.h> instead."

Khem Raj-2

I am getting this error while compiling trunk glibc

In file included from ../sysdeps/unix/sysv/linux/i386/bits/fcntl.h:27,
                 from ../io/fcntl.h:34,
                 from ../include/fcntl.h:2,
                 from ../sysdeps/unix/sysv/linux/init-first.c:22:
../sysdeps/unix/sysv/linux/bits/uio.h:20:3: error: #error "Never include
<bits/uio.h> directly; use <sys/uio.h> instead."

This error does not occur for me on a week old snapshot.

I think this might be due to the below check in.

2006-04-26  Ulrich Drepper  <[hidden email]>

        * sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice.
        * sysdeps/unix/sysv/linux/Versions: Export vmsplice@@GLIBC_2.5.
        * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Declare vmsplice.
        * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
        * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
        * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
        * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
        * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
        * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
        * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.

        * sysdeps/unix/sysv/linux/bits/uio.h: Fix a typo in a comment.

        * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused
        bugs not to be reported.

        * nscd/nscd.h (struct database_dyn): Add propagate field.
        * nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines.
        * nscd/nscd.conf: Add auto-propagate lines.
        * nscd/connections.c (dbs): Initialize .propagate fields.
        * nscd/grpcache.c (cache_addgr): Do not add ID entry for name
        and vice versa if propagation is disabled for the database.
        * nscd/pwdcache.c (cache_addpw): Likewise.