Compiling from CM Sources - Errors in build process... - G2 Q&A, Help & Troubleshooting

Guys, I'm here because I need help on compiling the cm-12.0 branch on terminal.
I tried repo sync today to update my source tree and also downloaded device common, d802, vendor, kernel again.
Code:
Notice file: external/zlib/NOTICE -- /home/stryder/Lollipop/out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libz.a.txt
make: *** No rule to make target `/home/stryder/Lollipop/out/host/linux-x86/bin/dtbTool', needed by `/home/stryder/Lollipop/out/target/product/d802/dt.img'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: external/zlib/NOTICE -- /home/stryder/Lollipop/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libz.a.txt
#### make failed to build some targets (01:19 (mm:ss)) ####
I'm posting these last parts of my terminal log which is where I keep getting this error.
Also in the beggining I have this.
Code:
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
"ebtables is disabled on this build"
find: `phone/java': No such file or directory
find: `phone/java': No such file or directory
find: `dummy': No such file or directory
I tried to change make file in device (deviceboot.mk). dtbToolCM to dtbTool and nothing.
Thanks guys and devs if you can help a G2 dev starter. I was used to build Sony devices now I have L90 and G2 for development.
Moderators if i I'm posting in wrong section, please let me know.
FIX: device/g2-common find mkbootimg.mk and changed from dtbToolCM to dtbTool. But it can change from source to source.

Related

[Q] Compilation of OpenSwift 2.2.1

Anybody managed to compile OpenSwift 2.2.1 from github? I'm trying to do that for 2 days without success.
My last error is:
Code:
Install: out/target/product/swift/system/lib/libdiskconfig.so
Install: out/target/product/swift/system/bin/vold
Symlink: out/target/product/swift/system/bin/watchprops -> toolbox
Symlink: out/target/product/swift/system/bin/wipe -> toolbox
target Strip: wpa_cli (out/target/product/swift/obj/EXECUTABLES/wpa_cli_intermediates/wpa_cli)
Install: out/target/product/swift/system/bin/wpa_cli
target Strip: wpa_supplicant (out/target/product/swift/obj/EXECUTABLES/wpa_supplicant_intermediates/wpa_supplicant)
Copy: out/target/product/swift/system/bin/wpa_supplicant
target Strip: zipalign (out/target/product/swift/obj/EXECUTABLES/zipalign_intermediates/zipalign)
Install: out/target/product/swift/system/bin/zipalign
Target buildinfo: out/target/product/swift/system/build.prop
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/swift/system/build.prop] Error 1
make: *** Deleting file `out/target/product/swift/system/build.prop'
Maybe we can share experience about compilation of OpenSwift in this thread?
I have the same issue. But not find a solution yet.
Early I've success compile whole system. But after last updates from github gets errors.
I found solutions for all recent errors on 4pda.ru.
This is the original post:
http://4pda.ru/forum/index.php?s=&showtopic=215440&view=findpost&p=6414296
just got wubi ubuntu 10.10 installed and git and python were a nightmare and repo wouldnt work until i went and edited repo myself so it installed fine. i worked out how to install python2.4 on 10.10 and git running nicely. when i do the sync command it starts downloading the whole cyanogen mod tree i just want whats on the openswift branch thats it. any advice on the whole source codes and compiling would be greatly apppreciated.

Getting an error when I try to do a CM build

