[ROM COMPILING] some advice needed : ( - Android Q&A, Help & Troubleshooting

i want to admit that im beginner developer that is slowly starting his adventure with rom compiling
after getting rid of tons of errors, configuring sources etc theres one problem i dont know how to fix
Code:
make: *** No rule to make target 'NOTICE-TARGET-STATIC_LIBRARIES-libinit_msm', needed by '/home/android/cm12.1/out/target/product/g2m/root/init'. Stop.
make: *** Waiting for unfinished jobs....
spent whole day searching fix for this in google without success
any help would be really appreciated ! : )
would like to remove the file from source but cant find any string including this file in any boardconfig

Similar error from make
Did u find a solution to ur problem? I have a very similar one while trying to build android
Code:
make: *** No rule to make target '/home/robert/android/faosp/out/target/product/surnia/obj/STATIC_LIBRARIES/libinit_msm_intermediates/export_includes', needed by '/home/robert/android/faosp/out/target/product/surnia/obj/EXECUTABLES/init_intermediates/import_includes'
Somewhere i read the error is due to some missing sources but i don't know how i can find out which one.

Make sure you got all your repo's synced completely, also check your manifest, which can give some errors too... maybe this will help you search for these type of problems

yes true, that was my error. i had overseen a project supplying local_manifests in the same repo where i got the kernel, device and vendor sources

MrMaddTraxx said:
Make sure you got all your repo's synced completely, also check your manifest, which can give some errors too... maybe this will help you search for these type of problems
Click to expand...
Click to collapse
did all syncs still getting this error... any solutiion yet??
been searching on internet for 3 days

Related

CM build: "breakfast olympus" fails (Xoom kernel build attempt)

