fix compile bugs in all files

Signed-off-by: feixiaoxing <feixiaoxing@163.com>
add tree file

Signed-off-by: feixiaoxing <feixiaoxing@163.com>