CM10 error [HELP] - Android

I have thought of every possible way. The last way is to delete the lines but i need ur help to fix it
the error is
Code:
target arm C: libz <= external/zlib/adler32.c
In file included from external/zlib/zlib.h:34:0,
from external/zlib/zutil.h:24,
from external/zlib/adler32.c:9:
external/zlib/zconf.h:395:22: fatal error: limits.h: No such file or directory
compilation terminated.
make: *** [/home/yajnavalkya/cm10/out/target/product/beni/obj/SHARED_LIBRARIES/libz_intermediates/adler32.o] Error 1

you are missin limits.h try repo sync and update your source !

keyur2maru said:
you are missin limits.h try repo sync and update your source !
Click to expand...
Click to collapse
I searched a lot but found nothing

yajnab said:
I searched a lot but found nothing
Click to expand...
Click to collapse
He said to repo sync and then retry...not search, you may have to do a make clean after the repo sync if it still doesn't work
Sent from my SGH-I997 using Tapatalk 2

Related

Help with Compiling error please.

I am compiling a custom kernel for CM using cm source and a few other minor tweaks from others, and myself, and I am getting an error having to do with the bcm4329 while compiling.
I am pretty new to c programing and compiling and am not sure how to fix this error any help is greatly appreciated.
cc1: warnings being treated as errors
drivers/net/wireless/bcm4329/wl_iw.c: In function 'wl_iw_set_ap_security.clone.0':
drivers/net/wireless/bcm4329/wl_iw.c:4881: error: 'output' may be used uninitialized in this function
make[4]: *** [drivers/net/wireless/bcm4329/wl_iw.o] Error 1
make[3]: *** [drivers/net/wireless/bcm4329] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
Gr8gorilla said:
I am compiling a custom kernel for CM using cm source and a few other minor tweaks from others, and myself, and I am getting an error having to do with the bcm4329 while compiling.
I am pretty new to c programing and compiling and am not sure how to fix this error any help is greatly appreciated.
cc1: warnings being treated as errors
drivers/net/wireless/bcm4329/wl_iw.c: In function 'wl_iw_set_ap_security.clone.0':
drivers/net/wireless/bcm4329/wl_iw.c:4881: error: 'output' may be used uninitialized in this function
make[4]: *** [drivers/net/wireless/bcm4329/wl_iw.o] Error 1
make[3]: *** [drivers/net/wireless/bcm4329] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
Click to expand...
Click to collapse
have you modified the wlan source at all?
if not, repull down the source fresh, and then re-merge your changes in.
havn't modified the wlan source at all, so I will repull and try again, will report back. Thanks.
Ok i got the kernel compiled and now I I want to compile the .ko for the wireless, can I get a little help with that?
Gr8gorilla said:
Ok i got the kernel compiled and now I I want to compile the .ko for the wireless, can I get a little help with that?
Click to expand...
Click to collapse
If u ran a make, it was compiled.
Pick it up in drivers/net/wireless/bcm4329
I ran the make command from the cyanogen wiki, and used make ARCH=arm command and the wireless driver is not in the file it is supposed to be in.
Gr8gorilla said:
I ran the make command from the cyanogen wiki, and used make ARCH=arm command and the wireless driver is not in the file it is supposed to be in.
Click to expand...
Click to collapse
Pass this to make:
Foldertoputmodulesin/ modules_install
Then you'll see your modules in there.
Gr8gorilla,
What did you do to get the kernel to compile? I'm getting the same error with a fresh pull.
If you check out my overclock how to, I take you step by step through making a kernel.
Gr8gorilla said:
If you check out my overclock how to, I take you step by step through making a kernel.
Click to expand...
Click to collapse
I still get the compile error after I followed the guide except I didn't use your modified files; I'm not overvolting or overclocking.
For what its worth, if I remove the bcm4329 kernel module from the config then it builds fine and is running stable on my Nexus One, albeit, without wifi.
Nevermind, apparently there was something wrong with my kernel config.
how long ago did you resync your repo? I had a compile error today that is involving some of the new changes there was a new option when doing old config, I hit yes the first time and had an error, no wifi driver, but a boot image. Second time I hit enter and it compiled fine.

[Q] Error when building CM7

