[转]ubuntu bits/predefs.h:没有那个文件或目录

时间:2022-03-14 04:59:10

[转]ubuntu bits/predefs.h:没有那个文件或目录

(2012-04-28 10:09:38)

标签:

it

分类: Linux
In file included from /usr/include/stdlib.h:25,
                 from build/tools/acp/acp.c:11:
/usr/include/features.h:323: 致命错误: bits/predefs.h:没有那个文件或目录
编译中断。
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] 错误 1

解决方法:
1. 确定你的系统是x86_64 GNU/Linux
       root@mm-desktop:/home/mm/android# uname -a
       Linux mm-desktop 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008   x86_64 GNU/Linux
  安装libc6-dev-i386
     sudo apt-get install libc6-dev-i386

 
2. 32位系统:sudo apt-get install libc6-dev
 
3. 输入sudo apt-get install gcc-multilib 即可