
报错:
$ gcc -m32 -g -fno-stack-protector -z execstack -o buf1 buf1.c
In file included from buf1.c:2:
/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: 没有那个文件或目录
27 | #include <bits/libc-header-start.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
解决:
sudo apt-get install gcc-multilib
网友评论