I followed the Sony Ericsson Tutorial to compile.
I didn't make any change to .config file(semc_hallon_defconfig).
i used this cmd to make
Code:
make -j2
After a long progress,it showed a error:
Code:
CC arch/arm/mach-msm/clock-7x30.o
arch/arm/mach-msm/clock-7x30.c: In function 'msm_clk_soc_init':
arch/arm/mach-msm/clock-7x30.c:1106: error: ri_list causes a section type conflict
make[1]: *** [arch/arm/mach-msm/clock-7x30.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
Help me to compile.
I corrected the above problem.
Its due to compiler version problem.
now I made zimage and image .
How to converte it to sin file?
Sent from my MT11i using XDA App
Related
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
Code:
kernel/kprobes.c: In function 'recycle_rp_inst':
kernel/kprobes.c:1016: warning: passing argument 1 of 'spin_lock' from incompatible pointer type
error, forbidden warning: kprobes.c:1016
make[1]: *** [kernel/kprobes.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [kernel] Error 2
Any Idea ?
Sent from my Karbonn A9+ using Tapatalk HD
Getting this error while compiling JB from Code Aurora sources.
Code:
make: *** No rule to make target `out/host/linux-x86/bin/checksparse.py', needed by `out/target/product/msm7627a/obj/PACKAGING/target_files_intermediates/msm7627a-target_files-eng.arun.zip'. Stop.
make: *** Waiting for unfinished jobs....
Any help would be appreciated..
arunmcops said:
Getting this error while compiling JB from Code Aurora sources.
Code:
make: *** No rule to make target `out/host/linux-x86/bin/checksparse.py', needed by `out/target/product/msm7627a/obj/PACKAGING/target_files_intermediates/msm7627a-target_files-eng.arun.zip'. Stop.
make: *** Waiting for unfinished jobs....
Any help would be appreciated..
Click to expand...
Click to collapse
Double check that you added your device to the Android.mk build target file. For more help on your build error I would suggest checking out this thread dedicated to build errors http://forum.xda-developers.com/showthread.php?t=2059939. As well as these guides to common build basics http://wiki.cyanogenmod.org/w/Doc:_Building_Basics and common build errors http://wiki.cyanogenmod.org/w/Doc:_dealing_with_build_errors.
Sent from my SCH-I535 using xda premium
arunmcops said:
Getting this error while compiling JB from Code Aurora sources.
Code:
make: *** No rule to make target `out/host/linux-x86/bin/checksparse.py', needed by `out/target/product/msm7627a/obj/PACKAGING/target_files_intermediates/msm7627a-target_files-eng.arun.zip'. Stop.
make: *** Waiting for unfinished jobs....
Any help would be appreciated..
Click to expand...
Click to collapse
because the new QRD JB code need checksparse.py when you want a system.img.ext4 for output.
However, qualcomm did not put this file in the source code.
my solution is, edit build/core/Makefile to delete lines containning checksparse.py.
hope it helps
Hi!
I'm getting this error when I try to compile kernel from this source:
Code:
CC drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado: No such file or directory
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado": No such file or directory
make[4]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o] Error 1
make[3]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali] Error 2
make[2]: *** [drivers/gpu/mali] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
I don't know what to do, I'm using Google 4.6 toolchain and also tried with CyanogenMod 4.4.3 toolchain, but I get the same error
What can I do?
Thanks!
PS: @etch04 can you help me?
Anyone?
Error trying to build kernel for Xperia Go
Hello, have you found a solution? I have same problem with kernel for xperia go
My source is latest XperiaSTE for go at github
Garcia98 said:
Hi!
I'm getting this error when I try to compile kernel from this source:
Code:
CC drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado: No such file or directory
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado": No such file or directory
make[4]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o] Error 1
make[3]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali] Error 2
make[2]: *** [drivers/gpu/mali] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
I don't know what to do, I'm using Google 4.6 toolchain and also tried with CyanogenMod 4.4.3 toolchain, but I get the same error
What can I do?
Thanks!
PS: @etch04 can you help me?
Click to expand...
Click to collapse
f5bud said:
Hello, have you found a solution? I have same problem with kernel for xperia go
My source is latest XperiaSTE for go at github
Click to expand...
Click to collapse
I think that was a setup problem while preparing the environment in my PC, I don't know, I haven't had this error again.
Garcia98 said:
I think that was a setup problem while preparing the environment in my PC, I don't know, I haven't had this error again.
Click to expand...
Click to collapse
Yes, after reloaded a new lubuntu it's work !!!
EDIT3: I was sorta' right about the source package being somewhat temperamental. Managed to build the modules sans kernel, but doing both at the same time leads to the errors below. Also, renaming uImage to vmlinux and then shoving it in boot.img along with the compiled modules resulted in the tab being stuck on the boot logo.
EDIT2: I dunno if the build package was being temperamental or something, but ticking out the tvp5150 module seems to have done the trick.
EDIT: Managed to get further with building, but while I get a vmlinux image, it still ends with a mismatch error with modules. Coud this have something to do with the source tarball being stripped and not the full one?
Code:
Building modules, stage 2.
MODPOST 67 modules
WARNING: could not find drivers/input/touchscreen/.libAW5306.cmd for drivers/input/touchscreen/libAW5306
ERROR: "vfe_gpio_write" [drivers/media/video/tvp5150.ko] undefined!
WARNING: modpost: Found 4 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
So, I kinda' figured out on how to cobble up a kernel for the A31s, but upon attempting to build one based on the source taken from http://dl.linux-sunxi.org/SDK/A31/a31_hummbingbird_V3.3_v2_kfb_0k.tar.gz
While I managed to load up the default config and stuff, building it using the command make ARCH=arm CROSS_COMPILE=/root/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- results in this:
Code:
In file included from drivers/media/video/sunxi-vfe/camera_detector/camera_detector.h:4:0,
from drivers/media/video/sunxi-vfe/config.c:10:
drivers/media/video/sunxi-vfe/camera_detector/camera_includes.h:41:25: error: redefinition of typedef '__hdle'
drivers/media/video/sunxi-vfe/flash_light/../vfe_os.h:29:22: note: previous declaration of '__hdle' was here
make[4]: *** [drivers/media/video/sunxi-vfe/config.o] Error 1
make[3]: *** [drivers/media/video/sunxi-vfe] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
ANy thoughts or advice on how to make this work, let alone boot?