util-linux build fails with glibc HEAD
Andrew Walrond
andrew@walrond.org
Sat Jan 25 18:02:00 GMT 2003
Indeed yes, as I'd just discovered. Adding #include <errno.h>
to pivot_root.c fixes the problem
Andries, please apply this trivial fix to util-linux/mount/pivot_root.c
Andrew Walrond
Jeff Bailey wrote:
>
> Your code probably doesn't #include <errno.h>. Make sure that it does
> that. The old glibc used to allow non-standards compliant code to
> compile and work. Recent glibcs aren't as permissive. Note that old
> binaries run against the new glibc will fail (either silently or at
> startup time, depending on whether the bug related to that has been
> fixed or not)
>
> Tks,
> Jeff Bailey
>
More information about the Libc-alpha
mailing list