CM11 jflteatt compile error - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Can someone help me with this.. I've just synced and tried a fresh build of CM11 for jflteatt and I'm running in to this:
Code:
target thumb C: irda.msm8960 <= device/samsung/jf-common/irda/irda.c
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
device/samsung/jf-common/irda/irda.c:25:27: fatal error: hardware/irda.h: No such file or directory
compilation terminated.
make: *** [/home/kaschenberg/android/system/out/target/product/jflteatt/obj/SHARED_LIBRARIES/irda.msm8960_intermediates/irda.o] Error 1
make: *** Waiting for unfinished jobs....
Thanks :good:
EDIT:
I can see this was moved.. FWIW thanks to anyone who's viewed this but, mods, please this won't get the correct exposure in this section. This belongs in the dev section because it's dev-related material, not generic Q&A material.

chaosclarity said:
Can someone help me with this.. I've just synced and tried a fresh build of CM11 for jflteatt and I'm running in to this:
Code:
target thumb C: irda.msm8960 <= device/samsung/jf-common/irda/irda.c
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
device/samsung/jf-common/irda/irda.c:25:27: fatal error: hardware/irda.h: No such file or directory
compilation terminated.
make: *** [/home/kaschenberg/android/system/out/target/product/jflteatt/obj/SHARED_LIBRARIES/irda.msm8960_intermediates/irda.o] Error 1
make: *** Waiting for unfinished jobs....
Thanks :good:
EDIT:
I can see this was moved.. FWIW thanks to anyone who's viewed this but, mods, please this won't get the correct exposure in this section. This belongs in the dev section because it's dev-related material, not generic Q&A material.
Click to expand...
Click to collapse
Found this thread via Google. I fixed it by either removing "Android.mk" and "irda.c" or just renaming "Android.mk" to something else from ~/android/system/device/samsung/jf-common/irda
This will kill any IR functionality, though.

chaosclarity said:
Can someone help me with this.. I've just synced and tried a fresh build of CM11 for jflteatt and I'm running in to this:
Code:
target thumb C: irda.msm8960 <= device/samsung/jf-common/irda/irda.c
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
device/samsung/jf-common/irda/irda.c:25:27: fatal error: hardware/irda.h: No such file or directory
compilation terminated.
make: *** [/home/kaschenberg/android/system/out/target/product/jflteatt/obj/SHARED_LIBRARIES/irda.msm8960_intermediates/irda.o] Error 1
make: *** Waiting for unfinished jobs....
Thanks :good:
EDIT:
I can see this was moved.. FWIW thanks to anyone who's viewed this but, mods, please this won't get the correct exposure in this section. This belongs in the dev section because it's dev-related material, not generic Q&A material.
Click to expand...
Click to collapse
anekdotos said:
Found this thread via Google. I fixed it by either removing "Android.mk" and "irda.c" or just renaming "Android.mk" to something else from ~/android/system/device/samsung/jf-common/irda
This will kill any IR functionality, though.
Click to expand...
Click to collapse
This is because the IRDA frameworks aren't added in to the frameworks yet. We have this issue on omni, but I know for a fact that omni doesn't have the IRDA frameworks. I thought CM had them in the cm11 source but apparently not since you're getting this error.
For future reference, that is not the actual line in the terminal output that is where the build was killed at. it's farther up. easiest way to find it is to go to the end of your terminal output and search for "error"
just do the following, and you'll be good to go.
Code:
FROM ROOT OF SOURCE:
cd device/samsung/jf-common
git fetch http://review.cyanogenmod.org/CyanogenMod/android_device_samsung_jf-common refs/changes/25/53625/1 && git cherry-pick FETCH_HEAD
cd ..
cd ..
cd ..
make clobber
source build/envsetup.sh
brunch jflteatt
you may or may not run into more build errors, just post them up in here and i'll get a fix for ya
This does belong in the Q&A section, if it is going to be its own thread. If you had posted this in the CyanogenMod thread, then it would have been alright there as well. :good:

Related

[Q] Help needed with a compilation problem