Hi guys,
My Atrix -> Xoom kernel port is complete. This is the nvodm version.
Right now I am trying to make a build of CM 9 based on my kernel and running into lots of hiccups
Yeap I am a noob so please bear with me. I am following the steps from http://wiki.cyanogenmod.org/w/Build_for_olympus, and got stuck at the step "Prepare the device-specific code"
Code:
$ breakfast olympus
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/olympus/cm.mk]]: "device/*/olympus/cm.mk" does not exist. Stop.
Device olympus not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_motorola_olympus
CyanogenMod/android_device_motorola_olympus already exists
Syncing repository to retrieve project.
warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead
Fetching projects: 100% (1/1), done.
warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/olympus/cm.mk]]: "device/*/olympus/cm.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_olympus'
** Do you have the right repo manifest?
I figure that the script is reaching out to the wrong repo at https://github.com/CyanogenMod/android_device_motorola_olympus
It should probably go to https://github.com/Atrix-Dev-Team/android_device_motorola_olympus
Am I right?
How to I correct this problem?
Thanks in advance..
Follow This
http://forum.xda-developers.com/showpost.php?p=21499412&postcount=1
I think that the best way to solve this problem is pm someone that already build a rom from source as you wanna do.
Try to reach MMontuori or EPinter (both really kind and will help for sure) by pm, just a tip hehe.
Hope you can build it, best of luck.
Sorry but this mean that we have a new kernel to get full cm9/10/10.1 roms? W/o All the bugs like the videocam...?
Thanks for the hard work!
from the (M)ATRIX...
Ask epinter, he is such a great guy and he have helped other devs,
Sent from my MB860
Your kernel is booting?
Its a full port from Xoom or you are using the leaked Kernel?
Able to retrieve logs from USB?
Whats your status?
This is very important, because there is another porting project running (http://forum.xda-developers.com/showthread.php?t=2016837) and maybe your kernel source is better to keep up than the one they are trying to port.
Please... communicate!
Thanks!
matbarni said:
Your kernel is booting?
Its a full port from Xoom or you are using the leaked Kernel?
Able to retrieve logs from USB?
Whats your status?
This is very important, because there is another porting project running (http://forum.xda-developers.com/showthread.php?t=2016837) and maybe your kernel source is better to keep up than the one they are trying to port.
Please... communicate!
Thanks!
Click to expand...
Click to collapse
Hey matbarni; take it easy and read the first post, not only the title.
It's not a matter of communication; If you can see the thread of the porting, you'll see some posts from user toyota86, which said he was working but in other branch because he has his reasons for it.
Please don't jump into conclussions and try to help, we all are struggling for an usable kernel; and EVERY help is welcome.
I'm sure any of the developers have contacted him by now or he tried to contact the developers, but he wants to see if anyone can give him a quick tip.
Enough. I'll shut my mouth off
Sorry guys. My mind was hazy when I posted that late last night.
What I meant by "complete" was that it simply built. That's it
Some early sanity testing of my kernel with CM7 resulted in a hang. Yes, I agree with most of you that the next logical thing to do is to flash That ROM and fastboot with my kernel. This can be a quick test. But I am a little suspicious the Bionic libraries may need to be rebuilt as well.
I have already sought advice from our Guru mmontuori and he has told me Kernel modules need to be rebuilt.
SO... lets build the whole she-bang
Raafat said:
Follow This
http://forum.xda-developers.com/showpost.php?p=21499412&postcount=1
Click to expand...
Click to collapse
Thanks!
you will need a build without the errata hack in board config, like the cm10 based on the leak. or build using my jb-olympus-new branch.
you can remove all the kernel modules if your defconfig follows android standard...
jhonnyx said:
Hey matbarni; take it easy and read the first post, not only the title.
It's not a matter of communication; If you can see the thread of the porting, you'll see some posts from user toyota86, which said he was working but in other branch because he has his reasons for it.
Please don't jump into conclussions and try to help, we all are struggling for an usable kernel; and EVERY help is welcome.
I'm sure any of the developers have contacted him by now or he tried to contact the developers, but he wants to see if anyone can give him a quick tip.
Enough. I'll shut my mouth off
Click to expand...
Click to collapse
I did not jump into conclusions.
As you can see, all I posted was questions. And yes, I read what toyota86 posted.
Like "Right now I am trying to make a build of CM 9 based on my kernel and running into lots of hiccups".
The way I am helping is to try to clarify to all users what this post is about.
Thanks for all the support guys
As much as I don't want you guys to be dissapointed, but dont put too much hope as to the outcome of my effort.
Now I have lots on my plate. I will update as I make progress.
thank you
Glad you have been working on this.I tried but abandoned due to insufficient knowledge. atrix was the best buy I've made in years.had it for 3 yes now and thanks to you and others it will live on. Im a trigger happy tester i try every ROM I see and can't wait to try yours.
epinter said:
you will need a build without the errata hack in board config
Click to expand...
Click to collapse
Thank you sir. One question though..
Which errata hack were you referring to? Errata 657451 in the motorola's version of the bionic library? Eg...
In motorola's bionic, we see workarounds like this:
Code:
/* BEGIN MOT GB UPMERGE, a5705c, 12/21/2010 */
# ifdef HAVE_TEGRA_ERRATA_657451
# define __munge_tls(_v) ( ((_v)&~((1ul<<20)|1ul)) | (((_v)&0x1)<<20) )
# else
# define __munge_tls(_v) (_v)
#endif
/* END MOT GB UPMERGE */
Description of this errata:
Code:
config TEGRA_ERRATA_657451
bool "Store bit 20 of CP15 TLS register c13,3 in bit 0"
depends on ARCH_TEGRA_2x_SOC && HAS_TLS_REG
default y
help
This option enables a workaround for the 657451 Tegra 2 errata
which causes unreliable reads from bit 20 of the thread storage
register c13, 3 (used by the __set_tls system call). It stores the
value intended for bit 20 into bit 0 instead; in most user-space
environments, the value saved by __set_tls is an aligned address,
so repurposing bit 0 will not cause ill effects.
In my noob'ish understanding, there is a hardware related bug in our Atrix Tegra 2 SOC that causing data corruption in Thread Local Storage (TLS). Researching this on the net, some ppl were talking about a possibility of a buggy version of this hardware in Atrix. It is also worth noting that this workaround however is NOT present in Stingray's kernel & bionic.
I don't think I remember seeing this workaround in CM's bionic, which is one of my initial concerns..I will look further at home tonight..
Errrrm... Isn't the Bionic a TI OMAP device?
can you post your kernel so others can test it? i have minimal knowledge but would love to help with testing
(Deleted)
quetzalcoatl2435 said:
Errrrm. Isn't the Bionic a TI OMAP device?
Click to expand...
Click to collapse
Bionic is Android's standard C library. Don't worry
toyota86 said:
Hi guys,
My Atrix -> Xoom kernel port is complete. This is the nvodm version.
Right now I am trying to make a build of CM 9 based on my kernel and running into lots of hiccups
Yeap I am a noob so please bear with me. I am following the steps from http://wiki.cyanogenmod.org/w/Build_for_olympus, and got stuck at the step "Prepare the device-specific code"
Code:
$ breakfast olympus
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/olympus/cm.mk]]: "device/*/olympus/cm.mk" does not exist. Stop.
Device olympus not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_motorola_olympus
CyanogenMod/android_device_motorola_olympus already exists
Syncing repository to retrieve project.
warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead
Fetching projects: 100% (1/1), done.
warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/olympus/cm.mk]]: "device/*/olympus/cm.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_olympus'
** Do you have the right repo manifest?
I figure that the script is reaching out to the wrong repo at https://github.com/CyanogenMod/android_device_motorola_olympus
It should probably go to https://github.com/Atrix-Dev-Team/android_device_motorola_olympus
Am I right?
How to I correct this problem?
Thanks in advance..
Click to expand...
Click to collapse
How did you solve this? I am trying to build for coconut (SE Live With Walkman) and stuck at breakfast.

