just compiled ndmjob on Solaris (7 and 10), after few modifications:
Inclusion of sys/va_list.h added before any other inclusion in
ndma_comm_dispatch.c
ndma_comm_job.c
ndma_comm_session.c
ndma_comm_subr.c
ndma_control.c
ndma_cops_backreco.c
ndmagents.h
ndmjob_args.c
ndmjob_job.c
ndmjob_main.c
ndmjob_rules.c
ndmlib.h
wraplib.c
I'm certain that this is not required in all of these, but it works (for me(c))!