[Q] Compiling error - Android Q&A, Help & Troubleshooting

I am trying to compile a rom for Samsung Hercules. It syncd fine but when I try to compile I get this error..
scripts/kconfig/zconf.tab.c:2505:0: fatal error: opening dependency file scripts/kconfig/.zconf.tab.o.d: Permission denied
^
compilation terminated.
host C++: libclangARCMigrate <= external/clang/lib/ARCMigrate/TransformActions.cpp
host C++: libclangARCMigrate <= external/clang/lib/ARCMigrate/Transforms.cpp
host C++: libclangARCMigrate <= external/clang/lib/ARCMigrate/TransGCAttrs.cpp
make[3]: *** [scripts/kconfig/zconf.tab.o] Error 1
make[2]: *** [cyanogenmod_hercules_defconfig] Error 2
make[1]: *** [sub-make] Error 2
Does anyone know how to fix this?

jackching said:
I am trying to compile a rom for Samsung Hercules. It syncd fine but when I try to compile I get this error..
scripts/kconfig/zconf.tab.c:2505:0: fatal error: opening dependency file scripts/kconfig/.zconf.tab.o.d: Permission denied
^
compilation terminated.
host C++: libclangARCMigrate <= external/clang/lib/ARCMigrate/TransformActions.cpp
host C++: libclangARCMigrate <= external/clang/lib/ARCMigrate/Transforms.cpp
host C++: libclangARCMigrate <= external/clang/lib/ARCMigrate/TransGCAttrs.cpp
make[3]: *** [scripts/kconfig/zconf.tab.o] Error 1
make[2]: *** [cyanogenmod_hercules_defconfig] Error 2
make[1]: *** [sub-make] Error 2
Does anyone know how to fix this?
Click to expand...
Click to collapse
chmod a+x scripts/kconfig/.zconf.tab.o.d
Sent from my Moto G

MasterAwesome said:
chmod a+x scripts/kconfig/.zconf.tab.o.d
Sent from my Moto G
Click to expand...
Click to collapse
Didnt work. Said no such file or directory. Heres the full copy of when it starts erroring.
HOSTCC scripts/kconfig/conf.o
/home/nevol/kernel/samsung/msm8660-common/scripts/kconfig/conf.c:654:1: fatal error: opening dependency file scripts/kconfig/.conf.o.d: Permission denied
}
^
compilation terminated.
HOSTCC scripts/kconfig/zconf.tab.o
make[3]: *** [scripts/kconfig/conf.o] Error 1
make[3]: *** Waiting for unfinished jobs....
scripts/kconfig/zconf.tab.c:2505:0: fatal error: opening dependency file scripts/kconfig/.zconf.tab.o.d: Permission denied
^
compilation terminated.
make[3]: *** [scripts/kconfig/zconf.tab.o] Error 1
make[2]: *** [cyanogenmod_hercules_defconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/nevol/kernel/samsung/msm8660-common'
make: *** [/home/nevol/out/target/product/hercules/obj/KERNEL_OBJ/.config] Error 2
make: *** Waiting for unfinished jobs....
host C++: libclangSerialization <= external/clang/lib/Serialization/ASTReaderDecl.cpp
Total time elapsed: 6 minutes (417.299101601 seconds)

jackching said:
I am trying to compile a rom for Samsung Hercules. It syncd fine but when I try to compile I get this error..
scripts/kconfig/zconf.tab.c:2505:0: fatal error: opening dependency file scripts/kconfig/.zconf.tab.o.d: Permission denied
^
compilation terminated.
host C++: libclangARCMigrate <= external/clang/lib/ARCMigrate/TransformActions.cpp
host C++: libclangARCMigrate <= external/clang/lib/ARCMigrate/Transforms.cpp
host C++: libclangARCMigrate <= external/clang/lib/ARCMigrate/TransGCAttrs.cpp
make[3]: *** [scripts/kconfig/zconf.tab.o] Error 1
make[2]: *** [cyanogenmod_hercules_defconfig] Error 2
make[1]: *** [sub-make] Error 2
Does anyone know how to fix this?
Click to expand...
Click to collapse
The whole log file must be in your output directory... Attach it here..!

zeetherocker said:
The whole log file must be in your output directory... Attach it here..!
Click to expand...
Click to collapse
There is no log in my out folder and i couldnt find the log in any folder! I ran the script again as root and heres what i get now.
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'int omx_vdec::set_turbo_mode(bool)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:10566:43: error: 'VDEC_IOCTL_SET_PERF_CLK' was not declared in this scope
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/omx_video_base.o] Error 1
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/omx_video_encoder.o] Error 1
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o] Error 1
Total time elapsed: 120 minutes (7250.017928821 seconds)