Anyone seen this error before? It has me stumped!
Code:
make: *** No rule to make target `device/htc/lexikon/prebuilt/kernel', needed by `out/target/product/lexikon/recovery.img'. Stop.
MandaNick said:
Anyone seen this error before? It has me stumped!
Code:
make: *** No rule to make target `device/htc/lexikon/prebuilt/kernel', needed by `out/target/product/lexikon/recovery.img'. Stop.
Click to expand...
Click to collapse
You have no prebuilt kernel in your device tree.
But I do have the zImage file there in "device/htc/lexikon/prebuilt/kernel" Do I need to name it "kernel"?
MandaNick said:
But I do have the zImage file there in "device/htc/lexikon/prebuilt/kernel" Do I need to name it "kernel"?
Click to expand...
Click to collapse
Yes

Problem Compiling Generic Cyanogenmod 13.0

Problem Compiling arm 64 bit CM-13.0 gives me error:
make: *** No rule to make target `/root/Cyanogenmod-13.0/out/target/product/generic/obj/KERNEL_OBJ/usr', needed by `/root/Cyanogenmod-13.0/out/target/product/generic/obj/SHARED_LIBRARIES/libtinyalsa_intermediates/mixer.o'. Stop.
Click to expand...
Click to collapse
@micaiahmorris ,
Try to create manually folder <KERNEL_OBJ> and <usr> in /root/Cyanogenmod-13.0/out/target/product/generic/obj/.
I had this problem, now it's gone for me.

no rule to make target '/.txt'

