Nexus 5 compiling error - Nexus 5 Developer Discussion [Developers Only]

Hi men, please, I need a help
This is my Rom: https://github.com/eM4Mark
It worked perfectly before the last update ( r24 , first it was r22 ), but now I have this error.
make: *** No rule to make target `vendor/mark/system/vendor/media/LMspeed_508.emd', needed by `out/target/product/hammerhead/system/vendor/media/LMspeed_508.emd'. Stop.
make: *** Waiting for unfinished jobs....
Is very nice, because If I compile for Nexus 5X I don't have that error... PLEASE, help, I'm going crazy:silly:

try with another vendor
Sent from my Nexus 5 using XDA-Developers mobile app

Try another vendor, maybe u have any 5x fork on ur compiling bench
Sent from my fx-82MS with CM-CAF

Related

[Q] Building 2.6.35 kernel

Has anyone on here had any luck getting this kernel to build and boot. I've tried a couple cross-compilers and always end up with this error.
Code:
make[1]: *** No rule to make target `arch/arm/mach-msm/smd_rpcrouter.o', needed by `arch/arm/mach-msm/built-in.o'. Stop.
make[1]: *** Waiting for unfinished jobs....
CC arch/arm/mach-msm/smd_rpcrouter_device.o
CC kernel/panic.o
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
It builds a little bit more and then stops after this..
Code:
LD kernel/built-in.o
Anyone have any suggestions?
tcberg2010 said:
Has anyone on here had any luck getting this kernel to build and boot. I've tried a couple cross-compilers and always end up with this error.
Code:
make[1]: *** No rule to make target `arch/arm/mach-msm/smd_rpcrouter.o', needed by `arch/arm/mach-msm/built-in.o'. Stop.
make[1]: *** Waiting for unfinished jobs....
CC arch/arm/mach-msm/smd_rpcrouter_device.o
CC kernel/panic.o
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
It builds a little bit more and then stops after this..
Code:
LD kernel/built-in.o
Anyone have any suggestions?
Click to expand...
Click to collapse
What source did you use? I'm about to push mine up to github after I verify it's ok but this error happened to me when I tried to port the evo kernel to the inc.
If you want to set up the kernel as HTC has it do this:
Code:
cp arch/arm/configs/incrediblec_defconfig .config
from the main kernel directory
That will setup your environment for the Inc.
Are you running the build with multiple threads? Get rid of -j and let it build in a single thread so you can see all the errors
Sent from my ADR6300 using xda premium
swm5126 said:
Are you running the build with multiple threads? Get rid of -j and let it build in a single thread so you can see all the errors
Sent from my ADR6300 using xda premium
Click to expand...
Click to collapse
Ill try both suggestions after I update my laptop to 3.1-rc4. Thanks
Sent from my Incredible using XDA App

error building kernel

