Firefly开源社区

打印 上一主题 下一主题

[Android] Firefly-RK3399编译Android8.1失败

79

积分

0

威望

0

贡献

技术小白

积分
79

Firefly-RK3399编译Android8.1失败

发表于 2019-5-20 09:43:55      浏览:2616 | 回复:1        打印      只看该作者   [复制链接] 楼主
  1. root@liuyu-virtual-machine:~/rk3399/Firefly-RK3399_Android8.1_git_SDK_20180901/Firefly-rk3399# ./FFTools/make.sh -a
  2. including device/rockchip/rk3399/vendorsetup.sh
  3. including sdk/bash_completion/adb.bash

  4. ============================================
  5. PLATFORM_VERSION_CODENAME=REL
  6. PLATFORM_VERSION=8.1.0
  7. TARGET_PRODUCT=rk3399_firefly_mid
  8. TARGET_BUILD_VARIANT=userdebug
  9. TARGET_BUILD_TYPE=release
  10. TARGET_PLATFORM_VERSION=OPM1
  11. TARGET_BUILD_APPS=
  12. TARGET_ARCH=arm64
  13. TARGET_ARCH_VARIANT=armv8-a
  14. TARGET_CPU_VARIANT=cortex-a53
  15. TARGET_2ND_ARCH=arm
  16. TARGET_2ND_ARCH_VARIANT=armv7-a-neon
  17. TARGET_2ND_CPU_VARIANT=cortex-a15
  18. HOST_ARCH=x86_64
  19. HOST_2ND_ARCH=x86
  20. HOST_OS=linux
  21. HOST_OS_EXTRA=Linux-4.10.0-28-generic-x86_64-with-Ubuntu-16.04-xenial
  22. HOST_CROSS_OS=windows
  23. HOST_CROSS_ARCH=x86
  24. HOST_CROSS_2ND_ARCH=x86_64
  25. HOST_BUILD_TYPE=release
  26. BUILD_ID=OPM6.171019.030.B1
  27. OUT_DIR=out
  28. AUX_OS_VARIANT_LIST=
  29. ============================================
  30. ============================================
  31. PLATFORM_VERSION_CODENAME=REL
  32. PLATFORM_VERSION=8.1.0
  33. TARGET_PRODUCT=rk3399_firefly_mid
  34. TARGET_BUILD_VARIANT=userdebug
  35. TARGET_BUILD_TYPE=release
  36. TARGET_ARCH=arm64
  37. TARGET_ARCH_VARIANT=armv8-a
  38. TARGET_CPU_VARIANT=cortex-a53
  39. TARGET_2ND_ARCH=arm
  40. TARGET_2ND_ARCH_VARIANT=armv7-a-neon
  41. TARGET_2ND_CPU_VARIANT=cortex-a15
  42. HOST_ARCH=x86_64
  43. HOST_2ND_ARCH=x86
  44. HOST_OS=linux
  45. HOST_OS_EXTRA=Linux-4.10.0-28-generic-x86_64-with-Ubuntu-16.04-xenial
  46. HOST_CROSS_OS=windows
  47. HOST_CROSS_ARCH=x86
  48. HOST_CROSS_2ND_ARCH=x86_64
  49. HOST_BUILD_TYPE=release
  50. BUILD_ID=OPM6.171019.030.B1
  51. OUT_DIR=out
  52. ============================================
  53. 09:40:01 Deleted images and staging directories.

  54. #### build completed successfully (1 seconds) ####

  55. ============================================
  56. PLATFORM_VERSION_CODENAME=REL
  57. PLATFORM_VERSION=8.1.0
  58. TARGET_PRODUCT=rk3399_firefly_mid
  59. TARGET_BUILD_VARIANT=userdebug
  60. TARGET_BUILD_TYPE=release
  61. TARGET_ARCH=arm64
  62. TARGET_ARCH_VARIANT=armv8-a
  63. TARGET_CPU_VARIANT=cortex-a53
  64. TARGET_2ND_ARCH=arm
  65. TARGET_2ND_ARCH_VARIANT=armv7-a-neon
  66. TARGET_2ND_CPU_VARIANT=cortex-a15
  67. HOST_ARCH=x86_64
  68. HOST_2ND_ARCH=x86
  69. HOST_OS=linux
  70. HOST_OS_EXTRA=Linux-4.10.0-28-generic-x86_64-with-Ubuntu-16.04-xenial
  71. HOST_CROSS_OS=windows
  72. HOST_CROSS_ARCH=x86
  73. HOST_CROSS_2ND_ARCH=x86_64
  74. HOST_BUILD_TYPE=release
  75. BUILD_ID=OPM6.171019.030.B1
  76. OUT_DIR=out
  77. ============================================
  78. ninja: no work to do.
  79. ninja: no work to do.
  80. No need to regenerate ninja file
  81. [ 66% 2/3] glob art
  82. [  5% 333/5642] build out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.cil
  83. out/host/linux-x86/bin/checkpolicy:  loading policy configuration from out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.conf
  84. out/host/linux-x86/bin/checkpolicy:  policy configuration loaded
  85. out/host/linux-x86/bin/checkpolicy:  writing CIL to out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.cil
  86. [  5% 335/5642] build out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil
  87. out/host/linux-x86/bin/checkpolicy:  loading policy configuration from out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.conf
  88. out/host/linux-x86/bin/checkpolicy:  policy configuration loaded
  89. out/host/linux-x86/bin/checkpolicy:  writing CIL to out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil.tmp
  90. [  5% 336/5642] build out/target/product/rk3399_firefly_mid/obj/ETC/27.0.cil_intermediates/mapping/27.0.cil
  91. Parsing out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil
  92. [  6% 341/5642] build out/target/product/rk3399_firefly_mid/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil
  93. out/host/linux-x86/bin/checkpolicy:  loading policy configuration from out/target/product/rk3399_firefly_mid/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy.conf
  94. out/host/linux-x86/bin/checkpolicy:  policy configuration loaded
  95. out/host/linux-x86/bin/checkpolicy:  writing CIL to out/target/product/rk3399_firefly_mid/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil.tmp
  96. [  6% 342/5642] build out/target/product/rk3399_firefly_mid/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_sepolicy.cil
  97. Parsing out/target/product/rk3399_firefly_mid/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil
  98. Parsing out/target/product/rk3399_firefly_mid/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil
  99. [  8% 504/5642] Ensuring Jack server is installed and started
  100. Jack server already installed in "/home/liuyu/.jack-server"
  101. Server is already running
  102. [ 22% 1261/5642] target SharedLib: libsurfaceflinger (out/target/pro...BRARIES/libsurfaceflinger_intermediates/LINKED/libsurfaceflinger.so)
  103. FAILED: out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LINKED/libsurfaceflinger.so
  104. /bin/bash -c "prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++ -nostdlib -Wl,-soname,libsurfaceflinger.so -Wl,--gc-sections -shared out/target/product/rk3399_firefly_mid/obj/lib/crtbegin_so.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Client.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayDevice.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DispSync.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/EventControlThread.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/StartPropertySetThread.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/EventThread.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/FrameTracker.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/GpuService.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Layer.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LayerDim.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LayerRejecter.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LayerVector.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/MessageQueue.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/MonitoredProducer.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/SurfaceFlingerConsumer.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/SurfaceInterceptor.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Transform.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/ComposerHal.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/FramebufferSurface.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/HWC2.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/HWComposerBufferCache.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/PowerHAL.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/VirtualDisplaySurface.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/Effects/Daltonizer.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/EventLog/EventLog.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/Description.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/Mesh.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/Program.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/ProgramCache.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/GLExtensions.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/RenderEngine.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/Texture.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/RenderEngine/GLES20RenderEngine.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/SurfaceFlinger.o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/HWComposer.o -Wl,--whole-archive  -Wl,--no-whole-archive   out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libhwcomposer-command-buffer_intermediates/libhwcomposer-command-buffer.a  out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libtrace_proto_intermediates/libtrace_proto.a  out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libvkjson_intermediates/libvkjson.a  out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libvr_manager_intermediates/libvr_manager.a  out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libvrflinger_intermediates/libvrflinger.a  out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a   out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libatomic_intermediates/libatomic.a out/target/product/rk3399_firefly_mid/obj/STATIC_LIBRARIES/libgcc_intermediates/libgcc.a -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,-maarch64linux -Wl,--hash-style=gnu -Wl,--fix-cortex-a53-843419 -fuse-ld=gold -Wl,--icf=safe -Wl,--no-undefined-version   -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wl,--no-undefined out/target/product/rk3399_firefly_mid/obj/lib/android.frameworks.vr.composer@1.0.so out/target/product/rk3399_firefly_mid/obj/lib/android.hardware.graphics.allocator@2.0.so out/target/product/rk3399_firefly_mid/obj/lib/android.hardware.graphics.composer@2.1.so out/target/product/rk3399_firefly_mid/obj/lib/android.hardware.configstore@1.0.so out/target/product/rk3399_firefly_mid/obj/lib/android.hardware.configstore-utils.so out/target/product/rk3399_firefly_mid/obj/lib/libcutils.so out/target/product/rk3399_firefly_mid/obj/lib/liblog.so out/target/product/rk3399_firefly_mid/obj/lib/libfmq.so out/target/product/rk3399_firefly_mid/obj/lib/libhardware.so out/target/product/rk3399_firefly_mid/obj/lib/libhidlbase.so out/target/product/rk3399_firefly_mid/obj/lib/libhidltransport.so out/target/product/rk3399_firefly_mid/obj/lib/libhwbinder.so out/target/product/rk3399_firefly_mid/obj/lib/libutils.so out/target/product/rk3399_firefly_mid/obj/lib/libEGL.so out/target/product/rk3399_firefly_mid/obj/lib/libGLESv1_CM.so out/target/product/rk3399_firefly_mid/obj/lib/libGLESv2.so out/target/product/rk3399_firefly_mid/obj/lib/libbinder.so out/target/product/rk3399_firefly_mid/obj/lib/libui.so out/target/product/rk3399_firefly_mid/obj/lib/libgui.so out/target/product/rk3399_firefly_mid/obj/lib/libpowermanager.so out/target/product/rk3399_firefly_mid/obj/lib/libvulkan.so out/target/product/rk3399_firefly_mid/obj/lib/libsync.so out/target/product/rk3399_firefly_mid/obj/lib/libprotobuf-cpp-lite.so out/target/product/rk3399_firefly_mid/obj/lib/libbase.so out/target/product/rk3399_firefly_mid/obj/lib/android.hardware.power@1.0.so out/target/product/rk3399_firefly_mid/obj/lib/librga.so out/target/product/rk3399_firefly_mid/obj/lib/libc++.so out/target/product/rk3399_firefly_mid/obj/lib/libc.so out/target/product/rk3399_firefly_mid/obj/lib/libm.so out/target/product/rk3399_firefly_mid/obj/lib/libdl.so -o out/target/product/rk3399_firefly_mid/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/LINKED/libsurfaceflinger.so out/target/product/rk3399_firefly_mid/obj/lib/crtend_so.o"
  105. prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: error: out/target/product/rk3399_firefly_mid/obj/lib/libvulkan.so: file is empty
  106. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:77: error: undefined reference to 'vkGetInstanceProcAddr'
  107. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:83: error: undefined reference to 'vkEnumerateDeviceExtensionProperties'
  108. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:87: error: undefined reference to 'vkEnumerateDeviceExtensionProperties'
  109. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:92: error: undefined reference to 'vkEnumerateDeviceLayerProperties'
  110. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:95: error: undefined reference to 'vkEnumerateDeviceLayerProperties'
  111. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:99: error: undefined reference to 'vkGetPhysicalDeviceProperties'
  112. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:116: error: undefined reference to 'vkGetPhysicalDeviceFeatures'
  113. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:118: error: undefined reference to 'vkGetPhysicalDeviceMemoryProperties'
  114. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:121: error: undefined reference to 'vkGetPhysicalDeviceQueueFamilyProperties'
  115. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:125: error: undefined reference to 'vkGetPhysicalDeviceQueueFamilyProperties'
  116. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:133: error: undefined reference to 'vkGetPhysicalDeviceFormatProperties'
  117. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:150: error: undefined reference to 'vkEnumerateInstanceLayerProperties'
  118. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:155: error: undefined reference to 'vkEnumerateInstanceLayerProperties'
  119. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:34: error: undefined reference to 'vkEnumerateInstanceExtensionProperties'
  120. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:38: error: undefined reference to 'vkEnumerateInstanceExtensionProperties'
  121. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:34: error: undefined reference to 'vkEnumerateInstanceExtensionProperties'
  122. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:38: error: undefined reference to 'vkEnumerateInstanceExtensionProperties'
  123. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:193: error: undefined reference to 'vkCreateInstance'
  124. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:198: error: undefined reference to 'vkEnumeratePhysicalDevices'
  125. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:200: error: undefined reference to 'vkDestroyInstance'
  126. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:204: error: undefined reference to 'vkEnumeratePhysicalDevices'
  127. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:206: error: undefined reference to 'vkDestroyInstance'
  128. external/vulkan-validation-layers/libs/vkjson/vkjson_instance.cc:216: error: undefined reference to 'vkDestroyInstance'
  129. clang.real: error: linker command failed with exit code 1 (use -v to see invocation)
  130. ninja: build stopped: subcommand failed.
  131. 09:40:44 ninja failed with: exit status 1
复制代码
回复

使用道具 举报

79

积分

0

威望

0

贡献

技术小白

积分
79
发表于 2019-5-20 09:49:23        只看该作者  沙发
求助
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表