No, you aren't supposed to build any of that. You can look at it and incorporate the code in your own projects with respect to any licensing restrictions. But don't assume that any Apple open source code will, or is supposed to, build outside of Apple.
so is it worth the effort trying to compile this project?
What’s your end goal here? A lot of the tools in
network_cmdsuse APIs of questionable stability, so it’s better to avoid going there if possible. And depending on your specific goals there may be better options.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"