Menu

#3 Compile problems with musl as libc

v1.0 (example)
open
nobody
None
5
2016-01-22
2016-01-22
No

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

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.