delete some functions.
fix some compile error.
include clib.h in kernel.c