Hi guys first of all HI TO EVERYBODY!!!!
I'm new to this forum and hope you will help me....
I recently bought a brand new phone, an LG-P990.
I would like to build my personal rom and kernel so I followed this guide
http://forum.xda-dev...d.php?t=1104523
and all went ok but when I saw that there were not any kernel source code in it I decided also to follow the following
http://wiki.cyanogen...nel_from_source
but when I finally launch the compilation with:
make ARCH=arm CROSS_COMPILE=$CCOMPILER -j`grep 'processor' /proc/cpuinfo | wc -l`
after few minutes I have the following error message:
http://pastebin.com/z5udP72j
how to fix it???
thank you in advance,
Matteo
84matte84 said:
Hi guys first of all HI TO EVERYBODY!!!!
I'm new to this forum and hope you will help me....
I recently bought a brand new phone, an LG-P990.
I would like to build my personal rom and kernel so I followed this guide
http://forum.xda-dev...d.php?t=1104523
and all went ok but when I saw that there were not any kernel source code in it I decided also to follow the following
http://wiki.cyanogen...nel_from_source
but when I finally launch the compilation with:
make ARCH=arm CROSS_COMPILE=$CCOMPILER -j`grep 'processor' /proc/cpuinfo | wc -l`
after few minutes I have the following error message:
http://pastebin.com/z5udP72j
how to fix it???
thank you in advance,
Matteo
Click to expand...
Click to collapse
what is the definition of the $CCOMPILER ?
vadonka said:
what is the definition of the $CCOMPILER ?
Click to expand...
Click to collapse
as stated in the guide...the CCOMPILER is
CCOMPILER=${HOME}/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
Try compile with another toolchain? Linaro?
Sent from my LG-P990 using XDA App
fajarep said:
Try compile with another toolchain? Linaro?
Click to expand...
Click to collapse
why not....but how to do that????
if you have a recent version of ubunut/debian try this:
apt-get update
apt-get install gcc-arm-linux-gnueabi
then define the CCOMPILER like this:
CCOMPILER=arm-linux-gnueabi-
fajarep said:
Try compile with another toolchain? Linaro?
Click to expand...
Click to collapse
I tried with
CCOMPILER="/home/matteo/android/system/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-
but I have another error now
drivers/mmc/host/sdhci.c: In function 'sdhci_suspend_host':
drivers/mmc/host/sdhci.c:1652: error: too few arguments to function 'mmc_suspend_host'
make[3]: *** [drivers/mmc/host/sdhci.o] Error 1
make[2]: *** [drivers/mmc/host] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
what to do now??? changing toolchain until find a working one?
vadonka said:
if you have a recent version of ubunut/debian try this:
apt-get update
apt-get install gcc-arm-linux-gnueabi
then define the CCOMPILER like this:
CCOMPILER=arm-linux-gnueabi-
Click to expand...
Click to collapse
same error with gnueabi
drivers/mmc/host/sdhci.c: In function ‘sdhci_suspend_host’:
drivers/mmc/host/sdhci.c:1652:2: error: too few arguments to function ‘mmc_suspend_host’
include/linux/mmc/host.h:285:12: note: declared here
make[3]: *** [drivers/mmc/host/sdhci.o] Error 1
make[2]: *** [drivers/mmc/host] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
84matte84 said:
same error with gnueabi
drivers/mmc/host/sdhci.c: In function ‘sdhci_suspend_host’:
drivers/mmc/host/sdhci.c:1652:2: error: too few arguments to function ‘mmc_suspend_host’
include/linux/mmc/host.h:285:12: note: declared here
make[3]: *** [drivers/mmc/host/sdhci.o] Error 1
make[2]: *** [drivers/mmc/host] Error 2
make[1]: *** [drivers/mmc] Error 2
make: *** [drivers] Error 2
Click to expand...
Click to collapse
what kernel source you have?
vadonka said:
what kernel source you have?
Click to expand...
Click to collapse
following the guide I pulled the kernel from the device...
however in the .config I have the following
"Linux/arm 2.6.37.6 Kernel Configuration"
So i think 2.6.37.6
84matte84 said:
following the guide I pulled the kernel from the device...
however in the .config I have the following
"Linux/arm 2.6.37.6 Kernel Configuration"
So i think 2.6.37.6
Click to expand...
Click to collapse
Is note the same as the device because my device has a
2.6.32.49-cyanogenmode kernel...
84matte84 said:
following the guide I pulled the kernel from the device...
however in the .config I have the following
"Linux/arm 2.6.37.6 Kernel Configuration"
So i think 2.6.37.6
Click to expand...
Click to collapse
how can you pulled the kernel source from the device?
Are you have the cyanogenmod source? or miui or else?
i suggest that pull the latest cm kernel from the cyanogenmod github.
vadonka said:
how can you pulled the kernel source from the device?
Are you have the cyanogenmod source? or miui or else?
i suggest that pull the latest cm kernel from the cyanogenmod github.
Click to expand...
Click to collapse
Sorry I did not pulled the kernel source but the kernel config as suggested in the tutorial...
I'm working with cyanogenmod source following the cyanogenmod wiki tutorial here
http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
84matte84 said:
Sorry I did not pulled the kernel source but the kernel config as suggested in the tutorial...
I'm working with cyanogenmod source following the cyanogenmod wiki tutorial here
http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source
Click to expand...
Click to collapse
apt-get update
apt-get install git
git clone git://github.com/CyanogenMod/lge-kernel-star.git
then try with this source
vadonka said:
apt-get update
apt-get install git
git clone git://github.com/CyanogenMod/lge-kernel-star.git
then try with this source
Click to expand...
Click to collapse
this time the kernel compile without problems...now how to load it in the phone? Can I continue following the cyanogenmod wiki???
thank you for your help...
84matte84 said:
this time the kernel compile without problems...now how to load it in the phone? Can I continue following the cyanogenmod wiki???
thank you for your help...
Click to expand...
Click to collapse
I'm sorry if im raw, but why you deal with this? if you dont make any change in the kernel source just use the precompiled cm7 kernel.
im not exactly understand your motive.
vadonka said:
I'm sorry if im raw, but why you deal with this? if you dont make any change in the kernel source just use the precompiled cm7 kernel.
im not exactly understand your motive.
Click to expand...
Click to collapse
This is my first step...for now I need to build an unchanged source and load it on my phone....after when I will able to load a compiled kernel in the phone correctly I will need to modify it...for my university studies...
but because of is the first time I'm asking you the correct steps because I don't want to brik the phone
84matte84 said:
but because of is the first time I'm asking you the correct steps because I don't want to brik the phone
Click to expand...
Click to collapse
i understand.
in that case the kernel zimage in the "/arch/arm/boot" directory.
you also need to copy all file what have the ".ko" extension (modules)
you need to write a kernel installer cwm script, or use someone else script.
you can use my script: https://github.com/vadonka/kernel-installer
if you have some linux shell scripting knowledge you will understand this

[Kernel] Jelly Bean - Extract/Dump/Build

