Error during kernel compilation (msm7627a) - Android Q&A, Help & Troubleshooting

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

Related

Galaxy S II source code

Hi people,
I have a problem with Update2 sourcecode, kernel.
If I do "make mrproper" then he will not clean the drivers, this error:
scripts/Makefile.clean:17: /home/name/android/samsung/galaxys2/kernel/drivers/staging/westbridge/astoria/Makefile: No such file or directory
make[3]: *** No rule to make target `/home/name/android/samsung/galaxys2/kernel/drivers/staging/westbridge/astoria/Makefile'. Stop.
make[2]: *** [drivers/staging/westbridge/astoria] Error 2
make[1]: *** [drivers/staging] Error 2
make: *** [_clean_drivers] Error 2
Click to expand...
Click to collapse
Thanks in advance!

[Q] Galaxy S II source code problem

Hi people,
I have a problem with Update2 sourcecode, kernel.
If I do "make mrproper" then he will not clean the drivers, this error:
scripts/Makefile.clean:17: /home/name/android/samsung/galaxys2/kernel/drivers/staging/westbridge/astoria/Makefile: No such file or directory
make[3]: *** No rule to make target `/home/name/android/samsung/galaxys2/kernel/drivers/staging/westbridge/astoria/Makefile'. Stop.
make[2]: *** [drivers/staging/westbridge/astoria] Error 2
make[1]: *** [drivers/staging] Error 2
make: *** [_clean_drivers] Error 2
Click to expand...
Click to collapse
Thanks in advance!

[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] Please Reply! Compiling CM11 Error!

Hey I am trying to compile CM11 for the xperia E, but I get this error:
In file included from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/byteorder/little_endian.h:12:0,
from /home/usaamah/cm11/kernel/sony/msm7x27a/arch/arm/include/asm/byteorder.h:21,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/asm-generic/bitops/le.h:5,
from /home/usaamah/cm11/kernel/sony/msm7x27a/arch/arm/include/asm/bitops.h:308,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/bitops.h:22,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/kernel.h:19,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/cache.h:4,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/time.h:7,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/stat.h:60,
from /home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/module.h:10,
from /home/usaamah/cm11/kernel/sony/msm7x27a/net/netfilter/xt_socket.c:13:
/home/usaamah/cm11/kernel/sony/msm7x27a/net/netfilter/xt_socket.c: In function 'xt_socket_get6_sk':
/home/usaamah/cm11/kernel/sony/msm7x27a/include/linux/swab.h:49:9: warning: 'sport' may be used uninitialized in this function [-Wmaybe-uninitialized]
error, forbidden warning: swab.h:49
make[4]: *** [net/netfilter/xt_socket.o] Error 1
make[3]: *** [net/netfilter] Error 2
make[2]: *** [net] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/usaamah/cm11/kernel/sony/msm7x27a'
make: *** [TARGET_KERNEL_BINARIES] Error 2
Any Solution ASAP!
BUMP!
requires this change
friend
https://github.com/chijure/android_kernel_lge_vee1/commit/1c0c41ed1a6da33b5bbd7580436619798536eced

Errors trying to compile a kernel

Hello guys.
I have Galaxy s8 G950F Orero. I'm trying to compile a kernel to support monitoring mode and packet injection on external wifi adapter. I got a few errors when the build started.
I'm using Ubuntu 18.04 and aarch64/aarch64-linux-android-4.9 -b pie-release toolchain64
The error is:
/home/zerocount/kernel/kernel/Makefile:614: recipe for target 'scripts' failed
make[1]: *** [scripts] Error 2
make[1]: *** Waiting for unfinished jobs....
CHK include/generated/timeconst.h
CC kernel/bounds.s
UPD include/generated/timeconst.h
/home/zerocount/kernel/kernel/kernel/bounds.c:1:0: error: unknown value 'exynos-m1+crc+nofp' for -mcpu
/*
^
/home/zerocount/kernel/kernel/kernel/bounds.c:1:0: error: unknown value 'exynos-m1' for -mtune
/home/zerocount/kernel/kernel/./Kbuild:19: recipe for target 'kernel/bounds.s' failed
make[2]: *** [kernel/bounds.s] Error 1
/home/zerocount/kernel/kernel/Makefile:1117: recipe for target 'prepare0' failed
make[1]: *** [prepare0] Error 2
/home/zerocount/kernel/kernel/drivers/sensorhub/brcm/Makefile:57: ANDROID_MAJOR_VERSION : p
/home/zerocount/kernel/kernel/drivers/sensorhub/brcm/Makefile:58: ANDROID_PLATFORM_VERSION : 990000
make[1]: Leaving directory '/home/zerocount/kernel/out'
Makefile:150: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
I don't get it why it has to be so hard to build a kernel... I got errors and nothing more. Everytime i type make O=../out -j5 i got different errors.

Categories

Resources