Attached is a patch to cvs openafs/src/aklog and a Makefile that I just built a working command line aklog with.