jackching said:
There is no log in my out folder and i couldnt find the log in any folder! I ran the script again as root and heres what i get now.
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'int omx_vdec::set_turbo_mode(bool)':
hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:10566:43: error: 'VDEC_IOCTL_SET_PERF_CLK' was not declared in this scope
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/omx_video_base.o] Error 1
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/omx_video_encoder.o] Error 1
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o] Error 1
Total time elapsed: 120 minutes (7250.017928821 seconds)
Click to expand...
Click to collapse
What toolchain are you using?

MasterAwesome said:
What toolchain are you using?
Click to expand...
Click to collapse
I used this command from a compiling guide on xda.
sudo apt-get install openjdk-6-jdk python git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev x11proto-core-dev \
libx11-dev libreadline6-dev libgl1-mesa-glx \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev

jackching said:
I used this command from a compiling guide on xda.
sudo apt-get install openjdk-6-jdk python git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev x11proto-core-dev \
libx11-dev libreadline6-dev libgl1-mesa-glx \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev
Click to expand...
Click to collapse
Not that, toolchains are those gcc binary files used to cross compile. they are usually named like "arm-eabi-(gccversion)"/arm-linux-androideabi-(gccversion) its found in your cm11/prebuilts/gcc/linux-x86/arm/.. what version are you using to compile?

MasterAwesome said:
Not that, toolchains are those gcc binary files used to cross compile. they are usually named like "arm-eabi-(gccversion)"/arm-linux-androideabi-(gccversion) its found in your cm11/prebuilts/gcc/linux-x86/arm/.. what version are you using to compile?
Click to expand...
Click to collapse
theres 4.6 4.7 and 4.1 showing up in that folder lol

jackching said:
theres 4.6 4.7 and 4.1 showing up in that folder lol
Click to expand...
Click to collapse
try building with 4.6 it has more legacy support . go to /build/core/combo/TARGET_linux-arm.mk and change gccversion from 4.7 to 4.6. if that doesnt work try 4.1(Very old toolchain).
Regards
MasterAwesome

MasterAwesome said:
try building with 4.6 it has more legacy support . go to /build/core/combo/TARGET_linux-arm.mk and change gccversion from 4.7 to 4.6. if that doesnt work try 4.1(Very old toolchain).
Regards
MasterAwesome
Click to expand...
Click to collapse
ok i opened the linux-arm.mk file and changed ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
TARGET_GCC_VERSION := 4.6
That was set to 4.7. Is that all i have to change?

jackching said:
ok i opened the linux-arm.mk file and changed ifeq ($(strip $(TARGET_GCC_VERSION_EXP)),)
TARGET_GCC_VERSION := 4.6
That was set to 4.7. Is that all i have to change?
Click to expand...
Click to collapse
yup.. im assuming you're having both arm-eabi and arm-linux-androideabi of version 4.6

