[Q] Strange error during the compilation of AOSPA 3+ - Android Q&A, Help & Troubleshooting

Hi,
I'm tring to compile AOSPA 3+ for Samsung Galaxy S2G (i9100g). I've compiled successful different build of CyanogenMod and so I want to compile Paranoid for my device. I've followed this guide (http://forum.xda-developers.com/showthread.php?t=1863547), but after some hours I've the following error:
Install: /home/nicola/android/system/out/host/linux-x86/framework/sdkstats.jar
Install: /home/nicola/android/system/out/host/linux-x86/framework/ddmuilib-tests.jar
Install: /home/nicola/android/system/out/host/linux-x86/framework/sqlite-jdbc-host.jar
host Java: traceview (/home/nicola/android/system/out/host/common/obj/JAVA_LIBRARIES/traceview_intermediates/classes)
Install: /home/nicola/android/system/out/host/linux-x86/framework/uiautomatorviewer.jar
host Executable: clang (/home/nicola/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
make: *** [/home/nicola/android/system/out/host/linux-x86/obj/EXECUTABLES/llvm-ndk-cc_intermediates/llvm-ndk-cc] Ucciso
make: *** Eliminazione del file "/home/nicola/android/system/out/host/linux-x86/obj/EXECUTABLES/llvm-ndk-cc_intermediates/llvm-ndk-cc"
make: *** Attesa per i processi non terminati....
make: *** [/home/nicola/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang] Ucciso
make: *** Eliminazione del file "/home/nicola/android/system/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang"
Total time elapsed: 212 minutes (12734.833216262 seconds)
Click to expand...
Click to collapse
I've searched some solution on internet but I've found nothing. Probably this error is a noob erros but I can't solve it .
Can anyone help me?

Related

[Q] copile ICS 4.0.4 - erro - kernel

Hello I am trying to compile the ROM ics with 4.0.4 and I am with this problem. Can someone help me?
/Volumes/CyanogenModWorkspace/android/system/kernel/lge/p500/scripts/mod/mk_elfconfig.c:9: warning: unused variable ‘ei’
make[4]: *** [scripts/mod/mk_elfconfig] Error 1
make[3]: *** [scripts/mod] Error 2
make[2]: *** [scripts] Error 2
make[1]: *** [sub-make] Error 2
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
This is for Mac OS X
1. I needed to reference in my $path /Android NDK directory/prebuilt/darwin-x86/toolchain/arm-eabi-4.4.0/bin instead of /linux-x86/
2. I needed to add a file: "elf.h" to /kernel repository/scripts/mod/
Data for the file here -> rockbox.org/tracker/9006?getfile=16683
3. I needed to change #include <elf.h> to #include "elf.h" in the following files in /kernel repository/scripts/mod/: mk_elfconfig.c and modpost.h

[Q] qdMetaData.o error when building CM10.2

hey all,
when I compile the CM10.2, appeared an error and aborted.
and I couldn't find any useful link via google.
error tip is Chinese.
Code:
make: *** 没有规则可以创建“/home/lisong/Android/cm/out/target/product/NX501/obj/SHARED_LIBRARIES/libqdMetaData_intermediates/qdMetaData.o”需要的目标“/home/lisong/Android/cm/out/target/product/NX501/obj/KERNEL_OBJ/usr”。 停止。
make: *** 正在等待未完成的任务....
English version is about:
Code:
make: *** No rule to make target "/home/lisong/Android/cm/out/target/product/NX501/obj/SHARED_LIBRARIES/libqdMetaData_intermediates/qdMetaData.o" needed by "/home/lisong/Android/cm/out/target/product/NX501/obj/KERNEL_OBJ/usr". Stop.

[HELP] Compiling CM12 for LG G3

Finally got source to download right and fixed a repo issue but now i get this.
Any Ideas ????
Install: /home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot
Gyp action: android_webview_android_webview_gyp_android_webvie w_pak_target_repack_android_webview_pack (/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/android_webview_apk/assets/webviewchromium.pak)
acp: partial write to '/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot' (4096 of 8192)
make: *** [/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot] Error 1
make: *** Deleting file `/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot'
make: *** Waiting for unfinished jobs....
[email protected]:~/android/system$
PS : Sorry if in wrong section no idea where to put this!

Can't build a ROM with UBERTC for the OnePlus One

I can't build a ROM using UB-5.3, it always gives me the same error. I can build a CyanogenMod ROM without issues with the toolchain you get when you build CyanogenMod from source here.
Here's the terminal output.
Code:
CC arch/arm/mach-msm/qdsp6v2/apr.o
In file included from ../../../../../../kernel/oneplus/msm8974/include/sound/apr_audio-v2.h:17:0,
from ../../../../../../kernel/oneplus/msm8974/arch/arm/mach-msm/qdsp6v2/apr.c:29:
../../../../../../kernel/oneplus/msm8974/arch/arm/mach-msm/include/mach/qdsp6v2/apr.h:156:12: warning: inline function 'apr_fill_hdr' declared but never defined
error, forbidden warning: apr.h:156
make[4]: *** [arch/arm/mach-msm/qdsp6v2/apr.o] Error 1
make[3]: *** [arch/arm/mach-msm/qdsp6v2] Error 2
make[2]: *** [arch/arm/mach-msm] Error 2
make[1]: *** [sub-make] Error 2
make[1]: se sale del directorio «/home/cesaragus/android/system/kernel/oneplus/msm8974»
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Se espera a que terminen otras tareas....
make: se sale del directorio «/home/cesaragus/android/system»
I haven't modified anything, I just changed the toolchain. I've tried installing libisl13 as I saw in another post that it worked, but I'm getting the same result. I haven't found any information about apr_fill_hdr nor apr.h in Google. I don't know what the problem is. I can build perfectly if I use the default TC.
Can you help me solve this?

Getting this error every time while compiling an android kernel.

I am trying to compile a stock kernel downloaded from the official website for my android device but getting the following error every time even after making modifications to the makefile
HTML:
scripts/Makefile.build:44: arch/arm64/boot/dts/qcom/Makefile: No such
file or directory
make[2]: *** No rule to make target
'arch/arm64/boot/dts/qcom/Makefile'. Stop.
CC drivers/md/linear.o
scripts/Makefile.build:489: recipe for target
'arch/arm64/boot/dts/qcom' failed
make[1]: *** [arch/arm64/boot/dts/qcom] Error 2
arch/arm64/Makefile:118: recipe for target 'dtbs' failed
make: *** [dtbs] Error 2
I have searched for the solution on the internet but that also not worked for me and now I am stuck at this. Please guide me to get through this! Thanks in advanced!!!

Categories

Resources