Hi all.
I have run into a little problem while compiling from source. The following error is given while attempting to compile the libgps.so file:
Code:
make: *** No rule to make target `out/target/product/leo/obj/lib/librpc.so', needed by `out/target/product/leo/obj/SHARED_LIBRARIES/libgps_intermediates/LINKED/libgps.so'. Stop.
I have got all the proprietary files needed. If I remove the gps library from compilation, then it builds without any errors.
Any ideas?
MrP.

[Q] Problems building CM 10.2

I have been trying to build CM 10.2 all day and now keep getting errors while it is building. Here are the last few lines I am getting during the build before it stops. I am using Ubuntu 12.04 to build with.
Export includes file: external/strace/Android.mk -- /home/mike/android/system/out/target/product/mako/obj/EXECUTABLES/strace_intermediates/export_includes
Notice file: external/strace/NOTICE -- /home/mike/android/system/out/target/product/mako/obj/NOTICE_FILES/src//system/xbin/strace.txt
Import includes file: /home/mike/android/system/out/target/product/mako/obj/EXECUTABLES/vim_intermediates/import_includes
Export includes file: external/vim/src/Android.mk -- /home/mike/android/system/out/target/product/mako/obj/EXECUTABLES/vim_intermediates/export_includes
make: *** No rule to make target `vendor/lge/mako/proprietary/etc/DxHDCP.cfg', needed by `/home/mike/android/system/out/target/product/mako/system/etc/DxHDCP.cfg'. Stop.
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Anyone have any ideas what my problem is?
mikeric said:
I have been trying to build CM 10.2 all day and now keep getting errors while it is building. Here are the last few lines I am getting during the build before it stops. I am using Ubuntu 12.04 to build with.
Anyone have any ideas what my problem is?
Click to expand...
Click to collapse
I think you don't have the proprietary blobs.
From http://wiki.cyanogenmod.org/w/Build_for_mako#Extract_proprietary_blobs
Now ensure that your Nexus 4 is connected to your computer via the USB cable and that you are in the ~/android/system/device/lge/mako directory (you can cd ~/android/system/device/lge/mako if necessary). Then run the extract-files.sh script:
$ ./extract-files.sh
You should see the proprietary files (aka “blobs”) get pulled from the device and moved to the right place in the vendor directory. If you see errors about adb being unable to pull the files, adb may not be in the path of execution. If this is the case, see the adb page for suggestions for dealing with "command not found" errors.
eris23 said:
I think you don't have the proprietary blobs.
From http://wiki.cyanogenmod.org/w/Build_for_mako#Extract_proprietary_blobs
Now ensure that your Nexus 4 is connected to your computer via the USB cable and that you are in the ~/android/system/device/lge/mako directory (you can cd ~/android/system/device/lge/mako if necessary). Then run the extract-files.sh script:
$ ./extract-files.sh
You should see the proprietary files (aka “blobs”) get pulled from the device and moved to the right place in the vendor directory. If you see errors about adb being unable to pull the files, adb may not be in the path of execution. If this is the case, see the adb page for suggestions for dealing with "command not found" errors.
Click to expand...
Click to collapse
I redid the proprietary files and now I am getting it to run for a while then getting this at the end while building. While it is extracting the proprietary blobs I am getting a lot of errors, but not adb errors.
target thumb C: openvpn <= external/openvpn/android.c
make: *** No rule to make target `vendor/lge/mako/proprietary/etc/DxHDCP.cfg', needed by `/home/mike/android/system/out/target/product/mako/system/etc/DxHDCP.cfg'. Stop.
make: *** Waiting for unfinished jobs....
In file included from external/openvpn/misc.h:30:0,
from external/openvpn/android.c:8:
external/openvpn/integer.h: In function 'index_verify':
external/openvpn/integer.h:106:5: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
external/openvpn/android.c: In function 'env_set_add_android':
external/openvpn/android.c:29:18: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
external/openvpn/android.c:25:9: warning: unused variable 'and_env_value' [-Wunused-variable]
Click to expand...
Click to collapse
Does anyone have any suggestions?
Sent from my Nexus 4 using Tapatalk 4
Is your n4 already running cm10.2?
If not the blobs would be wrong and some are named different in cm10.1
Edit: try to extract the missing file from an official nightly
Sent from my Nexus 4 using xda premium
OK I'll try that, thanks for the suggestion
Sent from my Nexus 4 using Tapatalk 4
I am running cm10.2 nightly 8/15 and tried to pull the proprietary blobs and kept getting all these errors. If I try and build it still wont. This is just a few of the errors.
cannot create '../../../vendor/lge/mako/proprietary/vendor/firmware/keymaster/keymaster.b00': Permission denied
cannot create '../../../vendor/lge/mako/proprietary/vendor/firmware/keymaster/keymaster.b01': Permission denied
cannot create '../../../vendor/lge/mako/proprietary/vendor/firmware/keymaster/keymaster.b02': Permission denied
cannot create '../../../vendor/lge/mako/proprietary/vendor/firmware/keymaster/keymaster.b03': Permission denied
cannot create '../../../vendor/lge/mako/proprietary/vendor/firmware/keymaster/keymaster.mdt': Permission denied
cannot create '../../../vendor/lge/mako/proprietary/vendor/lib/libdrmdecrypt.so': Permission denied
cannot create '../../../vendor/lge/mako/proprietary/vendor/lib/libWVStreamControlAPI_L1.so': Permission denied
cannot create '../../../vendor/lge/mako/proprietary/vendor/lib/libwvm.so': Permission denied
cannot create '../../../vendor/lge/mako/proprietary/vendor/lib/libwvdrm_L1.so': Permission denied
cannot create '../../../vendor/lge/mako/proprietary/vendor/lib/drm/libdrmwvmplugin.so': Permission denied
Click to expand...
Click to collapse
Looks like you messed up the permissions in your build env ...
Repo sync -d
Might solve this
Sent from my Nexus 4 using xda premium