MasterAwesome said:
yup.. im assuming you're having both arm-eabi and arm-linux-androideabi of version 4.6
Click to expand...
Click to collapse
yes i do but this is as far as i get now with 4.6.
Install: /home/nevol/out/target/product/hercules/root/sepolicy
GEN /home/nevol/out/target/product/hercules/obj/KERNEL_OBJ/Makefile
Error: Could not open file: /home/nevol/out/target/product/hercules/obj/ETC/seapp_contexts_intermediates/seapp_contexts error: Permission denied
acp: unable to remove '/home/nevol/out/target/product/hercules/root/property_contexts': No such file or directory
acp: unable to remove '/home/nevol/out/target/product/hercules/root/file_contexts': No such file or directory
make: *** [/home/nevol/out/target/product/hercules/root/file_contexts] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/nevol/out/target/product/hercules/obj/ETC/seapp_contexts_intermediates/seapp_contexts] Error 1
make: *** [/home/nevol/out/target/product/hercules/root/property_contexts] Error 1
acp: unable to remove '/home/nevol/out/target/product/hercules/root/sepolicy': No such file or directory
make: *** [/home/nevol/out/target/product/hercules/root/sepolicy] Error 1
drivers/cpufreq/Kconfig:797:warning: type of 'CPU_FREQ_GOV_SCARY' redefined from 'tristate' to 'boolean'
drivers/video/Kconfig:2335:warning: choice value used outside its choice group
drivers/cpufreq/Kconfig:624:error: recursive dependency detected!
drivers/cpufreq/Kconfig:624: symbol CPU_FREQ_GOV_SCARY is selected by CPU_FREQ_GOV_SCARY
arch/arm/configs/cyanogenmod_hercules_defconfig:201:warning: override: reassigning to symbol DEFAULT_ROW
arch/arm/configs/cyanogenmod_hercules_defconfig:712:warning: override: reassigning to symbol CPU_FREQ_DEFAULT_GOV_LAZY
arch/arm/configs/cyanogenmod_hercules_defconfig:716:warning: override: reassigning to symbol CPU_FREQ_DEFAULT_GOV_SUPERBAD
arch/arm/configs/cyanogenmod_hercules_defconfig:737:warning: override: reassigning to symbol CPU_FREQ_GOV_POWERSAVE
arch/arm/configs/cyanogenmod_hercules_defconfig:738:warning: override: reassigning to symbol CPU_FREQ_GOV_USERSPACE
arch/arm/configs/cyanogenmod_hercules_defconfig:758:warning: override: reassigning to symbol CPU_FREQ_GOV_ONDEMAND
arch/arm/configs/cyanogenmod_hercules_defconfig:771:warning: override: reassigning to symbol SEC_DVFS
#
# configuration written to .config
#
make[1]: Leaving directory `/home/nevol/kernel/samsung/msm8660-common'
Total time elapsed: 3 minutes (230.083030111 seconds)

jackching said:
yes i do but this is as far as i get now with 4.6.
Install: /home/nevol/out/target/product/hercules/root/sepolicy
GEN /home/nevol/out/target/product/hercules/obj/KERNEL_OBJ/Makefile
Error: Could not open file: /home/nevol/out/target/product/hercules/obj/ETC/seapp_contexts_intermediates/seapp_contexts error: Permission denied
acp: unable to remove '/home/nevol/out/target/product/hercules/root/property_contexts': No such file or directory
acp: unable to remove '/home/nevol/out/target/product/hercules/root/file_contexts': No such file or directory
make: *** [/home/nevol/out/target/product/hercules/root/file_contexts] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/nevol/out/target/product/hercules/obj/ETC/seapp_contexts_intermediates/seapp_contexts] Error 1
make: *** [/home/nevol/out/target/product/hercules/root/property_contexts] Error 1
acp: unable to remove '/home/nevol/out/target/product/hercules/root/sepolicy': No such file or directory
make: *** [/home/nevol/out/target/product/hercules/root/sepolicy] Error 1
drivers/cpufreq/Kconfig:797:warning: type of 'CPU_FREQ_GOV_SCARY' redefined from 'tristate' to 'boolean'
drivers/video/Kconfig:2335:warning: choice value used outside its choice group
drivers/cpufreq/Kconfig:624:error: recursive dependency detected!
drivers/cpufreq/Kconfig:624: symbol CPU_FREQ_GOV_SCARY is selected by CPU_FREQ_GOV_SCARY
arch/arm/configs/cyanogenmod_hercules_defconfig:201:warning: override: reassigning to symbol DEFAULT_ROW
arch/arm/configs/cyanogenmod_hercules_defconfig:712:warning: override: reassigning to symbol CPU_FREQ_DEFAULT_GOV_LAZY
arch/arm/configs/cyanogenmod_hercules_defconfig:716:warning: override: reassigning to symbol CPU_FREQ_DEFAULT_GOV_SUPERBAD
arch/arm/configs/cyanogenmod_hercules_defconfig:737:warning: override: reassigning to symbol CPU_FREQ_GOV_POWERSAVE
arch/arm/configs/cyanogenmod_hercules_defconfig:738:warning: override: reassigning to symbol CPU_FREQ_GOV_USERSPACE
arch/arm/configs/cyanogenmod_hercules_defconfig:758:warning: override: reassigning to symbol CPU_FREQ_GOV_ONDEMAND
arch/arm/configs/cyanogenmod_hercules_defconfig:771:warning: override: reassigning to symbol SEC_DVFS
#
# configuration written to .config
#
make[1]: Leaving directory `/home/nevol/kernel/samsung/msm8660-common'
Total time elapsed: 3 minutes (230.083030111 seconds)
Click to expand...
Click to collapse
clean your build directory
Code:
make clean&&make installclean&& make clobber
start build again
Regards
MasterAwesome