hey guys! I'm doing a test compile of CM, just trying to get it running on the Raspberry Pi 2 for kicks, and I ran into a compile issue:
Code:
Install: /out/host/linux-x86/bin/apicheck
Checking API: checkpublicapi-last
Checking API: checkpublicapi-current
Docs droiddoc: /out/target/common/docs/system-api-stubs
DroidDoc took 14 sec. to write docs to /out/target/common/docs/system-api-stubs
Checking API: checksystemapi-last
Checking API: checksystemapi-current
make: *** No rule to make target '/.txt', needed by '/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
it's very vague, so I'm wondering if anyone could provide some insight.
using sources:
https://github.com/peyo-hd/device_brcm_rpi2
https://github.com/peyo-hd/local_manifests
Device?
Edited OP with more info*
Oh lol exotic.
Device tree an all other device specific files please.
Trafalgar Square said:
Oh lol exotic.
Device tree an all other device specific files please.
Click to expand...
Click to collapse
added sources to OP
I'm having the same issue compiling CM-13.0 for GT-P5210. Any update? Thank you.
Im having the exact same error:
Code:
Export includes file: system/core/libsparse/Android.mk -- /mnt/raid5/Other/development/CM-13-0/android/system/out/host/linux-x86/obj/EXECUTABLES/simg2img_host_intermediates/export_includes
make: *** No rule to make target `prebuilts/cmsdk/api/.txt', needed by `/mnt/raid5/Other/development/CM-13-0/android/system/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
make: *** Waiting for unfinished jobs....
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
make: Leaving directory `/mnt/raid5/Other/development/CM-13-0/android/system'
#### make failed to build some targets (13:18 (mm:ss)) ####
trying to build CyanogenMod R7Plus
latest repo sync for -b CM-13.0
used breakfast to get the https://github.com/cyanogenmod/android_device_oppo_r7plus
extracted blobs using the script and a nightly.zip
Update:
to those who come here and have the ".txt" file error seen above.
this is what i did to fix it:
Code:
1. I deleted the whole source
2. i run this script "build-environment-setup.sh" get it here: https://github.com/akhilnarang/scripts
3. I initiated the repo again "repo init -u https://github.com/CyanogenMod/android.git -b "cm-13.0""
4. synced the repo using "repo sync -j4 --force-sync -f --no-tags --no-clone-bundle --no-repo-verify"
from here on continue like in the guides.
I have that error since March and had it temporarily resolved via switching to the stable branch.
Thanks to @celoxocis I finally built the cm13 nightly, although I followed only the second step from his guide.
make: *** No rule to make target '/-1.txt', needed by '/home/android/y300/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
Click to expand...
Click to collapse
Same problem on Huawei Y300 / u8833, AICP MM6.0 sourcecode. After "lunch full_u8833-userdebug" and after "make -j2" got error.
guys how solved this issue could help me anyone ???
here log ...
http://www.hastebin.com/wekudopujo.rb
---------- Post added at 10:36 PM ---------- Previous post was at 10:35 PM ----------
adeii said:
Same problem on Huawei Y300 / u8833, AICP MM6.0 sourcecode. After "lunch full_u8833-userdebug" and after "make -j2" got error.
Click to expand...
Click to collapse
umaturman said:
I have that error since March and had it temporarily resolved via switching to the stable branch.
Thanks to @celoxocis I finally built the cm13 nightly, although I followed only the second step from his guide.
Click to expand...
Click to collapse
celoxocis said:
Im having the exact same error:
Code:
Export includes file: system/core/libsparse/Android.mk -- /mnt/raid5/Other/development/CM-13-0/android/system/out/host/linux-x86/obj/EXECUTABLES/simg2img_host_intermediates/export_includes
make: *** No rule to make target `prebuilts/cmsdk/api/.txt', needed by `/mnt/raid5/Other/development/CM-13-0/android/system/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
make: *** Waiting for unfinished jobs....
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
make: Leaving directory `/mnt/raid5/Other/development/CM-13-0/android/system'
#### make failed to build some targets (13:18 (mm:ss)) ####
trying to build CyanogenMod R7Plus
latest repo sync for -b CM-13.0
used breakfast to get the https://github.com/cyanogenmod/android_device_oppo_r7plus
extracted blobs using the script and a nightly.zip
Click to expand...
Click to collapse
guys how solved this issue could help me anyone ???
here log ...
http://www.hastebin.com/wekudopujo.rb
metrixx02 said:
guys how solved this issue could help me anyone ???
here log ...
http://www.hastebin.com/wekudopujo.rb
Click to expand...
Click to collapse
Use build-environment-setup.sh from the guide. The error is gone when I installed some dependencies.
Does anyone know how to fix this damn error on Opensuse.
Afaik, all distros apart from ones based on ubuntu/debian have this error.
Silesh.Nair said:
Does anyone know how to fix this damn error on Opensuse.
Afaik, all distros apart from ones based on ubuntu/debian have this error.
Click to expand...
Click to collapse
Did you try this guide?
That's not it. It just works fine on debian, Ubuntu or mint. But never on Suse.
Sent from my Moto G (4) using Tapatalk
kronflux said:
hey guys! I'm doing a test compile of CM, just trying to get it running on the Raspberry Pi 2 for kicks, and I ran into a compile issue:
Code:
Install: /out/host/linux-x86/bin/apicheck
Checking API: checkpublicapi-last
Checking API: checkpublicapi-current
Docs droiddoc: /out/target/common/docs/system-api-stubs
DroidDoc took 14 sec. to write docs to /out/target/common/docs/system-api-stubs
Checking API: checksystemapi-last
Checking API: checksystemapi-current
make: *** No rule to make target '/.txt', needed by '/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
it's very vague, so I'm wondering if anyone could provide some insight.
using sources:
https://github.com/peyo-hd/device_brcm_rpi2
https://github.com/peyo-hd/local_manifests
Click to expand...
Click to collapse
Use
Code:
make update-api && make -j4
adityaupreti said:
it's very vague, so I'm wondering if anyone could provide some insight.
using sources:
https://github.com/peyo-hd/device_brcm_rpi2
https://github.com/peyo-hd/local_manifests
Use
Click to expand...
Click to collapse
Check my post (post #8) I'm this thread for how to fix it. You are missing an dependency. Also make sure you use Java 7 for compile Java 8 is not recommended yet.
---------- Post added at 10:41 AM ---------- Previous post was at 10:38 AM ----------
Silesh.Nair said:
That's not it. It just works fine on debian, Ubuntu or mint. But never on Suse.
Click to expand...
Click to collapse
I have no Idea about Suse but it works on Ubuntu.
I suggest to look at the scripts code:
https://github.com/akhilnarang/scripts
Looks at the packages being installed for Ubuntu and Arch (the arch script). Find the equivalent package names for Suse.
Or just switch to Ubuntu. Even OEM use Ubuntu for Stock compilation.
Also make sure you use Java 7 for compilation as Java 8 is not recommended yet.
celoxocis said:
Check my post (post #8) I'm this thread for how to fix it. You are missing an dependency. Also make sure you use Java 7 for compile Java 8 is not recommended yet.
---------- Post added at 10:41 AM ---------- Previous post was at 10:38 AM ----------
I have no Idea about Suse but it works on Ubuntu.
I suggest to look at the scripts code:
https://github.com/akhilnarang/scripts
Looks at the packages being installed for Ubuntu and Arch (the arch script). Find the equivalent package names for Suse.
Or just switch to Ubuntu. Even OEM use Ubuntu for Stock compilation.
Also make sure you use Java 7 for compilation as Java 8 is not recommended yet.
Click to expand...
Click to collapse
Haha why ur telling to me tell that guy who have error
adityaupreti said:
Haha why ur telling to me tell that guy who have error
Click to expand...
Click to collapse
Ah well scrolled down thought your post was his (due to huge quote) and replied. He will get it when he checks the thread.
Code:
make: *** No rule to make target '/.txt', needed by '/out/target/common/obj/PACKAGING/checkpublicapi-cm-last-timestamp'. Stop.
Try installing the bc program.

Cm13 build error

Tried to build CM13 from source, but I always had this error
Code:
make: *** No rule to make target '/home/hicham03/cm13/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by '/home/hicham03/cm13/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex'. Arrêt.
make: *** Attente des tâches non terminées....
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Note: 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.
1 warning
make: Leaving directory '/home/hicham03/cm13'
#### make failed to build some targets (16:28 (mm:ss)) ####
Full log here: http://pastebin.com/jyBW0jzz
Is there any solution for that?
It must be there is missed file you should go and check whether it's already exist or not .
Check last part of the log file you must find something like file not found or no rule to make ..... And it will provide the path for the missed file .
I can't check the log you provided as I open from my galaxy star .
LahKeda said:
It must be there is missed file you should go and check whether it's already exist or not .
Check last part of the log file you must find something like file not found or no rule to make ..... And it will provide the path for the missed file .
I can't check the log you provided as I open from my galaxy star .
Click to expand...
Click to collapse
But where can I find org.cyanogenmod.platform.internal_intermediates folder ?
Hicham03 said:
But where can I find org.cyanogenmod.platform.internal_intermediates folder ?
Click to expand...
Click to collapse
The problem is not in that folder , the problem is coming from a missed file in cm source like if there an included file is not exist or the path is wrong or just simply it's rambling
wow! cm 13 nice !
LahKeda said:
The problem is not in that folder , the problem is coming from a missed file in cm source like if there an included file is not exist or the path is wrong or just simply it's rambling
Click to expand...
Click to collapse
But the missing file is located in that missing folder..
Hicham03 said:
But the missing file is located in that missing folder..
Click to expand...
Click to collapse
Here is wait is going on while building :
While building here are files copied to that path
out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex'.
Click to expand...
Click to collapse
then after they're copied they will be built so if these files are not exist in cm13 source , they won't be exist in that path then when it try to build them they will not find these files so you get this error .
Did you tried to start building again ? it may help you .
Bro can re-repo source cm13?
LahKeda said:
Here is wait is going on while building :
While building here are files copied to that path
then after they're copied they will be built so if these files are not exist in cm13 source , they won't be exist in that path then when it try to build them they will not find these files so you get this error .
Did you tried to start building again ? it may help you .
Click to expand...
Click to collapse
Oh oh... bluetooth_intermediates isn't available too.
New error after re-synced repo:
Code:
make: *** No rule to make target '/home/hicham03/cm13/out/target/product/higgs2g/obj/KERNEL_OBJ/usr', needed by '/home/hicham03/cm13/out/target/product/higgs2g/obj/SHARED_LIBRARIES/libtinyalsa_intermediates/mixer.o'. Arrêt.
make: *** Attente des tâches non terminées....
Export includes file: external/tinyalsa/Android.mk -- /home/hicham03/cm13/out/target/product/higgs2g/obj/SHARED_LIBRARIES/libtinyalsa_intermediates/export_includes
make: Leaving directory '/home/hicham03/cm13'
#### make failed to build some targets (06:48 (mm:ss)) ####
And there too, KERNEL_OBJ is unavailable.

Categories

Resources