If USENDIR is defined as a result of running Configure and your file system has > 32K inodes, you have the potential of receiving the above error message. Change od_ino in ndir.c from a short to ino_t/ushort/long. I sent mail to Larry, but the fix is trivial enough that I thought it wouldn't hurt to post it.