按照维基教程在ubuntu 14.04版本上编译android 8.1固件源码,执行./FFTools/make.sh -d px30-firefly-aiojd4-lvds -j8 -l px30_evb-userdebug此命令在编译过程中报错 [ 66% 2/3] glob art [ 5% 332/6293] build out/target/produ...icy_intermediates/reqd_policy_mask.cil out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/px30_evb/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.conf out/host/linux-x86/bin/checkpolicy: policy configuration loaded out/host/linux-x86/bin/checkpolicy: writing CIL to out/target/product/px30_evb/obj/FAKE/selinux_policy_intermediates/reqd_policy_mask.cil [ 5% 345/6293] build out/target/produ...l_intermediates/nonplat_policy_raw.cil out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/px30_evb/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy.conf out/host/linux-x86/bin/checkpolicy: policy configuration loaded out/host/linux-x86/bin/checkpolicy: writing CIL to out/target/product/px30_evb/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil.tmp [ 7% 472/6293] build out/target/produ...licy_intermediates/plat_pub_policy.cil out/host/linux-x86/bin/checkpolicy: loading policy configuration from out/target/product/px30_evb/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.conf out/host/linux-x86/bin/checkpolicy: policy configuration loaded out/host/linux-x86/bin/checkpolicy: writing CIL to out/target/product/px30_evb/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil.tmp [ 7% 473/6293] build out/target/produ...7.0.cil_intermediates/mapping/27.0.cil Parsing out/target/product/px30_evb/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil [ 7% 476/6293] build out/target/produ...cil_intermediates/nonplat_sepolicy.cil Parsing out/target/product/px30_evb/obj/FAKE/selinux_policy_intermediates/plat_pub_policy.cil Parsing out/target/product/px30_evb/obj/ETC/nonplat_sepolicy.cil_intermediates/nonplat_policy_raw.cil [ 29% 1871/6293] target SharedLib: lib...librga_intermediates/LINKED/librga.so) FAILED: out/target/product/px30_evb/obj/SHARED_LIBRARIES/librga_intermediates/LINKED/librga.so /bin/bash -c "prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++ -nostdlib -Wl,-soname,librga.so -Wl,--gc-sections -shared out/target/product/px30_evb/obj/lib/crtbegin_so.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/librga_intermediates/RockchipRga.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/librga_intermediates/GraphicBuffer.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/librga_intermediates/normal/NormalRga.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/librga_intermediates/normal/NormalRgaApi.o -Wl,--whole-archive -Wl,--no-whole-archive out/target/product/px30_evb/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a out/target/product/px30_evb/obj/STATIC_LIBRARIES/libatomic_intermediates/libatomic.a out/target/product/px30_evb/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/px30_evb/obj/lib/libdrm.so out/target/product/px30_evb/obj/lib/libdrm_rockchip.so out/target/product/px30_evb/obj/lib/liblog.so out/target/product/px30_evb/obj/lib/libui.so out/target/product/px30_evb/obj/lib/libcutils.so out/target/product/px30_evb/obj/lib/libhardware.so out/target/product/px30_evb/obj/lib/libgralloc_drm.so out/target/product/px30_evb/obj/lib/libc++.so out/target/product/px30_evb/obj/lib/libc.so out/target/product/px30_evb/obj/lib/libm.so out/target/product/px30_evb/obj/lib/libdl.so -o out/target/product/px30_evb/obj/SHARED_LIBRARIES/librga_intermediates/LINKED/librga.so out/target/product/px30_evb/obj/lib/crtend_so.o" prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: error: out/target/product/px30_evb/obj/lib/libui.so: file is empty hardware/rockchip/librga/normal/NormalRga.cpp:762: error: undefined reference to 'android::bytesPerPixel(int)' hardware/rockchip/librga/normal/NormalRga.cpp:763: error: undefined reference to 'android::bytesPerPixel(int)' clang.real: error: linker command failed with exit code 1 (use -v to see invocation) [ 29% 1873/6293] target SharedLib: lib...ermediates/LINKED/libcameraservice.so) FAILED: out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/LINKED/libcameraservice.so /bin/bash -c "prebuilts/clang/host/linux-x86/clang-4053586/bin/clang++ -nostdlib -Wl,-soname,libcameraservice.so -Wl,--gc-sections -shared out/target/product/px30_evb/obj/lib/crtbegin_so.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraService.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/CameraFlashlight.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/common/Camera2ClientBase.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/common/CameraDeviceBase.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/common/CameraProviderManager.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/common/FrameProcessorBase.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/api1/CameraClient.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/api1/Camera2Client.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/api1/client2/Parameters.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/api1/client2/FrameProcessor.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/api1/client2/StreamingProcessor.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/api1/client2/JpegProcessor.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/api1/client2/CallbackProcessor.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/api1/client2/JpegCompressor.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/api1/client2/CaptureSequencer.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/api1/client2/ZslProcessor.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/api2/CameraDeviceClient.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/device1/CameraHardwareInterface.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/device3/Camera3Device.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/device3/Camera3Stream.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/device3/Camera3IOStreamBase.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/device3/Camera3InputStream.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/device3/Camera3OutputStream.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/device3/Camera3DummyStream.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/device3/Camera3SharedOutputStream.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/device3/StatusTracker.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/device3/Camera3BufferManager.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/device3/Camera3StreamSplitter.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/gui/RingBufferConsumer.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/utils/CameraTraces.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/utils/AutoConditionLock.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/utils/TagMonitor.o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/utils/LatencyHistogram.o -Wl,--whole-archive -Wl,--no-whole-archive out/target/product/px30_evb/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a out/target/product/px30_evb/obj/STATIC_LIBRARIES/libatomic_intermediates/libatomic.a out/target/product/px30_evb/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/px30_evb/obj/lib/libui.so out/target/product/px30_evb/obj/lib/liblog.so out/target/product/px30_evb/obj/lib/libutils.so out/target/product/px30_evb/obj/lib/libbinder.so out/target/product/px30_evb/obj/lib/libcutils.so out/target/product/px30_evb/obj/lib/libmedia.so out/target/product/px30_evb/obj/lib/libmediautils.so out/target/product/px30_evb/obj/lib/libcamera_client.so out/target/product/px30_evb/obj/lib/libcamera_metadata.so out/target/product/px30_evb/obj/lib/libfmq.so out/target/product/px30_evb/obj/lib/libgui.so out/target/product/px30_evb/obj/lib/libhardware.so out/target/product/px30_evb/obj/lib/libhidlbase.so out/target/product/px30_evb/obj/lib/libhidltransport.so out/target/product/px30_evb/obj/lib/libjpeg.so out/target/product/px30_evb/obj/lib/libmemunreachable.so out/target/product/px30_evb/obj/lib/android.hardware.camera.common@1.0.so out/target/product/px30_evb/obj/lib/android.hardware.camera.provider@2.4.so out/target/product/px30_evb/obj/lib/android.hardware.camera.device@1.0.so out/target/product/px30_evb/obj/lib/android.hardware.camera.device@3.2.so out/target/product/px30_evb/obj/lib/android.hardware.camera.device@3.3.so out/target/product/px30_evb/obj/lib/libc++.so out/target/product/px30_evb/obj/lib/libc.so out/target/product/px30_evb/obj/lib/libm.so out/target/product/px30_evb/obj/lib/libdl.so -o out/target/product/px30_evb/obj/SHARED_LIBRARIES/libcameraservice_intermediates/LINKED/libcameraservice.so out/target/product/px30_evb/obj/lib/crtend_so.o" prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin/ld.gold: error: out/target/product/px30_evb/obj/lib/libui.so: file is empty frameworks/native/libs/gui/include/gui/CpuConsumer.h:78: error: undefined reference to 'android::Rect::EMPTY_RECT' frameworks/native/libs/gui/include/gui/CpuConsumer.h:78: error: undefined reference to 'android::Rect::EMPTY_RECT' frameworks/native/libs/gui/include/gui/CpuConsumer.h:78: error: undefined reference to 'android::Rect::EMPTY_RECT' frameworks/native/libs/gui/include/gui/CpuConsumer.h:78: error: undefined reference to 'android::Rect::EMPTY_RECT' system/core/libutils/include/utils/LightRefBase.h:42: error: undefined reference to 'android::Fence::~Fence()' frameworks/native/libs/gui/include/gui/IGraphicBufferProducer.h:324: error: undefined reference to 'android::Region::Region()' frameworks/native/libs/gui/include/gui/IGraphicBufferProducer.h:301: error: undefined reference to 'android::Region::~Region()' system/core/libutils/include/utils/LightRefBase.h:42: error: undefined reference to 'android::Fence::~Fence()' system/core/libutils/include/utils/LightRefBase.h:42: error: undefined reference to 'android::Fence::~Fence()' system/core/libutils/include/utils/LightRefBase.h:42: error: undefined reference to 'android::Fence::~Fence()' frameworks/native/libs/gui/include/gui/BufferItem.h:47: error: undefined reference to 'android::Region::Region(android::Region const&)' frameworks/native/libs/gui/include/gui/BufferItem.h:47: error: undefined reference to 'android::Region::Region(android::Region const&)' frameworks/native/libs/gui/include/gui/BufferItem.h:47: error: undefined reference to 'android::Region::Region(android::Region const&)' frameworks/native/libs/gui/include/gui/BufferItem.h:47: error: undefined reference to 'android::Region::Region(android::Region const&)' frameworks/av/services/camera/libcameraservice/device3/Camera3Device.cpp:2461: error: undefined reference to 'android::Fence::NO_FENCE' frameworks/av/services/camera/libcameraservice/device3/Camera3Device.cpp:2461: error: undefined reference to 'android::Fence::NO_FENCE' frameworks/av/services/camera/libcameraservice/device3/Camera3Device.cpp:4592: error: undefined reference to 'android::Fence::NO_FENCE' frameworks/av/services/camera/libcameraservice/device3/Camera3Device.cpp:4592: error: undefined reference to 'android::Fence::NO_FENCE' frameworks/native/libs/ui/include/ui/Rect.h:43: error: undefined reference to 'android::Rect::INVALID_RECT' frameworks/native/libs/ui/include/ui/Rect.h:43: error: undefined reference to 'android::Rect::INVALID_RECT' frameworks/native/libs/ui/include/ui/Rect.h:43: error: undefined reference to 'android::Rect::INVALID_RECT' frameworks/native/libs/ui/include/ui/Rect.h:43: error: undefined reference to 'android::Rect::INVALID_RECT' frameworks/av/services/camera/libcameraservice/device3/Camera3IOStreamBase.cpp:43: error: undefined reference to 'android::Fence::Fence()' frameworks/av/services/camera/libcameraservice/device3/Camera3IOStreamBase.cpp:58: error: undefined reference to 'android::Fence::getSignalTime() const' frameworks/av/services/camera/libcameraservice/device3/Camera3IOStreamBase.cpp:243: error: undefined reference to 'android::Fence::merge(android::String8 const&, android::sp<android::Fence> const&, android::sp<android::Fence> const&)' frameworks/av/services/camera/libcameraservice/device3/Camera3InputStream.cpp:76: error: undefined reference to 'android::GraphicBuffer::getNativeBuffer() const' frameworks/av/services/camera/libcameraservice/device3/Camera3InputStream.cpp:78: error: undefined reference to 'android::Fence::dup() const' frameworks/av/services/camera/libcameraservice/device3/Camera3InputStream.cpp:117: error: undefined reference to 'android::GraphicBuffer::getNativeBuffer() const' frameworks/av/services/camera/libcameraservice/device3/Camera3InputStream.cpp:150: error: undefined reference to 'android::Fence::Fence(int)' frameworks/native/libs/gui/include/gui/BufferItem.h:48: error: undefined reference to 'android::Region::operator=(android::Region const&)' frameworks/av/services/camera/libcameraservice/device3/Camera3OutputStream.cpp:218: error: undefined reference to 'android::Fence::Fence(int)' frameworks/av/services/camera/libcameraservice/device3/Camera3OutputStream.cpp:219: error: undefined reference to 'android::Fence::dup() const' frameworks/av/services/camera/libcameraservice/device3/Camera3OutputStream.cpp:775: error: undefined reference to 'android::Fence::dup() const' frameworks/av/services/camera/libcameraservice/device3/StatusTracker.cpp:36: error: undefined reference to 'android::Fence::Fence()' frameworks/av/services/camera/libcameraservice/device3/StatusTracker.cpp:36: error: undefined reference to 'android::Fence::Fence()' frameworks/av/services/camera/libcameraservice/device3/StatusTracker.cpp:127: error: undefined reference to 'android::Fence::getSignalTime() const' frameworks/av/services/camera/libcameraservice/device3/StatusTracker.cpp:127: error: undefined reference to 'android::Fence::getSignalTime() const' frameworks/av/services/camera/libcameraservice/device3/StatusTracker.cpp:182: error: undefined reference to 'android::Fence::merge(android::String8 const&, android::sp<android::Fence> const&, android::sp<android::Fence> const&)' frameworks/av/services/camera/libcameraservice/device3/StatusTracker.cpp:127: error: undefined reference to 'android::Fence::getSignalTime() const' frameworks/av/services/camera/libcameraservice/device3/Camera3BufferManager.cpp:276: error: undefined reference to 'android::GraphicBuffer::GraphicBuffer(unsigned int, unsigned int, int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)' frameworks/av/services/camera/libcameraservice/device3/Camera3BufferManager.cpp:280: error: undefined reference to 'android::GraphicBuffer::initCheck() const' frameworks/native/libs/gui/include/gui/IGraphicBufferProducer.h:324: error: undefined reference to 'android::Region::Region()' frameworks/native/libs/gui/include/gui/IGraphicBufferProducer.h:301: error: undefined reference to 'android::Region::~Region()' frameworks/av/services/camera/libcameraservice/device3/Camera3StreamSplitter.cpp:553: error: undefined reference to 'android::Fence::merge(android::String8 const&, android::sp<android::Fence> const&, android::sp<android::Fence> const&)' frameworks/av/services/camera/libcameraservice/gui/RingBufferConsumer.cpp:109: error: undefined reference to 'android::Fence::waitForever(char const*)' clang.real: error: linker command failed with exit code 1 (use -v to see invocation) [ 29% 1874/6293] Ensuring Jack server is installed and started FAILED: setup-jack-server /bin/bash -c "(prebuilts/sdk/tools/jack-admin install-server prebuilts/sdk/tools/jack-launcher.jar prebuilts/sdk/tools/jack-server-4.11.ALPHA.jar 2>&1 || (exit 0) ) && (JACK_SERVER_VM_ARGUMENTS=\"-Dfile.encoding=UTF-8 -XX:+TieredCompilation\" prebuilts/sdk/tools/jack-admin start-server 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update server prebuilts/sdk/tools/jack-server-4.11.ALPHA.jar 4.11.ALPHA 2>&1 || exit 0 ) && (prebuilts/sdk/tools/jack-admin update jack prebuilts/sdk/tools/jacks/jack-4.32.CANDIDATE.jar 4.32.CANDIDATE || exit 47 )" Jack server already installed in "/root/.jack-server" Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4096 -cp /root/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log No Jack server running. Try 'jack-admin start-server' No Jack server running. Try 'jack-admin start-server' ninja: build stopped: subcommand failed. 23:44:44 ninja failed with: exit status 1 23:44:44 Unable to parse ninja entry "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0074988\t75092\t1658194592\tout/target/product/px30_evb/system/bin/art\t988bd6278fefe40c": strconv.Atoi: parsing "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0074988": invalid syntax |
-
19.38 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1