We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:(
collectd-5.1.0:cairo> uname -a SunOS cairo.our.org 5.10 Generic_144488-17 sun4u sparc SUNW,Sun-Fire-280R collectd-5.1.0:cairo> echo $PATH /usr/bin:/bin:/usr/sfw/bin:/usr/ccs/bin:/sbin:/usr/sbin collectd-5.1.0:cairo> ./configure --prefix=/usr/rcf-tools/collectd-5.1.0 --enable-all-plugins ... collectd-5.1.0:cairo> make 2>&1 | tee make.log ... nfs.c: In function `nfs_read_kstat': nfs.c:335: warning: passing arg 2 of `get_kstat_value' discards qualifiers from pointer target type *** Error code 1 make: Fatal error: Command failed for target `nfs.lo' ...
The text was updated successfully, but these errors were encountered:
Using --disable-nfs (booooo) leads to the same error when it gets to building the zfs-arc stuff. Bummed!
Though adding --disable-zfs-arc gets me a build at least.
Sorry, something went wrong.
Interesting. Built fine with Solaris Studio 12. Maybe need to mention that in the INSTALL?
Update: Well, so much for that. It crashes after 1 iteration with the same ksp != NULL assertion issue #71 :)
The argument is not const, because of a stupid interface that is used:
const
void *kstat_data_lookup(kstat_t *ksp, char *name);
nfs plugin: Copy the name before calling the non-const lookup function.
73b6265
Fixes Github issue #70. Thanks to Jeff for reporting this issue.
This patch contains a strange modification :
- const char **proc_names, size_t proc_names_num) + char const **proc_names, size_t proc_names_num)
The syntax should be const char, shouldn't it ?
const char
Yves
It doesn't matter. const is a type qualifier, char is a type specifier, and the ordering is not specified afaik.
octo
No branches or pull requests
:(
The text was updated successfully, but these errors were encountered: