I am trying to build slstatus on freebsd. Updated config.mk (Here's the git diff from original version https://pastebin.com/JTaCuXyq) to set the include and library paths. However, still getting the following error messages when running make: https://pastebin.com/6hbF44eA
The weird thing is sndio.h is present in /usr/local/include and was imported correctly in components/volume.c but for some reason error message states that sioctl_* (which were defined in sndio.h) is undefined. Also, the kvm_openfiles bit in components/swap.c which the code imports from kvm.h but kvm.h is not present in either of those locations. I am guessing that has to do Linux's Kernel Virtual Machine and part of libkvm? Problem is I didn't find that package from pkg search.
Should I try to build slstatus without the swap and volume components?
The weird thing is sndio.h is present in /usr/local/include and was imported correctly in components/volume.c but for some reason error message states that sioctl_* (which were defined in sndio.h) is undefined. Also, the kvm_openfiles bit in components/swap.c which the code imports from kvm.h but kvm.h is not present in either of those locations. I am guessing that has to do Linux's Kernel Virtual Machine and part of libkvm? Problem is I didn't find that package from pkg search.
Should I try to build slstatus without the swap and volume components?