Need Help for building rom from source!!!!!!!!!

View attachment 1989161 make: *** No rule to make target“/home/lenghonglin/android/system/out/target/product/su640/obj/EXECUTABLES/mm-vdec-omx-test_intermediates/test/omx_vdec_test.o”needed by“/home/lenghonglin/android/system/out/target/product/su640/obj/KERNEL_OBJ/usr”。 stop。
Did you find a solution?
kernel
It is your kernel source, you have to go to kernel /arch/arm/config and choose the appropriate config and then name that config in the device/ device name folder? =boardconfig.mk... if you do not have one, then you will have to make a config for it you will always get these errors. or you can get rid of your kernel folder all together and usually it will make a prebuilt kernel.. but withits hard to tell how you have it set up. , out seeing your boardconfig.mk, that error is because the vdec test is looking for an attibute to make that process go through from the kernel...

The Ultra Collective

The Ultra Collective
//ToDo: What we are about
I'm looking to gather a group of like minded togari users/devs that want to work together to help each other bring the best of android to the ZU. This stems from the Ubuntu Touch thread where 3 of us have face the same errors in porting things to the ZU
@KalleEatingBrain and @Kohelet I'm looking at you
Members
//ToDo: member list
BlueEther - Admin
- Second Admin
- Artist and Writer
- Code Monkey
Testers: iBuzman,
I'm looking for members to help port useful code and to contribute to our small community
Projects
//ToDo: list of current working projects
Pimped Kernel
CM 11 Kernel
Stock Kernel
Double Tap 2 Wake
Carbon ROM
AOSP
Ubuntu Touch
Git Repos
//ToDo: repos for different things for the ZU
https://github.com/The-Ultra-Collective
Togari kernel with CM and Pimped branches
Index of Useful Posts
//ToDo: keep index upto date
AOSP build error: "make: *** No rule to make target..."
XDA:DevDB Information
The Ultra Collective, ROM for the Sony Xperia Z Ultra
Contributors
blueether
Based On: AOSP, Carbon, Ubuntu, etc
Version Information
Status: Testing
Created 2014-06-29
Last Updated 2014-06-29
Subscribed... Happy to help, but can't code.. (looking for opportunity to learn but I wouldn't want to waste a team's time indulging me) Tester maybe? (or "grunt" for non difficult stuff - have unlimited download per month, a cygwin linux bash shell and free nights home alone with a pc lol)
I'm unavailable but I think it's a great initiative and I wish it all the best. ?
Sent from my C6833 using Tapatalk
AOSP build error:
Code:
make: *** No rule to make target `out/target/product/togari/obj/KERNEL_OBJ/usr', needed by `out/target/product/togari/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/frameparser.o'. Stop.
make: *** Waiting for unfinished jobs....
[email protected]:~/dev/aosp$
Fix:
Run make again and it seems to go away. ie only happens on first build after "make clean"
iBuzman said:
Subscribed... Happy to help, but can't code.. (looking for opportunity to learn but I wouldn't want to waste a team's time indulging me) Tester maybe? (or "grunt" for non difficult stuff - have unlimited download per month, a cygwin linux bash shell and free nights home alone with a pc lol)
Click to expand...
Click to collapse
You've done it now...
blueether said:
You've done it now...
Click to expand...
Click to collapse
I better grab some apis... Maybe even a dual boot set up if I get real motivated...
I'll be a tester if you need more.
I love the idea and I'll volunteer to be a tester if you need more.
blueether said:
AOSP build error:
Code:
make: *** No rule to make target `out/target/product/togari/obj/KERNEL_OBJ/usr', needed by `out/target/product/togari/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/frameparser.o'. Stop.
make: *** Waiting for unfinished jobs....
[email protected]:~/dev/aosp$
Fix:
Run make again and it seems to go away. ie only happens on first build after "make clean"
Click to expand...
Click to collapse
So you run `make` -> fails -> `make` (again) -> works? So without another `make clean` in between? Then this is usually a sign for something not building well in parallel or the buildscript being broken. Does it run succesful if you do a `make -j1`?
NIce thread idea. I will join you for sure once I have some more spare time.