Hi, I'm trying to port over CM to the Dell Streak 7
I got the source. did a . build/envsetup.sh
then lunch
then I selected cyanogen_haromny-eng
let it do it's thing then did a make
I got this error: any idea on how to fix it?
1.
Docs droiddoc: out/target/common/docs/doc-comment-check
2.
htmlDir not a directory: out/target/common/docs/gen
3.
DroidDoc took 392 sec. to write docs to out/target/common/docs/doc-comment-check
4.
frameworks/base/core/java/android/content/Context.java:1169: error 1: Unresolved link/see tag "android.net.wimax.WimaxManager WimaxManager" in android.content.Context
5.
frameworks/base/core/java/android/content/Context.java:1477: error 1: Unresolved link/see tag "android.net.wimax.WimaxManager" in android.content.Context
6.
make: *** [out/target/common/docs/doc-comment-check-timestamp] Error 45
http://pastebin.com/ZV1u80Di
when the build first started making I also got this:
1.
build/core/base_rules.mk:479: warning: overriding commands for target `out/target/product/harmony/recovery/root/sbin/tune2fs'
2.
bootable/recovery/Android.mk:87: warning: ignoring old commands for target `out/target/product/harmony/recovery/root/sbin/tune2fs'
3.
find: `out/target/common/docs/gen': No such file or directory
4.
find: `out/target/common/docs/gen': No such file or directory
5.
find: `out/target/common/docs/gen': No such file or directory
6.
find: `out/target/common/docs/gen': No such file or directory
7.
find: `out/target/common/docs/gen': No such file or directory
any help would be appreciated
You aren't on ubuntu 11.04 by any chance are you? I'm getting the same error and that's the only explanation I can come up with...

[Q/A] Build Errors and such...

Ok guys lets all post our build errors here for a more organized help and support. And so that we can help each other out
Sent from my Gnome Shelled Mako
Good idea , hope someone will know this one.
Export includes file: hardware/libhardware_legacy/audio/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/audio_policy.default_intermediates/export_includes
Export includes file: hardware/qcom/display/libgenlock/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/export_includes
Export includes file: device/lge/mako/camera/mm-camera-interface/Android.mk -- /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/export_includes
make: *** No rule to make target `/home/elio/android/omni/out/target/product/mako/obj/KERNEL_OBJ/usr', needed by `/home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libgenlock_intermediates/genlock.o'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/elio/android/omni/out/target/product/mako/obj/SHARED_LIBRARIES/libmmcamera_interface2_intermediates/import_includes
Click to expand...
Click to collapse
i have been trying to build for mako and i get stuck at this error.
i'm ubuntu 12.04 64bit.
Looks like a kernel error.
Add this lines to your local_manifest
Code:
<project name="omnirom/android_device_lge_mako" path="device/lge/mako" remote="github" revision="android-4.3" />
<project name="omnirom/android_kernel_lge_mako" path="kernel/lge/mako" remote="github" revision="android-4.3" />
then
Code:
repo sync -j4 && make clean && . build/envsetup.sh && time brunch mako
fix for most errors
Gnome said:
Ok guys lets all post our build errors here for a more organized help and support. And so that we can help each other out
Sent from my Gnome Shelled Mako
Click to expand...
Click to collapse
I am just starting out on building Roms but for almost any error even if you can't fix it just delete your folder/directory with the source and reinitialize repo in a new directory
Sent from my lg optimus f6 which boot loader can't be unlocked I'm never getting a new lg phone
help
alright ive been trying to port kitkat to my f6 for a week or so and i just hit this error and yes i have included msmb_camera.h in my PATH and put it in a few dirs named media also in my usr/bin and /bin and /sbin can anyone find how to fix it here it is
Code:
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_channel.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_stream.c:44:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:42:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_interface.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_channel.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_stream.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_interface.o] Error 1
UPADTE
alright i solved this by puting msmb_camera.h in hardware/qcom/msm8x74/kernel-headers/media
please hit that thanks button if i helped
codingninja62001 said:
alright ive been trying to port kitkat to my f6 for a week or so and i just hit this error and yes i have included msmb_camera.h in my PATH and put it in a few dirs named media also in my usr/bin and /bin and /sbin can anyone find how to fix it here it is
Code:
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/venc/src/video_encoder_device.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_channel.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_stream.c:44:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera.c:42:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/mm_camera_interface.c:40:0:
hardware/qcom/camera/QCamera2/stack/mm-camera-interface/../common/mm_camera_interface.h:34:31: fatal error: media/msmb_camera.h: No such file or directory
compilation terminated.
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_channel.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_stream.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera.o] Error 1
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libmmcamera_interface_intermediates/src/mm_camera_interface.o] Error 1
UPADTE
alright i solved this by puting msmb_camera.h in hardware/qcom/msm8x74/kernel-headers/media
please hit that thanks button if i helped
Click to expand...
Click to collapse
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Entropy512 said:
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Click to expand...
Click to collapse
okey it isn't omni its cyanogenmod and f6 as LG optimus f6 a budget phone that ive working on a port for and can you explain in a little more detail and my KERNEL_OBJ/usr is empty so no source there
---------- Post added at 05:13 PM ---------- Previous post was at 04:35 PM ----------
Entropy512 said:
Most likely Omni does not have any non-Nexus devices that compile the camera HAL from source, and as a result does not yet pull in kernel headers for the camera HAL.
https://github.com/omnirom/android_...mmit/6736097aeaed860eefdf90ebbb145cc310b564b4 can give you a rough idea of how to convert something set to use prebuilt kernel headers to one that uses headers from the kernel being built.
What's an f6???
Click to expand...
Click to collapse
Hey can you help me with this new error i had fixed that one yesterday not much detail it spits out do you know how to declare GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY or fix this
Code:
frameworks/native/libs/gui/Surface.cpp: In member function 'virtual android::status_t android::Surface::lock(ANativeWindow_Buffer*, ARect*)':
frameworks/native/libs/gui/Surface.cpp:818:29: error: 'GRALLOC_USAGE_PRIVATE_INTERNAL_ONLY' was not declared in this scope
make: *** [/home/ryan/android/system/out/target/product/f6mt/obj/SHARED_LIBRARIES/libgui_intermediates/Surface.o] Error 1
make: *** Waiting for unfinished jobs....
Please help me
build/core/base_rules.mk:316: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/system/xbin/wget' ./external/busybox/Android.mk:171: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/system/xbin/wget' vendor/cm/build/tasks/kernel.mk:285: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/obj/KERNEL_OBJ/.config' build/core/tasks/kernel.mk:209: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/obj/KERNEL_OBJ/.config' vendor/cm/build/tasks/kernel.mk:299: warning: overriding commands for target `TARGET_KERNEL_BINARIES' build/core/tasks/kernel.mk:220: warning: ignoring old commands for target `TARGET_KERNEL_BINARIES' vendor/cm/build/tasks/kernel.mk:348: warning: overriding commands for target `kerneltags' build/core/tasks/kernel.mk:252: warning: ignoring old commands for target `kerneltags' vendor/cm/build/tasks/kernel.mk:353: warning: overriding commands for target `kernelconfig' build/core/tasks/kernel.mk:255: warning: ignoring old commands for target `kernelconfig' vendor/cm/build/tasks/kernel.mk:372: warning: overriding commands for target `/home/govind/n/out/target/product/Z00L/kernel' build/core/tasks/kernel.mk:269: warning: ignoring old commands for target `/home/govind/n/out/target/product/Z00L/kernel' Starting build with ninja ninja: Entering directory `.' ninja: error: '/home/govind/n/out/target/product/Z00L/obj/SHARED_LIBRARIES/libqmiservices_intermediates/export_includes', needed by '/home/govind/n/out/target/product/Z00L/obj/EXECUTABLES/wcnss_service_intermediates/import_includes', missing and no known rule to make it make: *** [ninja_wrapper] Error 1 #### make failed to build some targets (25 seconds) #### Build step 'Execute shell' marked build as failure FTP: Current build result is [FAILURE], not going to run. Finished: FAILURE
https://hastebin.com/qixotiyuqo.sql plz help me in sorting out this error

