In file included from system/core/include/utils/RefBase.h:27:0, from system/core/include/utils/Thread.h:31, from system/core/include/utils/threads.h:35, from system/core/include/utils/Trace.h:31, from frameworks/av/media/libstagefright/ACodec.cpp:62: system/core/include/utils/StrongPointer.h: In instantiation of 'android::sp::sp(const android::sp&) [with U = android::GraphicBuffer; T = android::RefBase]': frameworks/av/media/libstagefright/ACodec.cpp:4956:82: required from here system/core/include/utils/StrongPointer.h:135:28: error: cannot convert 'android::GraphicBuffer* const' to 'android::RefBase*' in initialization : m_ptr(other.m_ptr) { ^ make: *** [/home/android-andi/lp5.1/out/target/product/golden/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.o] Error 1 make: *** Waiting for unfinished jobs.... target thumb C++: libstagefright <= frameworks/av/media/libstagefright/AudioPlayer.cpp In file included from frameworks/av/services/audioflinger/Threads.cpp:58:0: device/samsung/golden/include/hardware/audio.h:175:47: warning: missing whitespace after the macro name [enabled by default] #define AUDIO_OFFLOAD_CODEC_WMA_ENCODE_OPTION1"music_offload_wma_encode_option1" ^ make: *** wait: No child processes. Stop. #### make failed to build some targets (10:52 (mm:ss)) ####