Error: qcomqcmediaplayer_intermediates/classes.jar How to solve? - Android Q&A, Help & Troubleshooting

Device: Motorola Titan
Building: AOSP
ERROR:
Code:
host C: libpng <= external/libpng/pngwutil.c
host StaticLib: libexpat (out/host/linux-x86/obj/STATIC_LIBRARIES/libexpat_intermediates/libexpat.a)
make: *** No rule to make target 'out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar', needed by 'out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp'. Pare.
make: ** Esperando que outros processos terminem.
host StaticLib: libziparchive-host (out/host/linux-x86/obj/STATIC_LIBRARIES/libziparchive-host_intermediates/libziparchive-host.a)
host StaticLib: libbase (out/host/linux-x86/obj/STATIC_LIBRARIES/libbase_intermediates/libbase.a)
#### make failed to build some targets (02:55 (mm:ss)

Related

Building Android 4.3 PAC-Man ROM for Unsupported Device

Hello there guys, i've recently installed ubuntu, and followed this guide along with some debugging and help from others to reach a certain point in getting a successful build. I am however stuck with the following:
Code:
host C++: libLLVMCore <= external/llvm/lib/IR/TypeFinder.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Use.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/User.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Value.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/ValueSymbolTable.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/ValueTypes.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Verifier.cpp
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/usr/share/zoneinfo/tzdata
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/root/property_contexts
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/root/seapp_contexts
target thumb C: libmake_ext4fs <= bootable/recovery/utilities/../../../system/extras/ext4_utils/make_ext4fs_main.c
Target buildinfo: /home/zohaib/rom/android/system/out/target/product/pyramid/system/build.prop
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/monkey)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/usr/share/bmd/RFFspeed_501.bmd)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/usr/share/bmd/RFFstd_501.bmd)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/bmgr)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/ime)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/input)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/pm)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/svc)
target Prebuilt: system_etcdir (/home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/hosts)
target Export Resources: framework-res (/home/zohaib/rom/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
Install: /home/zohaib/rom/android/system/out/host/linux-x86/framework/doclava.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar
target Static Jar: android-support-v4-eclair (/home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-eclair_intermediates/javalib.jar)
target Java: guava (/home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/classes)
nothing matches overlay file default_wallpaper.jpg, for flavor ,,,,sw720dp,,,,,,,,,nodpi,,,,,,,
target StaticLib: libLLVMLinker (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMLinker_intermediates/libLLVMLinker.a)
target StaticLib: libLLVMipo (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMipo_intermediates/libLLVMipo.a)
target StaticLib: libLLVMBitWriter (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitWriter_intermediates/libLLVMBitWriter.a)
target StaticLib: libLLVMBitReader (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitReader_intermediates/libLLVMBitReader.a)
target StaticLib: libLLVMARMCodeGen (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMCodeGen_intermediates/libLLVMARMCodeGen.a)
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
target StaticLib: libLLVMARMAsmParser (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMAsmParser_intermediates/libLLVMARMAsmParser.a)
target StaticLib: libLLVMARMAsmPrinter (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMAsmPrinter_intermediates/libLLVMARMAsmPrinter.a)
target StaticLib: libLLVMARMInfo (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMInfo_intermediates/libLLVMARMInfo.a)
target StaticLib: libLLVMARMDesc (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMDesc_intermediates/libLLVMARMDesc.a)
target StaticLib: libLLVMARMDisassembler (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMDisassembler_intermediates/libLLVMARMDisassembler.a)
target StaticLib: libLLVMSelectionDAG (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMSelectionDAG_intermediates/libLLVMSelectionDAG.a)
target StaticLib: libLLVMCodeGen (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMCodeGen_intermediates/libLLVMCodeGen.a)
target StaticLib: libLLVMObject (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMObject_intermediates/libLLVMObject.a)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target StaticLib: libLLVMScalarOpts (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMScalarOpts_intermediates/libLLVMScalarOpts.a)
target StaticLib: libLLVMInstCombine (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMInstCombine_intermediates/libLLVMInstCombine.a)
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
target StaticLib: libLLVMInstrumentation (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMInstrumentation_intermediates/libLLVMInstrumentation.a)
target StaticLib: libLLVMTransformObjCARC (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMTransformObjCARC_intermediates/libLLVMTransformObjCARC.a)
target StaticLib: libLLVMTransformUtils (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMTransformUtils_intermediates/libLLVMTransformUtils.a)
target StaticLib: libLLVMipa (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMipa_intermediates/libLLVMipa.a)
target StaticLib: libLLVMAnalysis (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMAnalysis_intermediates/libLLVMAnalysis.a)
target StaticLib: libLLVMCore (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMCore_intermediates/libLLVMCore.a)
target StaticLib: libLLVMVectorize (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMVectorize_intermediates/libLLVMVectorize.a)
target StaticLib: libLLVMWrap (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMWrap_intermediates/libLLVMWrap.a)
target StaticLib: libLLVMBitReader_2_7 (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitReader_2_7_intermediates/libLLVMBitReader_2_7.a)
target StaticLib: libLLVMBitReader_3_0 (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitReader_3_0_intermediates/libLLVMBitReader_3_0.a)
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/lib/egl/egl.cfg
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/lib/libz.so
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/lib/libexpat.so
host StaticLib: libLLVMObject (/home/zohaib/rom/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMObject_intermediates/libLLVMObject.a)
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/bluetooth/bt_stack.conf
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/bluetooth/bt_did.conf
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/bluetooth/auto_pair_devlist.conf
target Java: android-support-v13-ics-mr1 (/home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-support-v13-ics-mr1_intermediates/classes)
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-common-chips_intermediates/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/colorpicker_intermediates/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-opt-timezonepicker_intermediates/classes-jarjar.jar
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/ExtendedCodec.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/ThrottledSource.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/TimeSource.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/TimedEventQueue.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/Utils.cpp
frameworks/av/media/libstagefright/ExtendedCodec.cpp: In static member function 'static void android::ExtendedCodec::enableSmoothStreaming(const android::sp<android::IOMX>&, android::IOMX::node_id, bool*, const char*)':
frameworks/av/media/libstagefright/ExtendedCodec.cpp:368:27: error: expected primary-expression before ')' token
make: *** [/home/zohaib/rom/android/system/out/target/product/pyramid/obj/SHARED_LIBRARIES/libstagefright_intermediates/ExtendedCodec.o] Error 1
make: *** Waiting for unfinished jobs....
/home/zohaib/rom/android/system/out/target/product/pyramid/pac_pyramid-ota-eng.root.zip doesn't exist!
Total time elapsed: 29 minutes 33 seconds
[email protected]:~/rom/android/system#
I can see the error:
frameworks/av/media/libstagefright/ExtendedCodec.cpp:368:27: error: expected primary-expression before ')' token
But i dont know how to fix it, any help is appreciated
FYI im a total noob in terms of building and ubuntu, first time doing it
I am pretty sure the source was just broken, just update your sources and recompile

Error while building CM - lzop: not found - SOLVED + how to fix

How to fix "lzop: not found" error:
open Ubuntu terminal and type:
Code:
sudo apt-get install lzop
and confirm installation.
Install a correct java version, translate the error messages. Check if the files it requires are present
Sent from my Nexus 4 using XDA Premium 4 mobile app
SMillerNL said:
Install a correct java version, translate the error messages. Check if the files it requires are present
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Code:
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/bin/rild'
build/core/base_rules.mk:502:warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/bin/rild'
build/core/Makefile:44: : warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libgps.utils.so'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libgps.utils.so'
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libril.so'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libril.so'
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg'
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/etc/firmware/yamato_pfp.fw:system/etc/firmware/yamato_pfp.fw ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/etc/firmware/yamato_pm4.fw:system/etc/firmware/yamato_pm4.fw ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/eglsubAndroid.so:system/lib/egl/eglsubAndroid.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libEGL_adreno200.so:system/lib/egl/libEGL_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libGLESv1_CM_adreno200.so:system/lib/egl/libGLESv1_CM_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libGLESv2S3D_adreno200.so:system/lib/egl/libGLESv2S3D_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libGLESv2_adreno200.so:system/lib/egl/libGLESv2_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libq3dtools_adreno200.so:system/lib/egl/libq3dtools_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/libc2d2_z180.so:system/lib/libc2d2_z180.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/libgsl.so:system/lib/libgsl.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/libsc-a2xx.so:system/lib/libsc-a2xx.so ignored.
build/core/Makefile:44: warning: commands covering the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/mkshrc'
build/core/base_rules.mk:502: warning: ignoring old commands for the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE jlo
build/core/Makefile:806: device/sony/tamsui-common-legacy/custombootimg.mk: No such file or directory
make: *** No rule to make target `device/sony/tamsui-common-legacy/custombootimg.mk'. Stop.
I have recovery files, how to check if there are all of them? I can't find right .mk file with those lines.
Your error has nothing to do with recovery. That is a normal message to see when building cm as cyanogenmod does not include a recovery image.
Your error is device/sony/tamsui-common-legacy/custombootimg.mk can't be found.
It is looking for that makefile and cannot find it so it's stopping.
Haze028 said:
Your error has nothing to do with recovery. That is a normal message to see when building cm as cyanogenmod does not include a recovery image.
Your error is device/sony/tamsui-common-legacy/custombootimg.mk can't be found.
It is looking for that makefile and cannot find it so it's stopping.
Click to expand...
Click to collapse
Finally fixed it, and also lots of other errors, but now I have something that dunno how to fix, can you take a look?
Code:
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGOpenCLRuntime.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRTTI.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGStmt.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTT.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTables.cpp
external/clang/lib/CodeGen/CGStmt.cpp:1673:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/home/lozohcum/CM/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/CGStmt.o] Błąd 1
make: *** Waiting for unfinished task....
[email protected]:~/CM$
It's compiler error, how fix it then?
lozohcum said:
Finally fixed it, and also lots of other errors, but now I have something that dunno how to fix, can you take a look?
Code:
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGOpenCLRuntime.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRTTI.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGStmt.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTT.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTables.cpp
external/clang/lib/CodeGen/CGStmt.cpp:1673:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/home/lozohcum/CM/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/CGStmt.o] Błąd 1
make: *** Waiting for unfinished task....
[email protected]:~/CM$
It's compiler error, how fix it then?
Click to expand...
Click to collapse
What toolchain are you using? Also what rom are you building?
I'm building cm10.1 with it's toolchain I think
lozohcum said:
I'm building cm10.1 with it's toolchain I think
Click to expand...
Click to collapse
Try a resync then build again...sometimes that can solve things. If not maybe try a different toolchain, I've not seen that error before but it looks like its tool chain related.
Haze028 said:
Try a resync then build again...sometimes that can solve things. If not maybe try a different toolchain, I've not seen that error before but it looks like its tool chain related.
Click to expand...
Click to collapse
Worked but now I have a different error, don't know how to fix (so far I have fixed many things by just reading log and finding what's wrong but sometimes I just don't know what to do)
Code:
Install: /home/lozohcum/CM/out/target/product/jlo/system/lib/libexpat.so
Copy: /home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg
host C++: libicuuc <= external/icu4c/common/bmpset.cpp
LD vmlinux
host C++: libicuuc <= external/icu4c/common/unisetspan.cpp
host C++: libicuuc <= external/icu4c/common/brkeng.cpp
host C++: libicuuc <= external/icu4c/common/brkiter.cpp
external/icu4c/common/brkiter.cpp: In static member function 'static icu_48::BreakIterator* icu_48::BreakIterator::buildInstance(const icu_48::Locale&, char const*, int32_t, UErrorCode&)':
external/icu4c/common/brkiter.cpp:96:38: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
external/icu4c/common/brkiter.cpp:96:72: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
host C++: libicuuc <= external/icu4c/common/caniter.cpp
host C++: libicuuc <= external/icu4c/common/chariter.cpp
host C++: libicuuc <= external/icu4c/common/dictbe.cpp
host C++: libicuuc <= external/icu4c/common/locbased.cpp
host C++: libicuuc <= external/icu4c/common/locid.cpp
host C++: libicuuc <= external/icu4c/common/locutil.cpp
host C++: libicuuc <= external/icu4c/common/normlzr.cpp
host C++: libicuuc <= external/icu4c/common/parsepos.cpp
host C++: libicuuc <= external/icu4c/common/propname.cpp
SYSMAP System.map
host C++: libicuuc <= external/icu4c/common/rbbi.cpp
SYSMAP .tmp_System.map
host C++: libicuuc <= external/icu4c/common/rbbidata.cpp
OBJCOPY arch/arm/boot/Image
host C++: libicuuc <= external/icu4c/common/rbbinode.cpp
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
LZO arch/arm/boot/compressed/piggy.lzo
/bin/sh: lzop: not found
make[4]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[2]: *** [zImage] Błąd 2
make[1]: *** [sub-make] Błąd 2
make[1]: Leaving directory `/home/lozohcum/CM/kernel/sony/msm7x27a-legacy'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished tasks....
[email protected]:~/CM$
kernel source is taken from CyanogenMod github repo
Lzop not found? That might be a clue.
Sent from my Nexus 4 using XDA Premium 4 mobile app
SMillerNL said:
Lzop not found? That might be a clue.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I know that Lzop but what next? should I download something from github?
Okay I found out how to fix it. Type:
Code:
sudo apt-get install lzop
lozohcum said:
Worked but now I have a different error, don't know how to fix (so far I have fixed many things by just reading log and finding what's wrong but sometimes I just don't know what to do)
Code:
Install: /home/lozohcum/CM/out/target/product/jlo/system/lib/libexpat.so
Copy: /home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg
host C++: libicuuc <= external/icu4c/common/bmpset.cpp
LD vmlinux
host C++: libicuuc <= external/icu4c/common/unisetspan.cpp
host C++: libicuuc <= external/icu4c/common/brkeng.cpp
host C++: libicuuc <= external/icu4c/common/brkiter.cpp
external/icu4c/common/brkiter.cpp: In static member function 'static icu_48::BreakIterator* icu_48::BreakIterator::buildInstance(const icu_48::Locale&, char const*, int32_t, UErrorCode&)':
external/icu4c/common/brkiter.cpp:96:38: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
external/icu4c/common/brkiter.cpp:96:72: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
host C++: libicuuc <= external/icu4c/common/caniter.cpp
host C++: libicuuc <= external/icu4c/common/chariter.cpp
host C++: libicuuc <= external/icu4c/common/dictbe.cpp
host C++: libicuuc <= external/icu4c/common/locbased.cpp
host C++: libicuuc <= external/icu4c/common/locid.cpp
host C++: libicuuc <= external/icu4c/common/locutil.cpp
host C++: libicuuc <= external/icu4c/common/normlzr.cpp
host C++: libicuuc <= external/icu4c/common/parsepos.cpp
host C++: libicuuc <= external/icu4c/common/propname.cpp
SYSMAP System.map
host C++: libicuuc <= external/icu4c/common/rbbi.cpp
SYSMAP .tmp_System.map
host C++: libicuuc <= external/icu4c/common/rbbidata.cpp
OBJCOPY arch/arm/boot/Image
host C++: libicuuc <= external/icu4c/common/rbbinode.cpp
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
LZO arch/arm/boot/compressed/piggy.lzo
/bin/sh: lzop: not found
make[4]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[2]: *** [zImage] Błąd 2
make[1]: *** [sub-make] Błąd 2
make[1]: Leaving directory `/home/lozohcum/CM/kernel/sony/msm7x27a-legacy'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished tasks....
[email protected]:~/CM$
kernel source is taken from CyanogenMod github repo
Click to expand...
Click to collapse
it was too long times ago, i know but i need help How to take log? I couldn't find it.
fbli_41 said:
it was too long times ago, i know but i need help How to take log? I couldn't find it.
Click to expand...
Click to collapse
As far as I remember you need to install lzop on your ubuntu. It's compression method.
lozohcum said:
As far as I remember you need to install lzop on your ubuntu. It's compression method.
Click to expand...
Click to collapse
Ok. I will try. Thank you

Error compiling Android 4.4

Hello,
I try to compile Android 4.4 on Ubuntu 13.04. But i get a some "unexpected EOF" errors.
Code:
including ./system/security/softkeymaster/Android.mk ...
including ./system/vold/Android.mk ...
including ./tools/external/fat32lib/Android.mk ...
target SharedLib: libandroid (out/target/product/generic/obj/SHARED_LIBRARIES/libandroid_intermediates/LINKED/libandroid.so)
target SharedLib: libwilhelm (out/target/product/generic/obj/SHARED_LIBRARIES/libwilhelm_intermediates/LINKED/libwilhelm.so)
Install: out/target/product/generic/system/lib/libstagefright.so
target SharedLib: libjnigraphics (out/target/product/generic/obj/SHARED_LIBRARIES/libjnigraphics_intermediates/LINKED/libjnigraphics.so)
target Strip: libbcc.sha1 (out/target/product/generic/obj/lib/libbcc.sha1.so)
target SharedLib: libwebviewchromium_plat_support (out/target/product/generic/obj/SHARED_LIBRARIES/libwebviewchromium_plat_support_intermediates/LINKED/libwebviewchromium_plat_support.so)
target SharedLib: libbluetooth_jni (out/target/product/generic/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/LINKED/libbluetooth_jni.so)
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-jellybean-mr1_intermediates/classes.jar
Proguard: out/target/common/obj/APPS/Music_intermediates/proguard.classes.jar
target Symbolic: libjni_pacprocessor (out/target/product/generic/symbols/system/lib/libjni_pacprocessor.so)
Proguard: out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar
target Symbolic: libttscompat (out/target/product/generic/symbols/system/lib/libttscompat.so)
Proguard: out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar
target Symbolic: app_process (out/target/product/generic/symbols/system/bin/app_process)
target Symbolic: app_process__asan (out/target/product/generic/symbols/system/bin/asan/app_process)
target Executable: dex2oat (out/target/product/generic/obj/EXECUTABLES/dex2oat_intermediates/LINKED/dex2oat)
target Symbolic: libstagefright_httplive (out/target/product/generic/symbols/system/lib/libstagefright_httplive.so)
target Symbolic: libstagefright_wfd (out/target/product/generic/symbols/system/lib/libstagefright_wfd.so)
target Symbolic: screenrecord (out/target/product/generic/symbols/system/bin/screenrecord)
target Symbolic: camera.goldfish.jpeg (out/target/product/generic/symbols/system/lib/hw/camera.goldfish.jpeg.so)
target Symbolic: libFFTEm (out/target/product/generic/symbols/system/lib/libFFTEm.so)
ProGuard, version 4.10
ProGuard, version 4.10
ProGuard, version 4.10
target Strip: libRSDriver (out/target/product/generic/obj/lib/libRSDriver.so)
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/Music_intermediates/classes.jar]
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/QuickSearchBox_intermediates/classes.jar]
target Symbolic: libandroid_servers (out/target/product/generic/symbols/system/lib/libandroid_servers.so)
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/PhotoTable_intermediates/classes.jar]
target Symbolic: libaudioeffect_jni (out/target/product/generic/symbols/system/lib/libaudioeffect_jni.so)
target Symbolic: libdrmframework_jni (out/target/product/generic/symbols/system/lib/libdrmframework_jni.so)
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
target SharedLib: libmedia_jni (out/target/product/generic/obj/SHARED_LIBRARIES/libmedia_jni_intermediates/LINKED/libmedia_jni.so)
target SharedLib: librs_jni (out/target/product/generic/obj/SHARED_LIBRARIES/librs_jni_intermediates/LINKED/librs_jni.so)
target SharedLib: libsoundpool (out/target/product/generic/obj/SHARED_LIBRARIES/libsoundpool_intermediates/LINKED/libsoundpool.so)
target SharedLib: libstagefright_chromium_http (out/target/product/generic/obj/SHARED_LIBRARIES/libstagefright_chromium_http_intermediates/LINKED/libstagefright_chromium_http.so)
Install: out/target/product/generic/system/lib/libstagefright_soft_aacdec.so
Install: out/target/product/generic/system/lib/libstagefright_soft_aacenc.so
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Install: out/target/product/generic/system/lib/libstagefright_soft_amrdec.so
Install: out/target/product/generic/system/lib/libstagefright_soft_amrnbenc.so
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/Music_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar] Error 1
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar] Error 1
Do you know any solutions?
Thanks
try "rm -Rf out/target/common/obj/APPS" and then rebuild
Hey guys, I have a problem with android app. while I wanna compile it, an error occurs!
its like :
--------------------------------------...
[2011-04-20 21:52:27 - KDV] Android Launch!
[2011-04-20 21:52:27 - KDV] adb is running normally.
[2011-04-20 21:52:27 - KDV] Could not find KDV.apk!
--------------------------------------...
Can you help me?
where is the error, and what does it mean?
also in directory "bin/" there is no .apk file, why?
I'm using :
- Ubuntu 10.10 - Maverick Meerkat
- Eclips Version: 3.5.2
- Android 1.6 (API Level-4)
rebuild android 4.4 error
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp: In function 'void android::adapter_state_change_callback(bt_state_t)':
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:95:8: warning: too many arguments for format [-Wformat-extra-args]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp: In function 'jboolean android::getRemoteMasInstancesNative(JNIEnv*, jobject, jbyteArray)':
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:1036:54: warning: passing NULL to non-pointer argument 3 of 'void _JNIEnv::ReleaseByteArrayElements(jbyteArray, jbyte*, jint)' [-Wconversion-null]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_QAdapterService.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hfp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hfpclient.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_a2dp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp: In function 'jboolean android::getProtocolModeNative(JNIEnv*, jobject, jbyteArray)':
packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp:323:5: warning: 'protocolMode' may be used uninitialized in this function [-Wuninitialized]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hidd.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp: In function 'jint android::registerHealthAppNative(JNIEnv*, jobject, jint, jint, jstring, jint)':
packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp:198:41: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_gatt.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/android_hardware_wipower.cpp
packages/apps/Bluetooth/jni/android_hardware_wipower.cpp:48:0: warning: "ALOGV" redefined [enabled by default]
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Vector.h:24,
from frameworks/native/include/binder/IBinder.h:23,
from frameworks/base/include/android_runtime/AndroidRuntime.h:23,
from packages/apps/Bluetooth/jni/android_hardware_wipower.cpp:33:
system/core/include/log/log.h:78:0: note: this is the location of the previous definition
make: *** No rule to make target `/root/cm/out/target/product/mione_plus/obj/lib/libandroid_runtime.so', needed by `/root/cm/out/target/product/mione_plus/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/LINKED/libbluetooth_jni.so'. Stop.
hei somebody help me fix this bugs...
i have rebuild again again....

Help with Error

I am building cyanogenmod but I encountered build error.
Anyone can help?
Code:
target StaticLib: libstagefright_g711dec (out/target/product/e510/obj/STATIC_LIBRARIES/libstagefright_g711dec_intermediates/libstagefright_g711dec.a)
target StaticLib: libglib_static (out/target/product/e510/obj/STATIC_LIBRARIES/libglib_static_intermediates/libglib_static.a)
target StaticLib: libbuiltinplugin (out/target/product/e510/obj/STATIC_LIBRARIES/libbuiltinplugin_intermediates/libbuiltinplugin.a)
target StaticLib: libgdbus_static (out/target/product/e510/obj/STATIC_LIBRARIES/libgdbus_static_intermediates/libgdbus_static.a)
target StaticLib: libiptc (out/target/product/e510/obj/STATIC_LIBRARIES/libiptc_intermediates/libiptc.a)
target StaticLib: libext (out/target/product/e510/obj/STATIC_LIBRARIES/libext_intermediates/libext.a)
preparing StaticLib: libc_nomalloc [including out/target/product/e510/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a]
target StaticLib: liblsof (out/target/product/e510/obj/STATIC_LIBRARIES/liblsof_intermediates/liblsof.a)
target StaticLib: libaudiointerface (out/target/product/e510/obj/STATIC_LIBRARIES/libaudiointerface_intermediates/libaudiointerface.a)
target StaticLib: libaudiopolicybase (out/target/product/e510/obj/STATIC_LIBRARIES/libaudiopolicybase_intermediates/libaudiopolicybase.a)
target thumb C++: libcamerastub <= frameworks/base/services/camera/libcameraservice/CameraHardwareStub.cpp
target thumb C++: libcamerastub <= frameworks/base/services/camera/libcameraservice/FakeCamera.cpp
target thumb C++: libmediaplayerservice <= frameworks/base/media/libmediaplayerservice/MediaRecorderClient.cpp
frameworks/base/services/camera/libcameraservice/CameraHardwareStub.cpp: In static member function 'static android::sp<android::CameraHardwareInterface> android::CameraHardwareStub::createInstance()':
frameworks/base/services/camera/libcameraservice/CameraHardwareStub.cpp:400: error: cannot allocate an object of abstract type 'android::CameraHardwareStub'
frameworks/base/services/camera/libcameraservice/CameraHardwareStub.h:31: note: because the following virtual functions are pure within 'android::CameraHardwareStub':
device/lge/e510/include/camera/CameraHardwareInterface.h:96: note: virtual android::status_t android::CameraHardwareInterface::getShutterSound(int)
device/lge/e510/include/camera/CameraHardwareInterface.h:142: note: virtual void android::CameraHardwareInterface::encodeData()
[B]make: *** [out/target/product/e510/obj/STATIC_LIBRARIES/libcamerastub_intermediates/CameraHardwareStub.o] Error 1[/B]
make: *** Waiting for unfinished jobs....
target StaticLib: libc_nomalloc (out/target/product/e510/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)

allocsize and gralloc_module errors

Im trying to build cm13 for my device (msm8974) and I couldn't solve this error. The solitions that I found on the internet didin't fix this errors. Especially allocSize.
Any reply would be appreciated.
Code:
target thumb C++: gralloc.msm8974 <= hardware/qcom/display-caf/msm8974/libgralloc/framebuffer.cpp
hardware/qcom/display-caf/msm8974/libgralloc/gpu.cpp: In constructor 'gralloc::gpu_context_t::gpu_context_t(const private_module_t*,gralloc::IAllocController*)':
hardware/qcom/display-caf/msm8974/libgralloc/gpu.cpp:48:5: error: 'allocSize' was not declared in this scope
allocSize = gralloc_alloc_size;
^
build/core/binary.mk:706: recipe for target '/home/burak/cm13/out/target/product/e7/obj/SHARED_LIBRARIES/gralloc.msm8974_intermediates/gpu.o' failed
make: *** [/home/burak/cm13/out/target/product/e7/obj/SHARED_LIBRARIES/gralloc.msm8974_intermediates/gpu.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: gralloc.msm8974 <= hardware/qcom/display-caf/msm8974/libgralloc/mapper.cpp
hardware/qcom/display-caf/msm8974/libgralloc/mapper.cpp: In function 'int gralloc_perform(const gralloc_module_t*, int, ...)':
hardware/qcom/display-caf/msm8974/libgralloc/mapper.cpp:367:14: error: 'GRALLOC_MODULE_PERFORM_UPDATE_BUFFER_GEOMETRY' was not declared in this scope
case GRALLOC_MODULE_PERFORM_UPDATE_BUFFER_GEOMETRY:
^
build/core/binary.mk:706: recipe for target '/home/burak/cm13/out/target/product/e7/obj/SHARED_LIBRARIES/gralloc.msm8974_intermediates/mapper.o' failed
make: *** [/home/burak/cm13/out/target/product/e7/obj/SHARED_LIBRARIES/gralloc.msm8974_intermediates/mapper.o] Error 1
#### make failed to build some targets (12:28 (mm:ss)) ####

Categories

Resources