[NEED HELP] [CM12.1 PORT] Building error (No rule to make target [...]/src/R.stamp)

Hello all,
I've been a member here for a while now, mostly consuming until this moment, but after buying a Galaxy Tab A 9.5 decided it was time to to some contributing (there isn't a working port of anything for it as far as I'm aware). So with some work of my own and major work and help from Nick Verse there is now a working current version building (and booting and functioning fully) of TWRP. For more on that, see the topic Nick made on that: http://forum.xda-developers.com/android/development/recovery-samsung-galaxy-tab-9-7-t3355465
Sources and files are at https://github.com/cyanonoob, and if necessary I can provide my local manifest, which includes these and TWRP.
As for building CM: after I setup the build environment, make clean and clobber (in case of previous (mis)builds), I do croot and then lunch cm_gt510wifi-userdebug && mka bacon. As far as I know that is what I'm supposed to do, and then there comes the journey of sorting through building errors, which is where I am now.
I'm currently stuck on this one (and couldn't find a way out), so I am hoping someone here can shine a light on it:
Code:
make: *** No rule to make target `/home/geert/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp', needed by `/home/geert/android/system/out/target/common/obj/APPS/AntHalService_intermediates/src/R.stamp'. Stop.
make: *** Waiting for unfinished jobs....
[33mNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.[0m
make: Leaving directory `/home/geert/android/system'
#### make failed to build some targets (03:44 (mm:ss)) ####
Full logfile here:
http://pastebin.com/C02YhXSz
Thanks in advance,
graey/cyanonoob
graey said:
Hello all,
I've been a member here for a while now, mostly consuming until this moment, but after buying a Galaxy Tab A 9.5 decided it was time to to some contributing (there isn't a working port of anything for it as far as I'm aware). So with some work of my own and major work and help from Nick Verse there is now a working current version building (and booting and functioning fully) of TWRP. For more on that, see the topic Nick made on that: http://forum.xda-developers.com/android/development/recovery-samsung-galaxy-tab-9-7-t3355465
Sources and files are at https://github.com/cyanonoob, and if necessary I can provide my local manifest, which includes these and TWRP.
As for building CM: after I setup the build environment, make clean and clobber (in case of previous (mis)builds), I do croot and then lunch cm_gt510wifi-userdebug && mka bacon. As far as I know that is what I'm supposed to do, and then there comes the journey of sorting through building errors, which is where I am now.
I'm currently stuck on this one (and couldn't find a way out), so I am hoping someone here can shine a light on it:
Full logfile here:
http://pastebin.com/C02YhXSz
Thanks in advance,
graey/cyanonoob
Click to expand...
Click to collapse
Any Progress in porting cm tho gt510?
Did you manage to fix that error ???
How ??
Thanks in advance
Best Regards
Edit : to anyone who face that error....it is wrong build environment configuration....CM-12.1 require Open JDK 7 to build so you have to install Ubuntu 14.04 to compile it as Open JDK 7 got replaced with Open JDK 8 in Ubuntu 16.04....hope that helps
Best Regards

Poco f1 Compiling kernel..

So just today i decided to compile kernel for poco f1, yet i am new to developing kernels and stuff, i'm having alot of problems, for example typing command "make clean" will return "make: *** No rule to make target 'clean'. Stop." and i cannot find the defconfig that i need, can somebody here help?, i really need help on this

Categories

Resources