Help with Error - Android Q&A, Help & Troubleshooting

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)

Related

[Q] Compiling Issues with AOSP 2.3.3

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

Build Issue

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

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

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 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....

Categories

Resources