Tried to run the command "$ apt-get install build-essential binutils-gold" but unfortunately didn't work. Still the same errors
dict_nis.c:173: error: undefined reference to 'yp_match'
dict_nis.c:187: error: undefined reference to 'yp_match'
dict_nis.c:81: error: undefined reference to 'yp_get_default_domain'
collect2: ld returned 1 exit status
make: *** [sendmail] Error 1
make: *** [update] Error 1
This is coming from dict_nis_init. I wonder what kind of header files I'd need for this to be recognized by the server.
I don't know if binutils-dev might do the trick here. It's a trial and error experiment.