Description of problem:
/usr/include/asm/param.h (included in glibc-kernheaders-2.4-8.36)
defines HZ as sysconf(_SC_CLK_TCK) but doesn't include unistd.h, where
the _SC_CLK_TCK is defined. This at least breaks the compilation of
To Fix: apply this patch
@@ -2,6 +2,7 @@
#define HZ sysconf(_SC_CLK_TCK)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I'd like to make the observation that this change (now appearing in
glibc-kernheaders-2.4-8.41) breaks the compilation of inetutils-1.4.2
revoke.c:15: error: conflicting types for `revoke'
/usr/include/unistd.h:810: error: previous declaration of `revoke'
make: *** [revoke.o] Error 1
This would suggest that the change may be bogus. Or it may just mean
the inetutils package is broken.
inetutils is broken I suspect; after all why include a private kernel
header if you can't deal with a posix namespace...
Yep, I've looked into it a bit deeper. Your suspicions are correct.
This header change just exposed a latent bug in inetutils methinks.
Every other package I've compiled so far has been fine. Sorry for
wasting your time.
This issue has been fixed in glibc-kernheaders from at least release