<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[&quot;mka systemimage&quot; Error [ Redmi note 5 pr ]]]></title><description><![CDATA[<pre><code>mka systemimage
</code></pre>
<p dir="auto">gives me the following error .</p>
<pre><code>============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=lineage_whyred
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-153-generic-x86_64-elementary-OS-5.1.7-Hera
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PQ3A.190801.002
OUT_DIR=/home/luth3r/rom-dev/halium/out
PRODUCT_SOONG_NAMESPACES= hardware/qcom/audio-caf/msm8998 hardware/qcom/display-caf/msm8998 hardware/qcom/media-caf/msm8998
============================================
ninja: no work to do.
ninja: no work to do.
vendor/xiaomi/whyred/whyred-vendor.mk was modified, regenerating...
vendor/xiaomi/whyred/whyred-vendor.mk was modified, regenerating...
[235/451] including halium/libhybris/compat/camera/Android.mk ...
cat: frameworks/av/media/libmediaplayerservice/Android.mk: No such file or directory
[238/451] including halium/libhybris/compat/media/Android.mk ...
cat: frameworks/av/media/libmediaplayerservice/Android.mk: No such file or directory
[451/451] including vendor/qcom/opensource/dataservices/Android.mk ...
art/build/Android.gtest.mk:98: warning: overriding commands for target `Stripped'
art/build/Android.gtest.mk:94: warning: ignoring old commands for target `Stripped'
art/build/Android.gtest.mk:107: warning: overriding commands for target `Uncompressed'
art/build/Android.gtest.mk:102: warning: ignoring old commands for target `Uncompressed'
art/build/Android.gtest.mk:117: warning: overriding commands for target `EmptyUncompressed'
art/build/Android.gtest.mk:112: warning: ignoring old commands for target `EmptyUncompressed'
art/build/Android.gtest.mk:122: warning: overriding commands for target `Uncompressed'
art/build/Android.gtest.mk:107: warning: ignoring old commands for target `Uncompressed'
art/build/Android.gtest.mk:127: warning: overriding commands for target `Uncompressed'
art/build/Android.gtest.mk:122: warning: ignoring old commands for target `Uncompressed'
frameworks/base/Android.mk:685: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
frameworks/base/Android.mk:649: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
frameworks/base/Android.mk:729: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
frameworks/base/Android.mk:685: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/index.html'
frameworks/base/Android.mk:734: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/source.properties'
frameworks/base/Android.mk:690: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/common/docs/offline-system-sdk-referenceonly/api_diff/current/source.properties'
libcore/JavaLibrary.mk:160: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/obj_arm/SHARED_LIBRARIES/libreference-ril_intermediates/.jar'
libcore/JavaLibrary.mk:145: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/obj_arm/SHARED_LIBRARIES/libreference-ril_intermediates/.jar'
build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/consumerir.default.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/consumerir.default.so'
build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/thermal.sdm660.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/hw/thermal.sdm660.so'
build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/vndk-sp/libcutils.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib/vndk-sp/libcutils.so'
build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/consumerir.default.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/consumerir.default.so'
build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/fingerprint.default.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/fingerprint.default.so'
build/make/core/Makefile:28: warning: overriding commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/thermal.sdm660.so'
build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/luth3r/rom-dev/halium/out/target/product/whyred/vendor/lib64/hw/thermal.sdm660.so'
ninja: error: '/home/luth3r/rom-dev/halium/out/target/product/whyred/obj/SHARED_LIBRARIES/libantradio_intermediates/export_includes', needed by '/home/luth3r/rom-dev/halium/out/target/product/whyred/obj/EXECUTABLES/antradio_app_intermediates/import_includes', missing and no known rule to make it
00:23:55 ninja failed with: exit status 1

#### failed to build some targets (03:35 (mm:ss)) ####

</code></pre>
<p dir="auto">how to resolve this issue ??</p>
]]></description><link>https://forums.ubports.com/topic/6708/mka-systemimage-error-redmi-note-5-pr</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 22:36:37 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/6708.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Sep 2021 19:05:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to &quot;mka systemimage&quot; Error [ Redmi note 5 pr ] on Wed, 15 Sep 2021 11:52:27 GMT]]></title><description><![CDATA[<p dir="auto">it was my mistake ,<br />
initially when i run the</p>
<pre><code>mka mkbootimg
</code></pre>
<p dir="auto">I got this error</p>
<pre><code>error: vendor/xiaomi/whyred: MODULE.TARGET.SHARED_LIBRARIES.libsdm-disp-vndapis already defined by vendor/xiaomi/whyred.
</code></pre>
<p dir="auto">To resolve this I commented out those modules from  <em>vendor/xiaomi/whyred/Android.mk</em> .</p>
<p dir="auto">I accidentally commented out  <em>libantradio</em> module too .</p>
<p dir="auto">undoing that resolved the issue .</p>
]]></description><link>https://forums.ubports.com/post/55269</link><guid isPermaLink="true">https://forums.ubports.com/post/55269</guid><dc:creator><![CDATA[aravindor]]></dc:creator><pubDate>Wed, 15 Sep 2021 11:52:27 GMT</pubDate></item></channel></rss>