Hi
we are a team of devs trying to port jelly from s advance to xperia u.
when i extract the jelly system.tar i get files:
- kernel.bin.md5
- kernel2.bin.md5
- power_mangement.bin.md5
Can you please tell me if these are all three related to kernel?
Can you please tell me how to extract these kernel files, as i need to merge the "zimage" inside (?) with our ramdisk?
Or can anyone upload the boot.img from his jelly bean rom?
Thx
thebrainkafka said:
Hi
we are a team of devs trying to port jelly from s advance to xperia u.
when i extract the jelly system.tar i get files:
- kernel.bin.md5
- kernel2.bin.md5
- power_mangement.bin.md5
Can you please tell me if these are all three related to kernel?
Can you please tell me how to extract these kernel files, as i need to merge the "zimage" inside (?) with our ramdisk?
Or can anyone upload the boot.img from his jelly bean rom?
Thx
Click to expand...
Click to collapse
Someone is uploading the kernel dump iirc.
Other file is pretty self explanatory!
Sent from my GT-I9070 using xda premium
Shaaan said:
Someone is uploading the kernel dump iirc.
Other file is pretty self explanatory!
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
Thx,
but please explain... im used to sony file system
U want to just replace zImage In sony device? I think u need to build the kernel again :0
Sent from my GT-I9070 using xda app-developers app
I downloaded jb kernel source codes from opensource.samsung.com. When I try to build it, I stuck at error:
from arch/arm/mach-ux500/pm/suspend.c:13:
arch/arm/mach-ux500/pm/suspend.c: In function ‘ux500_suspend_init’:
arch/arm/mach-ux500/include/mach/id.h:68:13: error: inlining failed in call to always_inline ‘cpu_is_u9500’: function body not available
arch/arm/mach-ux500/pm/suspend.c:295:18: error: called from here
make[2]: *** [arch/arm/mach-ux500/pm/suspend.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC kernel/sched.o
make[1]: *** [arch/arm/mach-ux500/pm] Error 2
make: *** [arch/arm/mach-ux500] Error 2
Click to expand...
Click to collapse
Did someone succesfully build it? Or have advice to resolve this error?

[Q] Can someone help with this compiling error

hey guys,, i have been asking questions everywhere and no body seems to want to help with is really dissapointing to knoiw that a comunity driven website isnt willing to help anyone,, anyway im trying to compile aosp for my device and its always coming up with
make: *** No rule to make target `out/target/product/i9305/kernel', needed by `out/target/product/i9305/boot.img'. Stop.
make: *** Waiting for unfinished jobs....
it seems to me that its trying to build the boot.img before the kernel is compiled
Same here. but I try to create the KERNEL folder in that path, the build continue...
I have everything needed to compile. All the kernel sources are there, correct Def Config and paths. It just won't build the kernel
Sent from my GT-I9305 using XDA Free mobile app
$(warning * See wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building)
Note that we stuck at the kernel building, so we look into what was going on there. In the kernel building task I notice that something seems to be depreciate(d), no idea on whats going on on this depreciation, what is "integrated_kernel_building", no idea after reading the doc.
That's about cyanogenmod integration. I was trying to build aosp
Sent from my GT-I9305 using XDA Free mobile app
I don't know... I used to build aosp on 4.04 and 4.1
Sent from my GT-I9305 using XDA Free mobile app

MIUI Porting error Huawei P9 Anyone help me please!

Hello all! Last day i tried to port MIUI for our P9. But i faced an error,and i don't know how to solve it... Please help me! I want to make MIUI... I used stock 6.0 base.
Here is the error log:
/home/nexti/MIUI/tools/apktool --quiet if -p out/apktool out/framework-ext-res.apk
<<< build out/framework-ext-res.apk completed!
Copy: out/framework-ext-res.apk to out/ZIP/system/framework/framework-ext-res/framework-ext-res.apk
/home/nexti/MIUI/tools/apktool --quiet d -f /home/nexti/MIUI/miui/system/framework/framework.jar -o out/framework_miui
>>> build out/framework.jar...
cp: stat 'framework.jar.out/' sikertelen: Nincs ilyen fájl vagy könyvtár (Error: No Such File or Directory)
/home/nexti/MIUI/build/porting.mk:179: recipe for target 'out/framework.jar' failed
make[1]: *** [out/framework.jar] Error 1
make[1]: Leaving directory '/home/nexti/MIUI/eva'
Makefile:8: recipe for target 'otapackage' failed
make: *** [otapackage] Error 2
I am not a developer but it would be nice to have Miui 8 on P9! Bon courage...
forget about it until stable lineage is out, emui is integrated to deep
bro i´m not a developer but maybe this will help a little bit: http://www.miui.website/threads/miui-patchrom-tutorijal-za-portovanje.40/ keep working hard
cesarguaro said:
bro i´m not a developer but maybe this will help a little bit: http://www.miui.website/threads/miui-patchrom-tutorijal-za-portovanje.40/ keep working hard
Click to expand...
Click to collapse
Thank you very much! I will try this tomorrow. I hope it works well?
how it´s the developmen of the muiu rom going bro?
man ...i would love this
stock camera app included right?
Impossible EMUI is hard but MIUI is even harder todo
how it is going bro? any news on this rom?

Categories

Resources