[Q] copile ICS 4.0.4 - erro - kernel - Optimus One, P500, V General

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

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!

Error during kernel compilation (msm7627a)

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

[Q] What am I doing wrong with this build? (Uncommon errors received)

I was building some XP rom (http://github.com/XP-ROM/) for m7spr and then I got these weird errors. I've never seen them before. I would post this in m7spr but I don't think that this is a device issue, but probably something with the way the software to build is setup.
Code:
/bin/sh: 1: lzop: not found
make[4]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[2]: *** [zImage] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/nathan/XP/kernel/htc/m7'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
[email protected]:~/XP$
Maybe doomlord can help. He is a great member here by xda.
Gesendet von meinem Xperia SP

[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

Categories

Resources