To compile on NetBSD, you need GNU make. Otherwise, the build process fails when make tries to run lint on C++ files.
lint