undefined reference to `__stack_chk_fail' 使用ld链接gcc编译的.o文件,出现了这个错误解决办法是gcc编译的时候关闭栈保护,加上编译选项 -fno- […] 2018-01-040 条评论