Compile problems with musl as libc
Status: Alpha
Brought to you by:
pmiller
I tried building a libexplain package on void linux but am getting problems on the musl as libc platform. You can see the build log here:
https://travis-ci.org/voidlinux/void-packages/jobs/99126248
The key part is as follows:
libexplain/buffer/errno/adjtimex.c: In function 'explain_buffer_errno_adjtimex_explanation': libexplain/buffer/errno/adjtimex.c:101:30: error: 'HZ' undeclared (first use in this function) long lo = 900000/HZ;
Where is HZ supposed to be defined? Should this be the one in /usr/include/asm-generic/param.h with the value 100? Any idea how I can get this to build?
Thanks