九鼎创展论坛
标题:
Android4.04 inand 文件系统编译
[打印本页]
作者:
zhangwencw
时间:
2016-10-31 14:09
标题:
Android4.04 inand 文件系统编译
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#
------------------------------------------------------------------
上面的错误怎么修改
作者:
hhy
时间:
2016-10-31 15:51
你是不是环境没有配置好,执行sudo apt-get install libc6-dev-i386命令之后重新编译试试
欢迎光临 九鼎创展论坛 (http://bbs.9tripod.com/)
Powered by Discuz! X3.2