Ubuntu64位的想实现32位编译遇到的问题

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.找了好久,最后这两段解决了问题

解决方法:
第一步:sudo apt-get –fix-broken install;
第二步:sudo apt-get install libc6-dev-i386

你可能感兴趣的:(Ubuntu64位的想实现32位编译遇到的问题)