编译Android源码 解决:[out/host/linux-x86/obj/SHARED_LIBRARIES/libclearsilver-jni_intermediates/j_neo_util.o] 错误 1

编译android源码时遇到这样一个问题:
bfind: `drm/java': 没有那个文件或目录
find: `drm/java': 没有那个文件或目录
external/qemu/Makefile.android:1107: 警告:覆盖关于目标“external/qemu/android/avd/hw-config-defs.h”的命令
external/qemu/Makefile.android:939: 警告:忽略关于目标“external/qemu/android/avd/hw-config-defs.h”的旧命令
host C: libclearsilver-jni <= external/clearsilver/java-jni/j_neo_util.c
In file included from /usr/include/features.h:378,
                 from /usr/include/string.h:26,
                 from external/clearsilver/java-jni/j_neo_util.c:1:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: 没有那个文件或目录
make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libclearsilver-jni_intermediates/j_neo_util.o] 错误 1


解决办法:
  1. sudo apt-get install lib64z1-dev libc6-dev-amd64 g++-multilib lib64stdc++6 


你可能感兴趣的:(Android源码)