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
Related
Hello everyone in XDA
I've decided to take the plunge with a group of friends to make an AOSP ROM for the Galaxy Ace (Codenamed Cooper) and it's not exactly as smooth-sailing as I thought.
I used to make generic builds last time , but ditched it because of the various errors that were induced.
So this time I decided to grab different Cooper sources from GitHub, mostly from coolya and Cyanogenmod.
I then realised that the AOSP doesn't have much files for an ARMv6-VFP device.
So I replaced android/frameworks/base completely with Cyanogenmod's android/frameworks/base.
And now I've been getting this error using:
Code:
make -j16 otapackage
Code:
frameworks/base/libs/ui/GraphicBuffer.cpp: In member function 'android::status_t android::GraphicBuffer::reallocate(uint32_t, uint32_t, android::PixelFormat, uint32_t)':
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
target thumb C++: libui <= frameworks/base/libs/ui/GraphicBufferMapper.cpp
target thumb C++: libui <= frameworks/base/libs/ui/GraphicLog.cpp
target thumb C++: libui <= frameworks/base/libs/ui/KeyLayoutMap.cpp
target thumb C++: libui <= frameworks/base/libs/ui/KeyCharacterMap.cpp
target thumb C++: libui <= frameworks/base/libs/ui/Input.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputDispatcher.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputManager.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputReader.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputTransport.cpp
target thumb C++: libui <= frameworks/base/libs/ui/IOverlay.cpp
target thumb C++: libui <= frameworks/base/libs/ui/Overlay.cpp
target thumb C++: libui <= frameworks/base/libs/ui/PixelFormat.cpp
frameworks/base/libs/ui/Overlay.cpp: In member function 'android::status_t android::Overlay::setFd(int)':
frameworks/base/libs/ui/Overlay.cpp:98: error: 'struct overlay_data_device_t' has no member named 'setFd'
make: *** [out/target/product/cooper/obj/SHARED_LIBRARIES/libui_intermediates/Overlay.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android#
If I used
Code:
make -j16
It would give a different error:
Code:
Install: out/host/linux-x86/framework/guavalib.jar
host Prebuilt: org-openide-util (out/host/common/obj/JAVA_LIBRARIES/org-openide-util_intermediates/javalib.jar)
host Prebuilt: org-netbeans-api-visual (out/host/common/obj/JAVA_LIBRARIES/org-netbeans-api-visual_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/idegen.jar
host Prebuilt: jarjar (out/host/common/obj/JAVA_LIBRARIES/jarjar_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/jdiff.jar
Install: out/host/linux-x86/framework/jsr305lib.jar
host Prebuilt: jython (out/host/common/obj/JAVA_LIBRARIES/jython_intermediates/javalib.jar)
host Prebuilt: kxml2-2.3.0 (out/host/common/obj/JAVA_LIBRARIES/kxml2-2.3.0_intermediates/javalib.jar)
make: *** No rule to make target `out/host/linux-x86/framework/layoutlib_api-prebuilt.jar', needed by `out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates/javalib.jar'. Stop.
make: *** Waiting for unfinished jobs....
Did I do anything wrong?
Anyone ?
Sent from my GT-S5830 using XDA App
Hey guys...
i'm compilin cyanmobile and gettin the following error.. does anybody know how to solve it ..
Code:
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/XMLNames.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/HTMLNames.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/HTMLElementFactory.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/V8HTMLElementWrapperFactory.cpp
target thumb C: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/html/HTMLEntityNames.c
target thumb C: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/platform/ColorData.c
target StaticLib: libwebcore (/media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a)
[COLOR="Red"][B]make: execvp: /bin/bash: Argument list too long[/B]
[B]make: *** [/media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a] Error 127
[/B][/COLOR]
wilfredcool007 said:
Hey guys...
i'm compilin cyanmobile and gettin the following error.. does anybody know how to solve it ..
Code:
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/XMLNames.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/HTMLNames.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/HTMLElementFactory.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/V8HTMLElementWrapperFactory.cpp
target thumb C: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/html/HTMLEntityNames.c
target thumb C: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/platform/ColorData.c
target StaticLib: libwebcore (/media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a)
[COLOR="Red"][B]make: execvp: /bin/bash: Argument list too long[/B]
[B]make: *** [/media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a] Error 127
[/B][/COLOR]
Click to expand...
Click to collapse
just in case someone else faces this error
the path to source is too long..
Compile CM10.1 have been reported errors
This is the error message
、
HTML:
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_uimirror.cpp
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_uevents.cpp
hardware/qcom/display-legacy/libhwcomposer/hwc_uevents.cpp:30:0: warning: "PAGE_SIZE" redefined [enabled by default]
bionic/libc/kernel/arch-arm/asm/page.h:22:0: note: this is the location of the previous definition
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_vsync.cpp
hardware/qcom/display-legacy/libhwcomposer/hwc_vsync.cpp:36:0: warning: "PAGE_SIZE" redefined [enabled by default]
bionic/libc/kernel/arch-arm/asm/page.h:22:0: note: this is the location of the previous definition
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_copybit.cpp
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_mdpcomp.cpp
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_extonly.cpp
target thumb C++: libhwcexternal <= hardware/qcom/display-legacy/libhwcomposer/hwc_external.cpp
target thumb C++: libhwcservice <= hardware/qcom/display-legacy/libhwcomposer/hwc_service.cpp
target thumb C++: libhwcservice <= hardware/qcom/display-legacy/libhwcomposer/ihwc.cpp
target thumb C++: keystore.default <= system/security/softkeymaster/keymaster_openssl.cpp
target thumb C++: libOmxAacEnc <= hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp
target thumb C: libOmxAacEnc <= hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/src/aenc_svr.c
In file included from hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:41:0:
hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:52:34: fatal error: QOMX_AudioExtensions.h: No such file or directory
compilation terminated.
make: *** [/home/poppy/mokee/out/target/product/villec2/obj/SHARED_LIBRARIES/libOmxAacEnc_intermediates/src/omx_aac_aenc.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/src/aenc_svr.c:35:0:
hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:39:0: warning: "LOG_TAG" redefined [enabled by default]
system/core/include/cutils/log.h:68:0: note: this is the location of the previous definition
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
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....