The problem is a missing function called makedev, not a program.makedev() is actually a macro and you need to include the correct header for it.
It is possible to add the following line in mailbox.c to fix it:#include <sys/sysmacros.h>