**Gcc编译器报错:gcc -m32报错**
Gcc编译器报错:gcc -m32报错 :/work/printf_myself$ gcc -m32 -o push_test push_test.c In file included from /usr/include/stdio.h:27:0, from push_test.c:12: /usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or direct ory compilation terminated. 原因:ubantu是64位,执行32位命令报错 解决办法:在保证Ubantu有网的情况下,执行以下命令: sudo apt-get update sudo apt-get purge libc6-dev sudo apt-get install libc6-dev sudo apt-get install libc6-dev-i386 即可解决。 来源: CSDN 作者: someone_sometime 链接: https://blog.csdn.net/someone_sometime/article/details/103958242