[HELP] Android kernel compiling error.

Hi every body, I am trying to compile kernel for SamSung Galaxy S5 (SM-G906K).
I always get this error message, i don't know how to solve it. Please help me !
Thank you all!
__________________________________________________ ______
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2
[email protected]:~/Kernel2$ make mrproper
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2
_________________________________________
Any body help me ?
Hi~ please reply for my message
nguyen_vh said:
Any body help me ?
Click to expand...
Click to collapse
Hi......
Do you solved this problem?
I am trying Compile custom kernel for Galaxy s5 ,too..
I have same problem ....
Please Contact me if you solve this problem & success custom kernel compile.
[email protected]
thanks!
build_kernel.sh
samsung provides script for succesful compiling of kernel from source: build_kernel.sh
sudo apt-get install git
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8 (i used this version because samsung used 4.8 to compile my g901f kernel)
my paths:
/home/kriomag/Kernel
/home/arm-eabi-4.8
for above paths i used (started from Kernel folder):
export ARCH=arm
export CROSS_COMPILE=$(pwd)/../arm-eabi-4.8/bin/arm-eabi-
mkdir output
make -C $(pwd) O=output apq8084_sec_defconfig VARIANT_DEFCONFIG=apq8084_sec_kccat6_eur_defconfig SELINUX_DEFCONFIG=selinux_defconfig (this line outputs after few warnings .config file needed to "make")
make -j4 -C $(pwd) O=output (this line starts compiling, after long time it gives zImage - kernel file in output/arch/arm/boot);
all you need is to correct paths in this script to yours paths and use g906k variant configs names. This above example is from my compilation of g901f kernel.
Im facing this problem aswell, did you find a fix already?
Found the Solution!
Kriomag's solution worked! It looks like those errors are associated with the CROSS_COMPILE path. Be sure to use the appropriate toolchain for your export CROSS_COMPILE command. For me, I kept typing "/home/user/arm-eabi-4.8/bin/" which resulted in the same error about checking the "TARGET"; Instead of "/home/user/arm-eabi-4.8/bin/arm-eabi-" Turns out, when I git cloned from the URL provided by Kriomag, the scripts are written without the prefix "arm-eabi-"
Kriomag!

