Hi All,
I need some help to compile Sony stock kernel for my Xperia ZU on Ubuntu 15.04. I downloaded the latest source from sony developer site:
14.5.A.0.270.tar.bz2
and downloaded Doomlord's pre-built tool chain from:
https://github.com/DooMLoRD/android_...toolchains.git
and exported the path with arm-linux-androideabi-4.7:
export CROSS_COMPILE=/home/vishwas/android/android_prebuilt_toolchains/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-
Compilation started with:
make clean && make mrproper
Then, defconfig for Togari:
make ARCH=arm CROSS_COMPILE=$CROSS_COMPILE rhine_togari_row_defconfig
and then compiled kernel using:
make ARCH=arm CROSS_COMPILE=$CROSS_COMPILE -j4
I get error as:
If I compile with "CONFIG_NO_ERROR_ON_MISMATCH=y", then there is no error in compilation:
make ARCH=arm CROSS_COMPILE=$CROSS_COMPILE CONFIG_NO_ERROR_ON_MISMATCH=y -j4
But, I am not sure this is correct or not.
Can anyone please help me on solving issue related to 'vmlinux.o' ?
Thanks
I need some help to compile Sony stock kernel for my Xperia ZU on Ubuntu 15.04. I downloaded the latest source from sony developer site:
14.5.A.0.270.tar.bz2
and downloaded Doomlord's pre-built tool chain from:
https://github.com/DooMLoRD/android_...toolchains.git
and exported the path with arm-linux-androideabi-4.7:
export CROSS_COMPILE=/home/vishwas/android/android_prebuilt_toolchains/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-
Compilation started with:
make clean && make mrproper
Then, defconfig for Togari:
make ARCH=arm CROSS_COMPILE=$CROSS_COMPILE rhine_togari_row_defconfig
and then compiled kernel using:
make ARCH=arm CROSS_COMPILE=$CROSS_COMPILE -j4
I get error as:
Code:
MODPOST vmlinux.o
ERROR: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
To build the kernel despite the mismatches, build with:
'make CONFIG_NO_ERROR_ON_MISMATCH=y'
(NOTE: This is not recommended)
/home/vishwas/android/14.5.A.0.270/kernel/scripts/Makefile.modpost:98: recipe for target 'vmlinux.o' failed
make[1]: *** [vmlinux.o] Error 1
Makefile:936: recipe for target 'vmlinux.o' failed
make: *** [vmlinux.o] Error 2make ARCH=arm CROSS_COMPILE=$CROSS_COMPILE CONFIG_NO_ERROR_ON_MISMATCH=y -j4
But, I am not sure this is correct or not.
Can anyone please help me on solving issue related to 'vmlinux.o' ?
Thanks
Aucun commentaire:
Enregistrer un commentaire