若在ubuntu上编译代码遇到”__stack_chk_fail_local”错误时,在makefile CFLAGS中加入”-fno-stack-protector” 注意是在gcc编译时加上参数,不是在ld链接时加上