If you have problems compiling acerhk on the latest ubuntu distribution modify
/usr/src/`uname -r`/Makefile and comment :
ifdef CONFIG_FUNCTION_TRACER
#KBUILD_CFLAGS<->+= -pg
endif
Remove the comment after the successful compile so you leave the sources as they were.