I am working on a centOS 5.5 OS.
It shows error that /security/pam_appl.h and /security/misc.h file is missing.
Actually my rshd.c does not load
if someone is looking for debian/ubuntu, try this sudo apt-get install libpam0g-dev
sudo apt-get install libpam0g-dev