[LOLIPOP] Xperia AOSP Project

hi all
we have included this device in open devices project
you can check news about project on
http://developer.sonymobile.com/know.../open-devices/
feel free to fork, build, fix and push back
Br
J
Andoroid L (5.0) code, binaries and guides are published
Wow, you are already testing 5.0 on the Z3?
thx @jerpelea wasn't sure if we would be lucky enought to get lollipop at the first instance ?
Fix? Does the code contain any major bugs something not working? Just got soooo excited with this news
tx a lot @jerpelea! Just make bl unlock a bit more straightforward (e.g. easy to go back to stock)!
Inviato dal mio LG-D802 utilizzando Tapatalk
Would unlocking the bootloader and installing this eventual ROM that's based off of Sony's source code not be impacted by this warning from Sony (meaning the DRM security keys would be intact?
http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
Certain pre-loaded content on your device may also be inaccessible due to the removal of DRM security keys. For high-end devices running recent software versions, for instance Xperia Z3, the removal of DRM security keys may affect advanced camera functionality. For example, noise reduction algorithms might be removed, and performance when taking photos in low-light conditions might be affected. The secure user data partition may also become inaccessible, and you will not be able to get any more official software upgrades if you unlock the boot loader.
Click to expand...
Click to collapse
the proprietary software thar uses drm is not part of aosp
more the point re this lollipop source: camera and phone modem are disabled ~ so no daily driver for a while yet.
I will post results of my first build in this thread (give me a few hours).
update: build failed..
(something to do with bluetooth ~ checked remotely so no details yet)
try again later
iBuzman said:
the proprietary software thar uses drm is not part of aosp
more the point re this lollipop source: camera and phone modem are disabled ~ so no daily driver for a while yet.
I will post results of my first build in this thread (give me a few hours).
update: build failed..
(something to do with bluetooth ~ checked remotely so no details yet)
try again later
Click to expand...
Click to collapse
I'll also build but will not be installing until our gurus fix the camera and modem.
rebuilding now, java was still 6 defaulted not java 7, plus a system folder missing.. fingers crossed..
---------- Post added at 12:24 PM ---------- Previous post was at 12:09 PM ----------
@jerpelea
cd external/libnfc-nci/
git cherry-pick 83cf98d0a5018e023eb9cc8b4e394957f9a6989f
FYI - throws out a "fatal: bad object" error
thanks
no good for my builds.. bluetooth errors during build stopping build approx 2hrs into "make" process..
I don't know how to fix so will hold off on any more builds until after source updated or somebody else builds without error.
iBuzman said:
no good for my builds.. bluetooth errors during build stopping build approx 2hrs into "make" process..
I don't know how to fix so will hold off on any more builds until after source updated or somebody else builds without error.
Click to expand...
Click to collapse
What kind of errors are you getting? Im compiling now so will see how that goes.
^^ I'll kick off another build, but resetting up first, will capture error details then, it's something along the lines of:
/android/external/bluetooth <- android/external/bluetooth.. something something
make stopped with jobs still to run (something like that)
definitely bluetooth each time and suggests something missing.
deleted all repos/android folder etc and re-syncing now (just in case change from 4.4.4 to 5.0.0 in repos is causing issues. probably a few hours before next attempt.
thanks for your message
guide updated to cherry-pick nfc from google review
br
J
iBuzman said:
rebuilding now, java was still 6 defaulted not java 7, plus a system folder missing.. fingers crossed..
---------- Post added at 12:24 PM ---------- Previous post was at 12:09 PM ----------
@jerpelea
cd external/libnfc-nci/
git cherry-pick 83cf98d0a5018e023eb9cc8b4e394957f9a6989f
FYI - throws out a "fatal: bad object" error
thanks
Click to expand...
Click to collapse
jerpelea said:
thanks for your message
guide updated to cherry-pick nfc from google review
br
J
Click to expand...
Click to collapse
Alin. Should we be using AOSP Master or the android-5.0.0_r2 branch?
iBuzman said:
^^ I'll kick off another build, but resetting up first, will capture error details then, it's something along the lines of:
/android/external/bluetooth <- android/external/bluetooth.. something something
make stopped with jobs still to run (something like that)
definitely bluetooth each time and suggests something missing.
deleted all repos/android folder etc and re-syncing now (just in case change from 4.4.4 to 5.0.0 in repos is causing issues. probably a few hours before next attempt.
Click to expand...
Click to collapse
I'm getting the same thing when building for D6503, fair noob here but i'll let you know if I find anything.
Code:
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/src/btif_util.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_ag_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_dm_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_fs_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_gattc_co.c
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c: In function 'bta_av_audio_sink_getconfig':
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: error: 'p_sink' undeclared (first use in this function)
if (bta_av_co_audio_sink_has_scmst(p_sink))
^
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: note: each undeclared identifier is reported only once for each function it appears in
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_gatts_co.c
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/../btif/co/bta_av_co.o] Error 1
make: *** Waiting for unfinished jobs....
external/sqlite/dist/sqlite3.c: In function 'fts3SnippetFunc':
external/sqlite/dist/sqlite3.c:143651:11: warning: 'iS' may be used uninitialized in this function [-Wmaybe-uninitialized]
if( iS>iBestScore ){
^
external/sqlite/dist/sqlite3.c:143643:13: note: 'iS' was declared here
int iS;
^
make: *** wait: No child processes. Stop.
#### make failed to build some targets (33:43 (mm:ss)) ####
thats the one @XeKToReX... (and I need a better computer!! takes me 2.04hr to get that error!) @jerpelea maybe can shed some light? (thanks, appreciate all your help)
SSD makes a difference! Seems like others have built it for the Z2, glad its not just me though, I'd have just blown the is away and started again lol
Sent from my D6503 using xda-developers.com, powered by appyet.com
On each command you will have to select the version of java you want to use. This command is helpful if you also do other coding.
sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo update-alternatives --config jar
sudo update-alternatives --config javadoc
I've included the master from jerpelea's branch in case anybody is having issues and needs it quickly
After i get out of class today i'm going to run through android.com and see what i can find out about the new compiling method for Android L. I'm sure there's something we've all missed.
bluetooth patch pushed on github
enjoy
XeKToReX said:
I'm getting the same thing when building for D6503, fair noob here but i'll let you know if I find anything.
Code:
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/src/btif_util.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_ag_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_dm_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_fs_co.c
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_gattc_co.c
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c: In function 'bta_av_audio_sink_getconfig':
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: error: 'p_sink' undeclared (first use in this function)
if (bta_av_co_audio_sink_has_scmst(p_sink))
^
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: note: each undeclared identifier is reported only once for each function it appears in
target thumb C: bluetooth.default <= external/bluetooth/bluedroid/main/../btif/co/bta_gatts_co.c
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/../btif/co/bta_av_co.o] Error 1
make: *** Waiting for unfinished jobs....
external/sqlite/dist/sqlite3.c: In function 'fts3SnippetFunc':
external/sqlite/dist/sqlite3.c:143651:11: warning: 'iS' may be used uninitialized in this function [-Wmaybe-uninitialized]
if( iS>iBestScore ){
^
external/sqlite/dist/sqlite3.c:143643:13: note: 'iS' was declared here
int iS;
^
make: *** wait: No child processes. Stop.
#### make failed to build some targets (33:43 (mm:ss)) ####
Click to expand...
Click to collapse

[LOLLIPOP] Xperia AOSP Project

hi all
we have included this device in open devices project
you can check news about project on
http://developer.sonymobile.com/know.../open-devices/
feel free to fork, build, fix and push back
Br
J
Wohooo! Finally! [emoji106] [emoji2] [emoji3]
Excellent! An AOSP ROM is the only thing I can think is missing from an otherwise perfect device.
GCC here we come..
Andoroid L (5.0) code, binaries and guides are published
No working camera or modem, looks like we've still got awhile guys...
great news,thankss
nice
I'm syncing it now. I'm going to do a blind build (not changing anything just going with what's already there) because I have yet to unlock my bootloader and won't until they can figure out a way so at least the camera and noise cancellation don't get messed up when unlocking (if I go back to a sony stock rom I know it won't matter on AOSP)
graffixnyc said:
I'm syncing it now.
Click to expand...
Click to collapse
Preparing to build as well. Like you, I haven't BL unlocked and won't until the DRM issues are resolved.
jerpelea said:
Andoroid L (5.0) code, binaries and guides are published
Click to expand...
Click to collapse
Your work is really appreciated. FYI, I convinced a friend to buy a Z3C in large part due to your AOSP commitment. [emoji106]
Guessing we'll need to reverse engineer the camera and modem binaries? Is that right?
illogic6 said:
Guessing we'll need to reverse engineer the camera and modem binaries? Is that right?
Click to expand...
Click to collapse
no
Reverse Engeneering
In other words - SONY will deliver the required drivers or better all required driver will be there in a while...
I get compile error:
Code:
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c: In function 'bta_av_audio_sink_getconfig':
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: error: 'p_sink' undeclared (first use in this function)
if (bta_av_co_audio_sink_has_scmst(p_sink))
^
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: note: each undeclared identifier is reported only once for each function it appears in
make: *** [out/target/product/aries/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/../btif/co/bta_av_co.o] Error 1
make: *** Waiting for unfinished jobs....
help appreciated
m0d said:
I get compile error:
Code:
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c: In function 'bta_av_audio_sink_getconfig':
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: error: 'p_sink' undeclared (first use in this function)
if (bta_av_co_audio_sink_has_scmst(p_sink))
^
external/bluetooth/bluedroid/main/../btif/co/bta_av_co.c:557:52: note: each undeclared identifier is reported only once for each function it appears in
make: *** [out/target/product/aries/obj/SHARED_LIBRARIES/bluetooth.default_intermediates/../btif/co/bta_av_co.o] Error 1
make: *** Waiting for unfinished jobs....
help appreciated
Click to expand...
Click to collapse
just re sync your tree and fix is there
That inform you in: <insert the cpu thread number of your computer> ??? Please
I got a build to finish. I'll post the boot and system img for someone to try.. I'm not going to go through the trouble yet to make a flashable zip until we at least know it boots. I'll upload the images now
Posted the images: http://forum.xda-developers.com/z3-compact/development/img-aosp-5-0-boot-imgs-t2940499
So @NisseGurra flashed the build I made yesterday here is what he found to be broken:
no wifi, no network, some reboots, no usb storage, no external sd, no sound or camera
But its very snappy, looking forward to a functional aosp
Thank you for the guides,
I was able to compile AOSP for D5803 successfully.
A couple of issues,
First,
Has the Cherry-Pick for external/libnfc-nci/ that is provided in the guide been merged?
As I get the following error,
Code:
/external/libnfc-nci $ git cherry-pick 83cf98d0a5018e023eb9cc8b4e394957f9a6989f
fatal: bad object 83cf98d0a5018e023eb9cc8b4e394957f9a6989f
(Updated on blog to correspond with Shinano Issue.)
Second,
I get the following error when I try to output zipped package,
Code:
[B]No private recovery resources for TARGET_DEVICE aries
No recovery.fstab for TARGET_DEVICE aries[/B]
make: *** no rule to make target `otapackage'. stop.
Does this have anything to do with: TARGET_BOOTLOADER_BOARD_NAME := D5803
or that it is called aosp_d5803 (aosp_d5803.mk)
UPDATE: otatools seems to work, [" . build/envsetup.sh && time lunch aosp_d5803-userdebug && make otatools "].
But I can not find the output / output directory for package
Oh,
Is there supposed to be a userdata.img too?
Looking around a different sources mention it, however there is no userdata.img when I compiled it.
Thank you for your time

Building stock kernel for Huawei Y5II CUN-L01

Hello guys, first of all thanks for all the hard work you do for us noobs
So to begin, i am trying to build a simple kernel without any modifications (for now) using source code provided by Huawei on their official website (You will need to select Y5II(CUN-L01) to get something downloadable).
consumer*huawei*com/en/support/phones/y5ii/
(New user external url block)
DOWNLOADS
Y5II Open Source(CUN-LXX,Android5.1,kernel,en) | 2016-04-14 | 140.76 MB
Click to expand...
Click to collapse
I've tried at least 5 different toolchains, I've followed many tutorials for building kernels including the mediatek specific guides but without luck. I would be grateful if someone could point me in the right direction and tell me if I am the one doing something wrong or is the source code broken ?
From many tutorials i've followed i've come to some usual steps i do:
1.
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/home/mita/toolchain/bin/arm-eabi-
2.
I create a .config using predefined config
make hq6735_35u_b1n_l1_defconfig
3.
I try to do a make clean - i get an error
4.
I try to do a make mrproper - also an error
5.
I try just make and make -j4 - also errors
I can post the errors i am receiving, i have experience with android application development but i can't figure out a way to track down errors like i did in Eclipse and Android Studio.
CLEAN .
CLEAN arch/arm/kernel
"CONFIG_TRUSTONIC_TEE_SUPPORT = "
scripts/Makefile.clean:17: /home/mita/Kernel_Development/kernel-3.10/drivers/misc/mediatek/cpu_stress/Makefile: No such file or directory
make[4]: *** No rule to make target '/home/mita/Kernel_Development/kernel-3.10/drivers/misc/mediatek/cpu_stress/Makefile'. Stop.
scripts/Makefile.clean:94: recipe for target 'drivers/misc/mediatek/cpu_stress' failed
make[3]: *** [drivers/misc/mediatek/cpu_stress] Error 2
scripts/Makefile.clean:94: recipe for target 'drivers/misc/mediatek' failed
make[2]: *** [drivers/misc/mediatek] Error 2
scripts/Makefile.clean:94: recipe for target 'drivers/misc' failed
make[1]: *** [drivers/misc] Error 2
Makefile:1040: recipe for target '_clean_drivers' failed
make: *** [_clean_drivers] Error 2
Click to expand...
Click to collapse
Edit 1:
I forgot to mention i tried building on multiple OS’s: Ubuntu 32bit and 64bit, Lubuntu 32bit and 64bit, Kali Linux 64bit, and even on Raspberry Pi (i know it’s low spec but i had to try building on arm device just to rule it out) - Raspbian Stretch.
Thanks in advance for all the help
Bump
Before bumping i’ve read the rules “Once every 24h bumping”
I just not sure if there is a button to bump or is post like this required, sorry in advance if there is a bump button.
Once again a bump...
I would really be grateful if someone could tell me if source is broken or not so i can know my next steps.

Categories

Resources