How to solve this when compiling: make: *** bootable/recovery: Is a directory. Stop - General Questions and Answers

I met this error while compiling TWRP recovery. I have google this but nothing is similar. Can you please tell me how to solve this
Code:
make: *** bootable/recovery: Is a directory. Stop.
#### make failed to build some targets (19 seconds) ####

Related

[Q] [Compiling PA] Troubleshooting

Hello everyone,
I´m trying compile form PA4+ repos. I follow the step in this guide (http://forum.xda-developers.com/moto-g/development/4-4-4-nightlies-paranoid-4-4-motorola-t2792041)
But no matter what I do always get the following error:
Code:
host Executable: clang (/home/levis/paranoid/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
CC drivers/cpufreq/cpufreq_interactive.o
CC drivers/cpufreq/freq_table.o
../../../../../../kernel/motorola/msm8226/drivers/cpufreq/cpufreq_interactive.c: In function 'show_target_loads':
../../../../../../kernel/motorola/msm8226/drivers/cpufreq/cpufreq_interactive.c:813:6: warning: operation on 'ret' may be undefined [-Wsequence-point]
error, forbidden warning: cpufreq_interactive.c:813
make[4]: *** [drivers/cpufreq/cpufreq_interactive.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [drivers/cpufreq] Error 2
make[2]: *** [drivers] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/levis/paranoid/kernel/motorola/msm8226'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
Total time elapsed: 32 minutes (1937.343507123 seconds)
file does not exist or wrong directory located
Please Could you point me in the right direction.
- Solution 1
Delete the all folder (Yeah .. that's a shame ..) and resync again.
- Solution 2
Check if all the depency software is correctly installed.
- Solution 3
Use a prebuilt kernel
Code:
cd /yourpathtothesources/kernel/motorola/msm8226
make -j4 O=out
cp -R /yourpathtothesources/kernel/motorola/msm8226/out/* /yourpathtothesources/out/target/product/falcon/obj/KERNEL_OBJ
cp /yourpathtothesources/kernel/motorola/msm8226/out/arch/arm/boot/zImage /yourpathtothesources/out/target/product/falcon/kernel
Hope that's help.
Try first solution first !
thank you very much for your quick response. I will prove what you said and will post the results
Thanks +h2o64 , Whith the Solution 1, was perfect. Now I have installed and working my own compiled version.
levis_ap said:
Thanks +h2o64 , Whith the Solution 1, was perfect. Now I have installed and working my own compiled version.
Click to expand...
Click to collapse
Congrats! There is a new Linaro build toolchain! Personally I clean my entire build directory today
Sent from my Moto G using XDA Free mobile app

Cm12.1 build error

host C++: libart-compiler <= art/compiler/compiled_method.cc
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/home/relocate/cm12.1/out/host/linux-x86/obj32/lib/libjavacore.so] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/relocate/cm12.1'
#### make failed to build some targets (48:23 (mm:ss)) ####
i keep geting this error , can someone help me out with it please?
Thanks in advance
rpdroky said:
host C++: libart-compiler <= art/compiler/compiled_method.cc
libcore/luni/src/main/native/Register.cpp:36: error: undefined reference to 'register_android_system_OsConstants(_JNIEnv*)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/home/relocate/cm12.1/out/host/linux-x86/obj32/lib/libjavacore.so] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/relocate/cm12.1'
#### make failed to build some targets (48:23 (mm:ss)) ####
i keep geting this error , can someone help me out with it please?
Thanks in advance
Click to expand...
Click to collapse
Not sure, but see if this post helps... http://forum.xda-developers.com/showpost.php?p=58073796&postcount=5
kozmo21 said:
Not sure, but see if this post helps... http://forum.xda-developers.com/showpost.php?p=58073796&postcount=5
Click to expand...
Click to collapse
Thanks for the tip sir , i did manage to build it , the second problem was i didn't add enough memory to the virtual machine
Cheers :highfive:
i want to change the default governor , can someone point me to the files i need to change? Thanks in advance :fingers-crossed:

[Completed] Help with Compiling Kernel (make mrproper and make recoveryimage errors)

So! I've tried searching forever but am unable to figure out these issues. (this is for Cyanogen 12.1)
This error comes up when make mrproper is ran:
Code:
"CONFIG_TRUSTONIC_TEE_SUPPORT = "
scripts/Makefile.clean:17: /home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile'. Stop.
make[3]: *** [drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom] Error 2
make[2]: *** [drivers/misc/mediatek] Error 2
make[1]: *** [drivers/misc] Error 2
make: *** [_clean_drivers] Error 2
#### make failed to build some targets (1 seconds) ####
For when it states:
Code:
`/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile
'. There should be mt6752 inbetween the two // like so:
Code:
`/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src/[B]mt6752[/B]/BRCB032GWZ_3_eeprom/Makefile'.
And when make recoveryimage is ran:
Code:
make[1]: Entering directory `/home/ellie/android/system/kernel/alps/eMAX'
GEN /home/ellie/android/system/out/target/product/eMAX/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[4]: *** [silentoldconfig] Error 1
make[3]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ellie/android/system/kernel/alps/eMAX'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (03:06 (mm:ss)) ####
I am super stumped on what to do. I have ran "make menuconfig" many times, but cannot get the darn system to find the file! I have specified the config in the TARGET_KERNEL_CONFIG in the boardconfig.mk and there is 1 ".config" and my file that is specified by the TARGET... So, What can I do to get this to work?
Bump? For some more clear info.. I ran make menuconfig in the Kernel dir. And there is a .config in the root. Lunch is added correctly and source build/envsetup.sh is ran before this is all started.. So. I have no idea what to do..
Sent from my UMI eMAX using Tapatalk
J.Naw said:
So! I've tried searching forever but am unable to figure out these issues. (this is for Cyanogen 12.1)
This error comes up when make mrproper is ran:
Code:
"CONFIG_TRUSTONIC_TEE_SUPPORT = "
scripts/Makefile.clean:17: /home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile'. Stop.
make[3]: *** [drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom] Error 2
make[2]: *** [drivers/misc/mediatek] Error 2
make[1]: *** [drivers/misc] Error 2
make: *** [_clean_drivers] Error 2
#### make failed to build some targets (1 seconds) ####
For when it states:
Code:
`/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile
'. There should be mt6752 inbetween the two // like so:
Code:
`/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src/[B]mt6752[/B]/BRCB032GWZ_3_eeprom/Makefile'.
And when make recoveryimage is ran:
Code:
make[1]: Entering directory `/home/ellie/android/system/kernel/alps/eMAX'
GEN /home/ellie/android/system/out/target/product/eMAX/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[4]: *** [silentoldconfig] Error 1
make[3]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ellie/android/system/kernel/alps/eMAX'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (03:06 (mm:ss)) ####
I am super stumped on what to do. I have ran "make menuconfig" many times, but cannot get the darn system to find the file! I have specified the config in the TARGET_KERNEL_CONFIG in the boardconfig.mk and there is 1 ".config" and my file that is specified by the TARGET... So, What can I do to get this to work?
Click to expand...
Click to collapse
Hello,
Thanks for using XDA Assist.
Try posting your query in Android Q&A,Help and Troubleshooting or in one of the noob friendly Q&A thread here->[Ask Any Question][Newbie Friendly] .Experts there may be able to help you!
Good Luck
___
v7
XDA Assist

Please Help... "rsCpuIntrinsics_neon_Blur.o"

Hi My Brothers...
I try build CM13.0. But all time error...
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S: Assembler messages:
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S:1503: Error: unexpected end of file in irp or irpc
/tmp/rsCpuIntrinsics_neon_Blur-e31cd5.s: Error: local label `"1" (instance number 2 of a fb label)' is not defined
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
build/core/binary.mk:881: recipe for target '/home/mustachedocto/Cyanogenmod/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/rsCpuIntrinsics_neon_Blur.o' failed
make: *** [/home/mustachedocto/Cyanogenmod/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/rsCpuIntrinsics_neon_Blur.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: libRSCpuRef <= frameworks/rs/cpu_ref/rsCpuRuntimeMath.cpp
make: *** wait: No child processes. Stop.
#### make failed to build some targets (25:24 (mm:ss)) ####
Please help my m8 How to fix??

Build error when compiling lineageos 15 - org.cyanogenmod.hardware_intermediates

Trying to compile lineageos 15 but can't work out how to get pass the following error
Code:
ninja: error: 'out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.hardware_intermediates/classes.dex.toc', needed by 'out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform_intermediates/with-local/classes.dex', missing and no known rule to make it
18:28:05 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/****/****'
#### make failed to build some targets (10:10 (mm:ss)) ####
Anyone know what I am missing to build

Categories

Resources