MasterAwesome said:
clean your build directory
Code:
make clean&&make installclean&& make clobber
start build again
Regards
MasterAwesome
Click to expand...
Click to collapse
did that and heres what i got
4 has type 'int' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3274:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o] Error 1
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec.o] Error 1
Total time elapsed: 12 minutes (725.278207107 seconds)

jackching said:
did that and heres what i got
4 has type 'int' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3274:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o] Error 1
make: *** [/home/nevol/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec.o] Error 1
Total time elapsed: 12 minutes (725.278207107 seconds)
Click to expand...
Click to collapse
I caught something right off the start. It flashed saying I have have a different version of java or something. Said I had 1.6.0_32 and I need 1.6 or 1.7. How do I uninstall mine and install the right one?

jackching said:
I caught something right off the start. It flashed saying I have have a different version of java or something. Said I had 1.6.0_32 and I need 1.6 or 1.7. How do I uninstall mine and install the right one?
Click to expand...
Click to collapse
Thats just Java this is c object files.. To fix that you need Oracle jdk 1.6. Suppress those errors in build/core/combo/TARGET_linux_arm.mk example - Wno-sign-compare
Sent from my Moto G

MasterAwesome said:
Thats just Java this is c object files.. To fix that you need Oracle jdk 1.6. Suppress those errors in build/core/combo/TARGET_linux_arm.mk example - Wno-sign-compare
Sent from my Moto G
Click to expand...
Click to collapse
i need that in english bud. remember im a new linux user

jackching said:
i need that in english bud. remember im a new linux user
Click to expand...
Click to collapse
Nope didnt work. I even started from scratch and reinstalled linuxmint x64 and im still erroring out.Heres the one im trying to make https://github.com/Cl3Kener/BlueLightning I'm trying to make it for the samsung hercules

jackching said:
Nope didnt work. I even started from scratch and reinstalled linuxmint x64 and im still erroring out.Heres the one im trying to make https://github.com/Cl3Kener/BlueLightning I'm trying to make it for the samsung hercules
Click to expand...
Click to collapse
:/ why would you reinstall the whole Linux is? Nevermind, what I meant in the last post is that you've got to install jdk 1.6 and only that. For those errors add the -w flag to KBUILD_FLAGS present in the build/core/combo/TARGET_Linux_arm.mk and the kernel source/makefile..
Warning: this will suppress all the errors and is not suggested but you'll get the z image to compile.
Sent from my Moto G

Related

Help with simple problem