Need Help

Hi
I try sailfish on redmi note 3 to Porten
I did everything as described in the manual
but whenever I make -j4 hybris hal I inspire get the following error message .... maybe can have someone help me
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
CM_VERSION=13.0-20160829-UNOFFICIAL-kenzo
TARGET_PRODUCT=cm_kenzo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-34-generic-x86_64-with-LinuxMint-18-sarah
HOST_BUILD_TYPE=release
BUILD_ID=MMB29U
OUT_DIR=/home/n1ce/ANDROID_ROOT/out
============================================
find: ‘../opt/telephony/src/java/android/provider’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony/gsm’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/rtp’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/sip’: No such file or directory
find: ‘../opt/telephony/src/java/android/provider’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony/gsm’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/rtp’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/sip’: No such file or directory
find: ‘../../frameworks/data-binding/baseLibrary/src/main’: No such file or directory
find: ‘../../frameworks/data-binding/library/src/main’: No such file or directory
find: ‘../../frameworks/data-binding/library/src/doc’: No such file or directory
find: ‘../../frameworks/support/annotations’: No such file or directory
find: ‘../../frameworks/support/v4’: No such file or directory
find: ‘../../frameworks/support/v7/gridlayout’: No such file or directory
find: ‘../../frameworks/support/v7/cardview’: No such file or directory
find: ‘../../frameworks/support/v7/mediarouter’: No such file or directory
find: ‘../../frameworks/support/v7/palette’: No such file or directory
find: ‘../../frameworks/support/v8/renderscript’: No such file or directory
find: ‘../../frameworks/support/v13’: No such file or directory
find: ‘../../frameworks/support/v17/leanback’: No such file or directory
find: ‘../../frameworks/support/design’: No such file or directory
find: ‘../../frameworks/support/percent’: No such file or directory
find: ‘../../frameworks/support/recommendation’: No such file or directory
find: ‘../../frameworks/support/v7/preference’: No such file or directory
find: ‘../../frameworks/support/v14/preference’: No such file or directory
find: ‘../../frameworks/support/v17/preference-leanback’: No such file or directory
find: ‘../../frameworks/support/customtabs’: No such file or directory
find: ‘../../frameworks/multidex/library/src’: No such file or directory
find: ‘../../frameworks/multidex/instrumentation/src’: No such file or directory
find: ‘../../frameworks/support/v7/appcompat/src’: No such file or directory
find: ‘../../frameworks/support/v7/recyclerview/src’: No such file or directory
find: ‘../opt/telephony/src/java/android/provider’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony’: No such file or directory
find: ‘../opt/telephony/src/java/android/telephony/gsm’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/rtp’: No such file or directory
find: ‘../opt/net/voip/src/java/android/net/sip’: No such file or directory
find: ‘../../external/nist-sip/java’: No such file or directory
find: ‘../../external/tagsoup/src’: No such file or directory
external/speex/Android.mk:55: TODOArm64: enable neon in libspeex
build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: overriding recipe for target '/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/include/qcom/display/c2d2.h'
build/core/copy_headers.mk:15: warning: ignoring old recipe for target '/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/include/qcom/display/c2d2.h'
hybris/hybris-boot/Android.mk:67: ********************* /boot appears to live on /dev/block/bootdevice/by-name/boot
hybris/hybris-boot/Android.mk:68: ********************* /data appears to live on /dev/block/bootdevice/by-name/userdata
No private recovery resources for TARGET_DEVICE kenzo
target SharedLib: libc (/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)
hybris/hybris-boot/fixup-mountpoints "kenzo" "/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/ROOT/hybris-recovery_intermediates/init"
Fixing mount-points for device kenzo
hybris/hybris-boot/fixup-mountpoints: 61: hybris/hybris-boot/fixup-mountpoints: Syntax error: ")" unexpected (expecting ";;")
hybris/hybris-boot/Android.mk:195: recipe for target '/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/ROOT/hybris-recovery_intermediates/init' failed
make: *** [/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/ROOT/hybris-recovery_intermediates/init] Error 2
make: *** Deleting file '/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/ROOT/hybris-recovery_intermediates/init'
make: *** Waiting for unfinished jobs....
hybris/hybris-boot/fixup-mountpoints "kenzo" "/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/ROOT/hybris-boot_intermediates/init"
Fixing mount-points for device kenzo
hybris/hybris-boot/fixup-mountpoints: 61: hybris/hybris-boot/fixup-mountpoints: Syntax error: ")" unexpected (expecting ";;")
hybris/hybris-boot/Android.mk:154: recipe for target '/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/ROOT/hybris-boot_intermediates/init' failed
make: *** [/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/ROOT/hybris-boot_intermediates/init] Error 2
make: *** Deleting file '/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/ROOT/hybris-boot_intermediates/init'
target SharedLib: libm_32 (/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj_arm/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so)
/home/n1ce/ANDROID_ROOT/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: /home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a(__bionic_clone.o)(.text+0x18): unresolvable R_AARCH64_CONDBR19 relocation against symbol `__set_errno_internal'
/home/n1ce/ANDROID_ROOT/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
build/core/shared_library_internal.mk:80: recipe for target '/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so' failed
make: *** [/home/n1ce/ANDROID_ROOT/out/target/product/kenzo/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so] Error 1
#### make failed to build some targets (36 seconds) ####
No frameworks library? Did u sync the repo correctly? And is sailfish os compatible with your device tree(android versions).
Are kernel sources of redmi note 3 are out???
What did u do?
I thank them it was a great tip I have all errors resolved now but now I have a new , there are not the mount point found although I did it but matrimonial right
help is really welcome
View attachment 3877392
View attachment 3877393
View attachment 3877394

Categories

Resources