[Q] On Compile Kernel Error? - Android Q&A, Help & Troubleshooting

PHP:
CHK include/generated/compile.h
target SharedLib: libaudioflinger (out/target/product/galaxysmtd/obj/SHARED_LIBRARIES/libaudioflinger_intermediates/LINKED/libaudioflinger.so)
/home/mehmet/android/slim/kernel/samsung/samsung-kernel-aries/scripts/gen_initramfs_list.sh: Cannot open '../ics-ramdisk/jb_combo/'
make[3]: *** [usr/initramfs_data.cpio.lzma] Error 1
make[2]: *** [usr] Error 2
make[1]: *** [sub-make] Error 2
make[1]: `/home/mehmet/android/slim/kernel/samsung/samsung-kernel-aries' exiting the directory
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs ....
what is the problem and how i can fix ?

Bump

Related

Fuse-linker fail?

Hi everyone, i know this is android "development" thing, but this is not appropriate imho for its section, i prefer to write here because this is problem releated to android platform and not to real development.
i'm going to compile kernel for my device ( its useless but anyway its i9003 GalaxySL ICS ), i read and follow here:
source.android.com/source/initializing.html
but when i'm going to compile i get this error
Code:
make: *** [scripts] Errore 2
make: *** Attesa per i processi non terminati....
arm-eabi-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.
make[1]: *** [kernel/bounds.s] Errore 1
make: *** [prepare0] Errore 2
CHK include/linux/version.h
CHK include/generated/utsrelease.h
HOSTCC scripts/bin2c
HOSTCC scripts/conmakehash
CC scripts/mod/empty.o
arm-eabi-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.
make[2]: *** [scripts/mod/empty.o] Errore 1
make[1]: *** [scripts/mod] Errore 2
make[1]: *** Attesa per i processi non terminati....
make: *** [scripts] Errore 2
cp: impossibile eseguire stat di "arch/arm/boot/zImage": File o directory non esistente
CLEAN /home/scfboy/Project/android_kernel_samsung_latona
CLEAN .tmp_versions
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN scripts
CLEAN include/config include/generated
CLEAN .config include/linux/version.h
Fuse-linker is a option of Gcc that require LLM ( right? )
anyway know how solve this? i'm on virtualbox under Ubuntu 10.04x64
PS: I'm using this toolchain, linaro downloaded here : github.com/DooMLoRD/android_prebuilt_toolchains
thanks
did you ever solve this problem?

Compile the following error CM-kernel, how to solve?

CC arch/arm/mach-msm/display/villec2-panel.o
arch/arm/mach-msm/display/villec2-panel.c:80: error: unknown field 'autobl_enable' specified in initializer
arch/arm/mach-msm/display/villec2-panel.c:80: warning: initialization from incompatible pointer type
error, forbidden warning: villec2-panel.c:80
make[2]: *** [arch/arm/mach-msm/display/villec2-panel.o] error 1
make[1]: *** [arch/arm/mach-msm/display] error 2
make: *** [arch/arm/mach-msm] error 2

poblem with gcc compiling kernel

when i try to compile a kernel with this command
Code:
make ARCH=arm CROSS_COMPILE=arm-eabi- modules_prepare
i get this error:
Code:
CC_PATH/arm-eabi- modules_prepare
make: /arm-eabi-gcc: command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: 1: /arm-eabi-gcc: not found
/home/user/Desktop/ArchiKernel-smdk4412/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 127
Makefile:1216: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
can someone help me?
thanks in advance

poblem with gcc compiling kernel

when i try to compile a kernel with this command
Code:
make ARCH=arm CROSS_COMPILE=arm-eabi- modules_prepare
i get this error:
Code:
CC_PATH/arm-eabi- modules_prepare
make: /arm-eabi-gcc: command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
/bin/sh: 1: /arm-eabi-gcc: not found
/home/user/Desktop/ArchiKernel-smdk4412/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 127
Makefile:1216: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
can someone help me?
thanks in advance

Error While Making CyanogenMod Recovery

So, I was trying to do the command:
Code:
make recoveryimage -j5
And got this error:
Code:
CC arch/arm/mach-msm/hotplug.o
CC arch/arm/mach-msm/board-8916.o
CC arch/arm/mach-msm/ext-buck-control.o
CC arch/arm/mach-msm/msm_mem_hole.o
LD arch/arm/mach-msm/built-in.o
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/tanuj/android/cyanogenmod/kernel/xolo/black'
build/core/tasks/kernel.mk:286: recipe for target 'TARGET_KERNEL_BINARIES' failed
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
target thumb C++: recovery <= bootable/recovery/adb_install.cpp
make: *** wait: No child processes. Stop.
#### make failed to build some targets (06:35 (mm:ss)) ####
Can somebody tell me how to get rid of this?

Categories

Resources