九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 5793|回复: 2
打印 上一主题 下一主题

Android4.04 inand 文件系统编译

[复制链接]
跳转到指定楼层
楼主
发表于 2016-10-31 14:09:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
root@bil-VirtualBox:/work/source_code# ./mk -s
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=full_x210
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
host Java: guavalib (out/host/common/obj/JAVA_LIBRARIES/guavalib_intermediates/classes)
host C: acp <= build/tools/acp/acp.c
host C++: libhost <= build/libs/host/pseudolocalize.cpp
host C: libhost <= build/libs/host/CopyFile.c
build/tools/acp/acp.c:11: fatal error: stdlib.h: No such file or directory
compilation terminated.
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from build/libs/host/include/host/CopyFile.h:5,
                 from build/libs/host/CopyFile.c:11:
/usr/include/i386-linux-gnu/sys/stat.h:37: fatal error: time.h: No such file or directory
compilation terminated.
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] Error 1
In file included from /usr/include/c++/4.4/cwchar:47,
                 from /usr/include/c++/4.4/bits/postypes.h:42,
                 from /usr/include/c++/4.4/bits/char_traits.h:42,
                 from /usr/include/c++/4.4/string:42,
                 from build/libs/host/include/host/pseudolocalize.h:4,
                 from build/libs/host/pseudolocalize.cpp:1:
/usr/include/wchar.h:36: fatal error: stdio.h: No such file or directory
compilation terminated.
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o] Error 1
root@bil-VirtualBox:/work/source_code#
------------------------------------------------------------------
上面的错误怎么修改
回复

使用道具 举报

沙发
发表于 2016-10-31 15:51:02 | 只看该作者
你是不是环境没有配置好,执行sudo apt-get install libc6-dev-i386命令之后重新编译试试
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-11-22 16:46 , Processed in 0.017169 second(s), 17 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表