Hi,
I'm trying to compile CM11 for my S3, and no matter what I do I can't get past this error, nor can I find anything helpful online.
Code:
make: *** No rule to make target '/home/kayla/android/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar', needed by '/home/kayla/android/out/target/common/obj/APPS/AdvancedDisplay_intermediates/classes-full-debug.jar'.
My source tree is fully synced, and I have the correct device, proprietary, and kernel folders synced. I've completely re-built multiple times with Oracle JDK 8, 7, and 6, and I still can't get past this error.
Any help would be great, thanks!
kaisparkle said:
Hi,
I'm trying to compile CM11 for my S3, and no matter what I do I can't get past this error, nor can I find anything helpful online.
Code:
make: *** No rule to make target '/home/kayla/android/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar', needed by '/home/kayla/android/out/target/common/obj/APPS/AdvancedDisplay_intermediates/classes-full-debug.jar'.
My source tree is fully synced, and I have the correct device, proprietary, and kernel folders synced. I've completely re-built multiple times with Oracle JDK 8, 7, and 6, and I still can't get past this error.
Any help would be great, thanks!
Click to expand...
Click to collapse
cm 11 works only with openjdk 7 so make sure that you use the proper one , you can check it by runing this in yre terminal
Code:
sudo update-alternatives --config java
Related
I compiled this tonight and just have some info if others are interested in it.
Link to ROM thread: http://forum.xda-developers.com/showthread.php?p=12437432#post12437432
Dev machine: newest CentOS x64 on VMWare Workstation 7, about a day old
I already had Git installed, but if you're new to this you'll need it (and some dependencies):
Code:
yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel
wget http://kernel.org/pub/software/scm/git/git-1.7.4.2.tar.bz2
tar xvfj git-1.7.4.2.tar.bz2
cd git-1.7.4.2
make prefix=/usr/local all
make prefix=/usr/local install
Repo was a new tool to me, so it wasn't installed... If you don't have repo, download/install it using this set of commands:
Code:
curl http://android.git.kernel.org/repo > /usr/bin/repo
chmod a+x /usr/bin/repo
Now that you have repo you can download everything. Make a folder somewhere and cd there (mine is /phone/aosp), then:
Code:
repo init -u git://github.com/jt1134/platform_manifest.git -b froyo
This sets up the folder, but you need to download everything:
Code:
repo sync
Jt1134 had -j40 as a parameter, but this caused a Python error for me and does not appear necessary. This downloads an incredible amount of projects and takes quite a while (over an hour at ~500K/s). It's exciting, how much is involved.
The next two lines are very quick, but I had to install Bison ('yum install bison') first:
Code:
source build/envsetup.sh
lunch full_fascinate-eng
Then the final line to actually build the whole package:
Code:
make -j$(grep processor /proc/cpuinfo | wc -l) bacon && fixzip
From this point forward I'm walking through the errors I encountered and how I fixed them to get to completion:
It failed on first run and I had to install glibc-devel because a 32 bit header file stubs-32.h was missing ('yum install glibc-devel').
It failed on the second run because I did not have 'flex' installed. ('yum install flex').
Third time looked good, compiled a ton of stuff, then bombed because 'libsecril-client.so' was missing. Exact error:
Code:
/phone/aosp/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld:
warning: libsecril-client.so, needed by out/target/product/fascinate/obj/lib/libsecgps.so, not found (try using -rpath or -rpath-link)
It was however found in two places:
Code:
/phone/aosp/vendor/samsung/vzwtab/proprietary/lib/libsecril-client.so
/phone/aosp/vendor/samsung/fascinate/proprietary/lib/libsecril-client.so
So what I did is copy it to the output folder (not the optimal solution I'm sure, but it worked):
Code:
cp vendor/samsung/fascinate/proprietary/lib/libsecril-client.so out/target/product/fascinate/obj/lib/
Fourth time through it continued on an compiled a ton of projects, and then... 'gperf' command not found. ('yum install gperf')
Fifth time, I actually went to sleep during this one , woke up to this error:
Code:
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb] Error 1
I fixed this with 'yum install ncurses-devel' and let the process continue, and shortly afterwards got another error:
Code:
In file included from external/qemu/android/skin/window.c:19:
prebuilt/linux-x86/sdl/include/SDL/SDL_syswm.h:55:22: error: X11/Xlib.h: No such file or directory
prebuilt/linux-x86/sdl/include/SDL/SDL_syswm.h:56:23: error: X11/Xatom.h: No such file or directory
I fixed this with 'yum install libX11-devel' and off we go again... a new error!:
Code:
/usr/bin/ld: cannot find -lhistory
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/sqlite3_intermediates/sqlite3] Error 1
This was fixed by running 'yum install readline-devel' and we're back to a lot more compiling...
Success!! full_fascinate.zip is in the root folder, ready to be moved to the phone.
Hope someone might find this helpful or interesting... let me know if there's anything I can do to make it better!
What dev environment do you guys use to edit these files?
Do you just keep recompiling them and running the rom using the SDK virtual phone?
I'm an experienced developer but I am only familiar with windows development but want to get into some apps development soon.
Eclipse is rather popular.
Sent from my SCH-I500 using XDA App
I'm using Eclipse, run them on the phone for testing, and haven't done much yet.
Would other developers be willing to chime in with their advice/preferences on the whole process? Thanks!
-j40 is only to parallelize the tasks (up to 40 threads I believe) so it's not strictly necessary.
By the way, all the dependencies to build android should be on here: http://source.android.com/source/download.html
And @SmokeyDP, you don't need to build your own version of the OS to write apps, so these instructions aren't really relevant for that if that's all you want to do. Eclipse is probably the most common IDE for Android app development because that's what Google supports directly, but I've heard that IntelliJ IDEA also has nice Android support and just lacks a GUI builder. I've recently switched to IDEA for other Java development and it's a lot faster and more refined than eclipse, so I would suggest trying that if you're going to start learning because you won't be used to either eclipse or IDEA and can choose which one seems the best to you.
I realize you don't need to rebuild the OS to develop an app, but I was asking about developing both since I imagine it's the same IDE and I was curious. Thanks for the info.
SmokeyDP said:
I realize you don't need to rebuild the OS to develop an app, but I was asking about developing both since I imagine it's the same IDE and I was curious. Thanks for the info.
Click to expand...
Click to collapse
Unless you're going to be using the NDK to write apps, you're not going to be using C, which is what the Linux Kernel is written in... and Eclipse's support for C is a lot poorer than its support for Java (honestly, I can't stand its support for either, its interface is quite the unorganized mess, IMO). I, personally, use a different set of tools for each language/toolkit I use, as each have their pros and cons.
So while trying to compile an Atrix rom from source after typing:
". build/envsetup.sh && brunch olympus"
I get an error:
. build/envsetup.sh && brunch olympus
including device/motorola/olympus/vendorsetup.sh
including device/moto/stingray/vendorsetup.sh
including device/moto/wingray/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/samsung/toro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
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
Duplicate device 'CyanogenMod/android_device_motorola_olympus' found in local_manifest.xml.
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?
No such item in brunch menu. Try 'breakfast'
I've tried "breakfast" to no avail. I've used multiple guides in trying to do this and always the same outcome... If it helps you can assume I've ran all the same steps (but for the Atrix of course) as in this guide: http://forum.xda-developers.com/showthread.php?t=1188298
Disclaimer: I don't know a ton about this stuff yet either. I have yet to execute a successful build for the Atrix.
Have you looked at http://wiki.cyanogenmod.com/wiki/Motorola_Atrix_4G:_Compile_CyanogenMod_(Linux) and http://forum.xda-developers.com/showthread.php?t=1442842 ? Are you trying to build CM7 or CM9? If it's CM9 then I don't think the Atrix specific bits are in the CM github. You'll have to overlay joker or turl's github on top of it.
Try this
Davidrd91 said:
So while trying to compile an Atrix rom from source after typing:
". build/envsetup.sh && brunch olympus"
I get an error:
. build/envsetup.sh && brunch olympus
including device/motorola/olympus/vendorsetup.sh
including device/moto/stingray/vendorsetup.sh
including device/moto/wingray/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/samsung/toro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
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
Duplicate device 'CyanogenMod/android_device_motorola_olympus' found in local_manifest.xml.
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?
No such item in brunch menu. Try 'breakfast'
I've tried "breakfast" to no avail. I've used multiple guides in trying to do this and always the same outcome... If it helps you can assume I've ran all the same steps (but for the Atrix of course) as in this guide: http://forum.xda-developers.com/showthread.php?t=1188298
Click to expand...
Click to collapse
From your device tree I'm assuming you're trying to build CM9.
Try using the ADT repo instead of the CyanogenMod one. The one you're using does not have a cm.mk file, which is what I think is giving you your error. Can't make something if the instructions aren't there.
Compare the contents of the CM one to the ADT one and you'll see there's a lot of stuff missing.
Also, you may want to try checking out the building CM9 from source link lautern posted above. You'll most likely get better feedback / more experienced eyes to help you out.
Thanks guys I'll look into both. And yes it is CM9 I'm trying to compile, I've been using Jokersax's repo and the CM ics branch to compile but i got a little confused between the device files and proprietary. I've started from scratch to make sure everything is fresh and hopefully this time all will go well.
I'll post again when this is all done syncing and I test what I've compiled =]
This time it wouldn't find the "modules". By this I'm assuming it meant the Wi-Fi modules so I tried to compile a kernel. Which failed as well. I don't have the cmd prompt logs to post but I just wanted to ask if you guys know of any guides specific for compiling Cm9 for an Atrix? I'm assuming that its a bit more difficult because the Atrix doesn't come with ics.
Or any guides on how to do so using Jokersax/turls repos?
Thanks in advance everyone
Sent from my MB860
Davidrd91 said:
This time it wouldn't find the "modules". By this I'm assuming it meant the Wi-Fi modules so I tried to compile a kernel. Which failed as well. I don't have the cmd prompt logs to post but I just wanted to ask if you guys know of any guides specific for compiling Cm9 for an Atrix? I'm assuming that its a bit more difficult because the Atrix doesn't come with ics.
Or any guides on how to do so using Jokersax/turls repos?
Thanks in advance everyone
Sent from my MB860
Click to expand...
Click to collapse
See previous suggestion:
lauterm said:
Disclaimer: I don't know a ton about this stuff yet either. I have yet to execute a successful build for the Atrix.
Have you looked at http://wiki.cyanogenmod.com/wiki/Motorola_Atrix_4G:_Compile_CyanogenMod_(Linux) and http://forum.xda-developers.com/showthread.php?t=1442842 ? Are you trying to build CM7 or CM9? If it's CM9 then I don't think the Atrix specific bits are in the CM github. You'll have to overlay joker or turl's github on top of it.
Click to expand...
Click to collapse
Building CM9
Building CM7 (linked in above quote)
Read both threads. The CM7 one will probably be of more help to you (it has more troubleshooting discussion). Each has links to other useful guides.
So I've read through both posts several times, and now that I have a new laptop its around the 6th time (not exaggerating) that I set up Ubuntu and the "build enviroment" from scratch.
This time though my problem seems to be with java >_<...
build/core/config.mk:269: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com. Stop.
Device olympus not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_motorola_olympus
Duplicate device 'CyanogenMod/android_device_motorola_olympus' found in local_manifest.xml.
build/core/config.mk:269: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com. Stop.
** Don't have a product spec for: 'generic_olympus'
** Do you have the right repo manifest?
I have the correct JDK installed (sun not openjdk) version 1.6.0_31, and looking through the folders I can find the tools.jar file in the directory, I've even tried to point it out by putting:
# Variable ANDROID_JAVA_HOME
ANDROID_JAVA_HOME=/usr/lib/jvm/jdk1.6.0_31/lib
export ANDROID_JAVA_HOME
into my .bashrc. Also tried changing the ANDROID_JAVA_HOME variable to the HOST_JAVA_TOOLS_JAR variable which seems to be what the build/core/config.mk file cant find.... Yet still no hope ... as of now Im not even worried about the "Device Olympus not found" error as I've had it before. Dont really know how I fixed it but atleast I know I can lol...
Any help would be greatly appreciated, thanks =]
Also I have made sure to update the java alternatives and java -version returns
java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
Which to my knowledge is correct?
Ok so I fixed the Java problem, and got another Java problem. I'll post all the fixes I find in case others need help with errors. If you know some C programming (which I dont but was
linked to in one of the threads you guys sent me to ) most errors will have
"build/core/config.mk:269"
The number at the end corresponds to the line 269 in the config.mk file found in build/core directory in your source folder. Going to that line I saw that it ran a script:
"find-jdk-tools-jar.sh"
After doing a search for it I saw that the script in turn looked for the tools.jar file using the variable ANDROID_JAVA_HOME.
"$ANDROID_JAVA_HOME/lib/tools.jar"
So I added this at the end of my ~/.bashrc
"# Variable ANDROID_JAVA_HOME
ANDROID_JAVA_HOME=/usr/lib/jvm/jdk1.6.0_31
export ANDROID_JAVA_HOME "
If you look at my last post you'll see I added "/lib" to the end of "ANDROID_JAVA_HOME=..." so the script was looking for:
"ANDROID_JAVA_HOME=/usr/lib/jvm/jdk1.6.0_31/lib/lib/tools.jar"
^ 2 /libs... that folder doesn't exist.
Now it tells me I'm using the incorrect version of Java. (it says I have 1.6.0_31 and the correct version is just 1.6 or something) I've fixed this before so I'll post again when I see exactly how I did it >_< lol.
Edit: Just ran "sudo apt-get install openjdk-6-jdk" then ran build>lunch>olympus and it's building as we speak.
Ok, I setup my 2 build boxes. One Ubuntu 11.10x64 and one Mint 11x86. Installed required packages and downloaded multiple toolchains. I have tried compiling on both machines and on both I get the same errors.
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
I have tried make thunderc_perf_defconfig and get the same error. Copied .config from device dropped into source, same error.
Any ideas on what is going on? I'm new to this so any help would be great.
I don't known, maybe gcc
try checking your mount options?
Nope its not gcc; as I said I have installed all required packages including gcc + bison etc. My mount options? Is that the "export ARCH=arm" ? Where I have to set the default compiler? I'm new to the newer flavors of linux. The last distro I used was Mandrake 7.1 ;-) Now I am testing this on 2 builds; an x64 Ubuntu and a x86 Mint(Which is Ubuntu). I have to be missing something on both, but I have followed tutorials guides to the T and still get this error. I get more errors than this by the way. The compiler kicks back Kconfig saying unexpected line of code.
SgtPropain said:
Ok, I setup my 2 build boxes. One Ubuntu 11.10x64 and one Mint 11x86. Installed required packages and downloaded multiple toolchains. I have tried compiling on both machines and on both I get the same errors.
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
I have tried make thunderc_perf_defconfig and get the same error. Copied .config from device dropped into source, same error.
Any ideas on what is going on? I'm new to this so any help would be great.
Click to expand...
Click to collapse
I ran a search on your error message about the missing rule to make auto.conf and found this:
https://bbs.archlinux.org/viewtopic.php?id=99089
It relates to the other poster's comment about checking your mount options. It's a short process to fix it.
And if it doesn't work maybe it will at least give you a new error message to research.
glarepate said:
I ran a search on your error message about the missing rule to make auto.conf and found this:
https://bbs.archlinux.org/viewtopic.php?id=99089
It relates to the other poster's comment about checking your mount options. It's a short process to fix it.
And if it doesn't work maybe it will at least give you a new error message to research.
Click to expand...
Click to collapse
just as i thought. that might have happened. its worth a try though.
SgtPropain said:
Nope its not gcc; as I said I have installed all required packages including gcc + bison etc. My mount options? Is that the "export ARCH=arm" ? Where I have to set the default compiler? I'm new to the newer flavors of linux. The last distro I used was Mandrake 7.1 ;-) Now I am testing this on 2 builds; an x64 Ubuntu and a x86 Mint(Which is Ubuntu). I have to be missing something on both, but I have followed tutorials guides to the T and still get this error. I get more errors than this by the way. The compiler kicks back Kconfig saying unexpected line of code.
Click to expand...
Click to collapse
Wrong...
Because you don't have .config file in the source. If you are building kernel from source, you must have the kernel config. That kernel config can be shared in the source code, it depends on that kernel developer, he can shared it in arch/arm/config, access to there then find that kernel defconfig. Or you can get the kernel config of that kernel with another method, but this method just can be applied if the kernel you want to build is for our device: flash that kernel then go to terminal then type:
Code:
su
(Accept the super user)
Code:
cp /proc/config.gz /sdcard
If it show "No such file or directory found" so you should ask that kernel developer for their .config.
If it doesn't show anything, go to sdcard and find if there is a file that named config.gz, it's the kernel config. Get back to terminal then type:
cd /sdcard
gunzip config.gz
Voila!
I actually tried that already.... I have been at this for about three days. XDA was my last resort as I like to figure things out on my own. However I'm stuck @ a brick wall. I have edited /etc/fstab and removed the bs mount options..remounted same error. Mind you I'm doing most of this from a Virtual Environment. Starting to think this is my issue, but it doesn't explain the same error on machine #2. Maybe I'm doing it right, possibly a bad git clone?
thachtunganh said:
Wrong...
Because you don't have .config file in the source. If you are building kernel from source, you must have the kernel config. That kernel config can be shared in the source code, it depends on that kernel developer, he can shared it in arch/arm/config, access to there then find that kernel defconfig. Or you can get the kernel config of that kernel with another method, but this method just can be applied if the kernel you want to build is for our device: flash that kernel then go to terminal then type:
Code:
su
(Accept the super user)
Code:
cp /proc/config.gz /sdcard
If it show "No such file or directory found" so you should ask that kernel developer for their .config.
If it doesn't show anything, go to sdcard and find if there is a file that named config.gz, it's the kernel config. Get back to terminal then type:
cd /sdcard
gunzip config.gz
Voila!
Click to expand...
Click to collapse
Yeah that would be great if I hadn't done that already. In my post I stated I had replaced the .config from my device. I have literately tried everything but doing this from base. IE not from a VM. I appreciate the help but its a "no go".
Beginning of my .config for proof
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.32.9-ck2
# Wed Apr 11 20:41:44 2012
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_KTIME_SCALAR=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_ARCH_HAS_CPUFREQ=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
CONFIG_VECTORS_BASE=0xffff0000
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_CONSTRUCTORS=y
Setting up a third independent machine Ubuntu x86 testing..
where do you get that .config from?
pull /proc/config.gz
SgtPropain said:
pull /proc/config.gz
Click to expand...
Click to collapse
What device are you using, and what kernel are you using.
for the time being you can use prebuilt kernel...no need to build kernel from source....
williamcharles said:
for the time being you can use prebuilt kernel...no need to build kernel from source....
Click to expand...
Click to collapse
He isn't building ROM from source. He is learning how to build a kernel from source.
Sorry for the delay; had 2 deaths in the family.
I setup my third box and again I get the same results. I really don't know where I'm going wrong. This kinda makes me lean to, I have bad source code. I'm no pro C programmer; however when building I get Kconfig errors. I opened said file and the comments look all messed up. The compiler I think is reading the comments as code and kicking it back giving me this error.
by the way what are you compiling and please teach me compiling i want to learn it .
I'm compiling a modified kernel for the Optimus V. I can't teach you how to compile because I don't even know if I'm doing it right.
I was trying to compile CM13 for my device today, it gave me the following error:
Code:
unpackbootimg not found. Is your android build environment set up and have the host tools been built?
I tried doing
Code:
make -j4 otatools
but it didn't solve the problem.
Also, it shows:
Code:
"ebtables is disabled on this build"
find: ‘dummy’: No such file or directory
How can I fix all these errors?
PS: I'm a noob at compiling.
What jdk version did you install?You didn't prepare build environment properly.
Røbin said:
What jdk version did you install?You didn't prepare build environment properly.
Click to expand...
Click to collapse
OpenJDK 7. How to make build environment properly then?
NutVolt said:
OpenJDK 7. How to make build environment properly then?
Click to expand...
Click to collapse
http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763Go to this link and follow the guide. There you'll get help also
Ok so I searched for quite a while now and fixed few issues but I don't seem to be able to fix this one.
I'm trying to build a custom CM for kccat6xx(roughly a Samsung Galaxy S5+), beeing my first time I'd assume I'll run into some problems but I think I got more than enough to post here.
Lil' summary:
I followed normal CM guide for klte(since those devices works more or less the same way I'd assume the guide would be more or less the same), I synced and all, got android SDK, OpenJDK(which was quite annoying since first sync was detecting my computer as a MAC while running Gentoo Linux, got fixed in a sync the day after tho) made custom local manifest and made the pre-build thingies
I ran into a first issue at that point, considering libinit_msm or so that was removed from qcom_common in latest commits, had to reverse it to make the build works(dirty but eh, works at least) and after that got several issues that I won't list here that I, for the most fixed.
Then I ran on the issue I'm stuck in for about a day now
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp*», needed for «*/home/govanify/android/system/out/target/common/obj/APPS/BasicDreams_intermediates/src/R.stamp*»
I tried to edit out BasicDreams, just in case, but then Bluetooth would block. Knowing it is just after BasicDreams in the alphabet I figured out it'll do it for all packages. So then I tried to manually build vendor/cmsdk/cm/res and got this issue:
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/host/linux-x86/bin/acp*», needed for «*/home/govanify/android/system/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/R.stamp*»
I continued then by trying to compile frameworks/base, but of course:
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/host/linux-x86/bin/aidl*», needed for «*/home/govanify/android/system/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/accessibilityservice/IAccessibilityServiceConnection.java*»
So I finally tried to build aidl manually, but then again:
Code:
make: *** No rules to make target «*/home/govanify/android/system/out/host/linux-x86/obj/lib/libc++.so*», needed for «*/home/govanify/android/system/out/host/linux-x86/obj/EXECUTABLES/aidl_intermediates/aidl*»
I figured out it'll be endless so I stopped here and tried to do a global make of Cyanogen, maybe it'll integrate dependencies after all
But as you already imagined:
Code:
make: *** Aucune règle pour fabriquer la cible «*/home/govanify/android/system/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar*», nécessaire pour «*/home/govanify/android/system/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-full-debug.jar*». Arrêt.
So yeah, help would be very much appreciated, if you want to replicate the issue grab my manifest here: githubDOTcom/GovanifY/main_kccat6xx/blob/master/kccat6xx.xml (I have less than 10 post so unfortunatelly no link) repo sync and a brunch kccat6xx should do the work. You don't need afaik vendor bins since the bin step is not even started at that point, so I guess build should run into the issue smoothly.
Thanks a lot for any help once again, I'm really running out of ideas on that one
Seems like this got fixed by a mma -B in res folder, thanks ciwrl and Decad3nce from #cyanogen-dev for pointing me out!
Edit: res builds correctly but build still fails so issue still open
Last answer to this post: Issue was with a multi-thread error of CyanogenMod build system itself. Getting on a clean ubuntu install fixed this issue(got others in the meanwhile but I was able to build the ROM at the end, still having major issues tho)
I have cyanogen 13 on samsung s5 i have these problems..Help me to fix them
1.When i unistall a app it reboots with out permision or anything and the app is not deleted
2. When i press security settings it says'Unfortunately,Settings has stopped.'