Trying to compile CM10.1 for Cube U9GT4.
Got error
Code:
device/cube/u9gt4/overlay/frameworks/base/core/res/res/xml/storage_list.xml:4: error: Error: No resource found that matches the given name (at 'storageDescription' with value '@string/storage_nand_flash').
make: *** [/home/yp/CM10/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Ошибка 1
make: *** Удаляется файл `/home/yp/CM10/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: *** Ожидание завершения заданий...
host C++: libLLVMipo <= external/llvm/lib/Transforms/IPO/LoopExtractor.cpp
make: *** wait: Нет дочерних процессов. Останов.
Storage_list.xml from official rom.
Problem looks simple, but i cant solve it by myself. I do not know what to replace value of storageDescription

[Q] AOSP Compiling errors.

First of all, i am sorry in advance for posting in the wrong section if i did so.
Second, i am facing these errors when building AOSP :
Code:
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:34:28: fatal error: linux/msm_kgsl.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp:36:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:38:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
target thumb C++: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/loc.cpp
target thumb C: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/gps.c
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/copybit.msm8974_intermediates/copybit_c2d.o] Error 1
hardware/qcom/display/msm8974/libqdutils/mdp_version.cpp:33:27: fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libqdutils_intermediates/mdp_version.o] Error 1
Can anyone help me here ? I am pretty new with ROM compiling stuff, so please be kind . I am trying to learn.
A question :Can i just modify includes for copybit_c2d.cpp and get passed of this error ? I think it will work, but i may have ROM problems afterwards. -- Tried, won't work. I get "not declared in this scope errors, which is normal".​I am trying to compile for Xperia Z2, on Mint 17 64bit.
Thanks!
Costinutz32 said:
First of all, i am sorry in advance for posting in the wrong section if i did so.
Second, i am facing these errors when building AOSP :
Code:
hardware/qcom/display/msm8974/libcopybit/copybit_c2d.cpp:34:28: fatal error: linux/msm_kgsl.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp:36:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
In file included from hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:38:0:
hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:27: fatal error: linux/msm_ion.h: No such file or directory
compilation terminated.
target thumb C++: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/loc.cpp
target thumb C: gps.msm8974 <= device/sony/shinano-common/gps/libloc_api_50001/gps.c
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/copybit.msm8974_intermediates/copybit_c2d.o] Error 1
hardware/qcom/display/msm8974/libqdutils/mdp_version.cpp:33:27: fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
make: *** [out/target/product/sirius/obj/SHARED_LIBRARIES/libqdutils_intermediates/mdp_version.o] Error 1
Can anyone help me here ? I am pretty new with ROM compiling stuff, so please be kind . I am trying to learn.
A question :Can i just modify includes for copybit_c2d.cpp and get passed of this error ? I think it will work, but i may have ROM problems afterwards. -- Tried, won't work. I get "not declared in this scope errors, which is normal".​I am trying to compile for Xperia Z2, on Mint 17 64bit.
Thanks!
Click to expand...
Click to collapse
As the error says,one of the header files required to create the .o or the object file is missing. Trying searching the file on Google and add it to required folder and #include it to your .c/.c++ program.
Good luck.

CyanogenMod build error

Hi, I am building cyanogenmod11 with OSX Mavericks. I followed this guide exactly, but build fails. (guide: http://forum.xda-developers.com/showthread.php?t=2510898)
error log
Import includes file: /Volumes/android/out/host/darwin-x86/obj/EXECUTABLES/mkbootimg_intermediates/import_includes
host C: libmincrypt <= system/core/libmincrypt/dsa_sig.c
cc1: error: unrecognized command line option "-arch"
cc1: error: unrecognized command line option "-Wno-nested-anon-types"
make: *** [/Volumes/android/out/host/darwin-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/dsa_sig.o] Error 1
make: *** Waiting for unfinished jobs....

Im trying to build cm 13 but i got this error pls help

build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/motorola/condor/cm.mk]]: "vendor/motorola/msm8610-common/msm8610-common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_condor'
** Do you have the right repo manifest?
try this repo https://github.com/Moto8610/proprietary_vendor_motorola
Thnx i will try it.
Do i need to remove the entire cm repo folder or i can remove the devices synced repo and sync again.
GNVM said:
Do i need to remove the entire cm repo folder or i can remove the devices synced repo and sync again.
Click to expand...
Click to collapse
Are you building from your own device tree? Or ashwin007's device tree?
From ashwins tree
That issue is solved now i get these errors
Code:
external/zip/src/zip.c:1287:9: warning: unused parameter 'unzippath' [-Wunused-parameter]
char *unzippath;
^
external/zip/src/zip.c:1434:11: warning: explicitly assigning value of variable of type 'char *' to itself [-Wself-assign]
zippath = zippath;
~~~~~~~ ^ ~~~~~~~
external/zip/src/zip.c:1799:9: warning: explicitly assigning value of variable of type 'const char *' to itself [-Wself-assign]
zfn = zfn;
~~~ ^ ~~~
external/zip/src/zip.c:1850:9: warning: unused parameter 'out_path' [-Wunused-parameter]
char *out_path;
^
external/zip/src/zip.c:698:12: warning: unused function 'help_extended' [-Wunused-function]
local void help_extended()
^
5 warnings generated.
target arm C: zip <= external/zip/src/unix/unix.c
make: *** No rule to make target `vendor/motorola/msm8610-common/proprietary/vendor/lib/libmm-hdcpmgr.so', needed by `/home/gnvm-dev/bin/cm13.0/out/target/product/condor/system/vendor/lib/libmm-hdcpmgr.so'. Stop.
make: *** Waiting for unfinished jobs....
external/zip/src/unix/unix.c:571:12: warning: unused parameter 'z_utim' [-Wunused-parameter]
iztimes *z_utim;
^
1 warning generated.
make: Leaving directory `/home/gnvm-dev/bin/cm13.0'
#### make failed to build some targets (09:21 (mm:ss)) ####
I have found the solution but i got a new error.
Code:
target SharedLib: memtrack.msm8610 (/home/gnvm-dev/bin/cm13.0/out/target/product/condor/obj/SHARED_LIBRARIES/memtrack.msm8610_intermediates/LINKED/memtrack.msm8610.so)
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld: error: /home/gnvm-dev/bin/cm13.0/out/target/product/condor/obj/SHARED_LIBRARIES/memtrack.msm8610_intermediates/memtrack_msm.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin/ld: error: /home/gnvm-dev/bin/cm13.0/out/target/product/condor/obj/SHARED_LIBRARIES/memtrack.msm8610_intermediates/kgsl.o: file is empty
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/home/gnvm-dev/bin/cm13.0/out/target/product/condor/obj/SHARED_LIBRARIES/memtrack.msm8610_intermediates/LINKED/memtrack.msm8610.so] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/gnvm-dev/bin/cm13.0'
#### make failed to build some targets (01:25:33 (hh:mm:ss)) ####

Building CM13 for klimtlte

I'm trying to build CM13 for T705 (klimtlte), using guide https://wiki.cyanogenmod.org/w/Build_for_klimtlte.
It went reasonably smoothly besides 'Get prebuilds' step, that I was suggested to skip as it's obsolete since CM12. Not sure if this is correct, but..
The step that fails is 'brunch klimtlte':
prebuilts/clang/linux-x86/host/3.6/bin/clang: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [build/core/binary.mk:816: /home/android/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/builtins/mulodi4.o] Error 127
make: *** Waiting for unfinished jobs....
host C++: libc++abi <= external/libcxxabi/src/abort_message.cpp
prebuilts/clang/linux-x86/host/3.6/bin/clang++: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [build/core/binary.mk:721: /home/android/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libc++abi_intermediates/src/abort_message.o] Error 127
make: Leaving directory '/home/android/android/system'
The host system is Gentoo, with everything compiled using GCC 5.3. Is it related to _GLIBCXX_USE_CXX11_ABI somehow?

Categories

Resources