It looks like the makefile in STABLE have the following lines that the HEAD does not: # Without this line, gmake tries to build libafs.o .PHONY: libafs I know that I have done builds of the head, I did the kernel module development using the HEAD source first. Given the comment in the makefile fragment above, I suspect that the reason it worked for me is that I didn't use gmake.