For me at least the change introduced in revision 1.6 of ptserver.c breaks the build. Where should the ptserver be picking up the definitions of these prototypes from? It's quite possible this is a Debian bug.