Error - Android

I'm trying to compile rom, but at the kernel compilation it gets stopped can anyone help mee.
error log - https://del.dog/aguttignap.txt

0

Related

Kernel compile error

Hello everyone. I have just started taking interest in the android world and have started to learn how to compile kernels.
I own a SAMSUNG GALAXY S2 I9100G.
I have downloaded the aosp kernel source for my mobile from the cyanogenmod's github.
And followed guides to compile.
(i was able to compile a stock kernel but am having problems in compilling an aosp kernel )
I follow these commands:-
1. Make cyanogenmod_i9100g_defconfig
2. Make menuconfig
3. Make -j4
And this is the error i get
Code:
/home/incarnation95/Downloads/arm-2011.03/bin/arm-none-eabi-ld: cannot open linker script file /arch/arm/mach-omap2/sec_omap.lds: No such file or directory
make[1]: *** [arch/arm/mach-omap2/mailbox_mach.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2
Can anyone help mr figure out where the problem might be?
I did search 4-5 times before posting here but didnt find any solution.
Thanks in advance
Was chatting with incarnation95 offline, on resolving this issue, so here's for the benefit of others facing this same problem .
Go and open up the Makefile.sec , for my case the absolute path was :
/home/currway/kernelmod/fuss132/arch/arm/mach-omap2# vi Makefile.sec
In the content , find this line below and edit it to have the absolute path instead , so that sec_omap.lds can be references correctly:
dflags-$(CONFIG_MACH_OMAP4_SAMSUNG) += \
-T /home/currway/kernelmod/fuss132/arch/arm/mach-omap2/sec_omap.lds

[Q] Porting Cyanogenmod 10.1 to Hyundai T7S

Hello all,
I am trying to port Cyanogendmod 10.1 to a new device - Hyundai T7S.(smdk4412 based).
I have successfully compiled CWM recovery image and it work good on the tablet.
But when I try to build the whole ROM I receive the following errors:
android-dev/cm10.1/out/target/product/t7s/system/app/Exchange2.apk
frameworks/base/core/java/android/app/admin/DeviceAdminInfo.java:411: error 101: Unresolved link/see tag "#USES_POLICY_ENFORCE_MMAC" in android.app.admin.DeviceAdminInfo
frameworks/base/core/java/android/app/admin/DeviceAdminInfo.java:411: error 101: Unresolved link/see tag "#USES_POLICY_ENFORCE_SELINUX" in android.app.admin.DeviceAdminInfo
DroidDoc took 251 sec. to write docs to /home/steals/android-dev/cm10.1/out/target/common/docs/doc-comment-check
make: *** [/home/steals/android-dev/cm10.1/out/target/common/docs/doc-comment-check-timestamp] Error 45
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
I've tried to find some solutions, but haven't found anything.
Could you please help me to resolve the errors?
Thanks.
The error is fixed by adding '$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)' into device configuration file.
steals said:
The error is fixed by adding '$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)' into device configuration file.
Click to expand...
Click to collapse
Hi I'm trying to compile cm 10.1 for another phone, samsung galaxy mini 2, but I get that same error. I used the solution you describe but didn't work. Did you found that solution yourself, or found another forum/thread/whetever that this is discussed? If so, could you poin it to me, because google searching gave me nothing:/

[Q] Rock Chip kernel build fails at mkkrnlimg binary

Hi,
I am trying to build a kernel for rochchip tablet. When I compile the kernel using "make -j4 kernel.img", I am getting the following error.
HTML:
GEN drivers/video/rockchip/screen/lcd.h
Kernel: arch/arm/boot/Image is ready
<path>/kernel/mkkrnlimg: <path>/kernel/mkkrnlimg: cannot execute binary file
make: *** [kernel.img] Error 126
I understood that it is the problem compiling the binary mkkrnlimg. It is an ELF file which has to be compiled on MAC 10.9. Could some one please tell me how to fix it. I already had elf.h added to bin/include. It didn't help
Thanks

[Q] Error While Downloading CM12 Source

Hey Guys i am downloading CM12 Source ..Everything is fetched..I just need to sync when i start syncing i get an error .
Code:
error: in `sync`: [Errno 2] No such file or directory: u'/home/humaid/cm12/cts/.git/HEAD'
error: manifest missing or unreadable -- please run init
I have tried many time but i am still stuck .I am running Ubuntu 14 directly on my pc
KIndly help
DONE
Deleated the file from directory and retried and it worked!

some problem with cooking lineage rom

i try to build a LOS 17 unofficially for tissot (xiaomi mi a1) phone
after days that i finding missing vendor files finally i try to brunch the ROM
and after 99% i got this error:
[ 99% 478/479] finishing build rules ...
FAILED:
hardware/interfaces/boot/1.0/default/Android.mk: error: "[email protected] (SHARED_LIBRARIES android-arm64) missing bootctrl.msm8953 (STATIC_LIBRARIES android-arm64)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:961: error: exiting from previous errors.
15:16:22 ckati failed with: exit status 1
and i dont know what should i do
try searching about missing bootctrl.msm8953 but nothing
any help or advice that make it easy to me
thanks a lot for attention or help
babakhad said:
i try to build a LOS 17 unofficially for tissot (xiaomi mi a1) phone
after days that i finding missing vendor files finally i try to brunch the ROM
and after 99% i got this error:
[ 99% 478/479] finishing build rules ...
FAILED:
hardware/interfaces/boot/1.0/default/Android.mk: error: "[email protected] (SHARED_LIBRARIES android-arm64) missing bootctrl.msm8953 (STATIC_LIBRARIES android-arm64)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:961: error: exiting from previous errors.
15:16:22 ckati failed with: exit status 1
and i dont know what should i do
try searching about missing bootctrl.msm8953 but nothing
any help or advice that make it easy to me
thanks a lot for attention or help
Click to expand...
Click to collapse
i pass the problem
and now another one apear :
FAILED: ninja: 'out/target/product/tissot/obj/STATIC_LIBRARIES/bootctrl.msm8953_intermediates/export_includes', needed by 'out/target/product/tissot/obj/SHARED_LIBRARIES/[email protected]_intermediates/import_includes', missing and no known rule to make it
12:43:28 ninja failed with: exit status 1
thanks
and any help will be appreciated
0

Categories

Resources