[Android Q&A, Help & Troubleshooting] winxuser:
does anyone know how to fix this problem with libstagefright

In file included from frameworks/base/media/libstagefright/OMXCodec.cpp:55:

./vendor/qcom/opensource/omx/mm-core/omxcore/inc/OMX_QCOMExtns.h:846: warning: 'typedef' was ignored in this declaration

frameworks/base/media/libstagefright/OMXCodec.cpp: In function 'size_t android::getFrameSize(OMX_COLOR_FORMATTYPE, int32_t, int32_t)':

frameworks/base/media/libstagefright/OMXCodec.cpp:1297: error: 'ALIGN' was not declared in this scope

frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android::eek:MXCodec::setVideoInputFormat(const char*, const android::sp<android::MetaData>&)':

frameworks/base/media/libstagefright/OMXCodec.cpp:1386: warning: format '%ld' expects type 'long int', but argument 5 has type 'int32_t'

frameworks/base/media/libstagefright/OMXCodec.cpp:1386: warning: format '%ld' expects type 'long int', but argument 6 has type 'int32_t'

frameworks/base/include/media/stagefright/OMXCodec.h: In constructor 'android::eek:MXCodec::eek:MXCodec(const android::sp<android::IOMX>&, void*, uint32_t, uint32_t, bool, const char*, const char*, const android::sp<android::MediaSource>&, const android::sp<ANativeWindow>&)':

frameworks/base/include/media/stagefright/OMXCodec.h:246: warning: 'android::eek:MXCodec::bInvalidState' will be initialized after

frameworks/base/include/media/stagefright/OMXCodec.h:244: warning: 'bool android::eek:MXCodec::mInterlaceFormatDetected'

frameworks/base/media/libstagefright/OMXCodec.cpp:2030: warning: when initialized here

frameworks/base/include/media/stagefright/OMXCodec.h:245: warning: 'android::eek:MXCodec::mSPSParsed' will be initialized after

frameworks/base/include/media/stagefright/OMXCodec.h:220: warning: 'bool android::eek:MXCodec::mThumbnailMode'

frameworks/base/media/libstagefright/OMXCodec.cpp:2030: warning: when initialized here

frameworks/base/include/media/stagefright/OMXCodec.h:393: warning: 'android::eek:MXCodec::mUseArbitraryMode' will be initialized after

frameworks/base/include/media/stagefright/OMXCodec.h:230: warning: 'android::sp<ANativeWindow> android::eek:MXCodec::mNativeWindow'

frameworks/base/media/libstagefright/OMXCodec.cpp:2030: warning: when initialized here

frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'android::status_t android::eek:MXCodec::allocateOutputBuffersFromNativeWindow()':

frameworks/base/media/libstagefright/OMXCodec.cpp:2461: warning: enumeral mismatch in conditional expression: '<anonymous enum>' vs 'OMX_COLOR_FORMATTYPE'

frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android::eek:MXCodec::onEvent(OMX_EVENTTYPE, OMX_U32, OMX_U32)':

frameworks/base/media/libstagefright/OMXCodec.cpp:3244: warning: comparison between signed and unsigned integer expressions

frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android::eek:MXCodec::onCmdComplete(OMX_COMMANDTYPE, OMX_U32)':

frameworks/base/media/libstagefright/OMXCodec.cpp:3424: warning: comparison between signed and unsigned integer expressions

frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'bool android::eek:MXCodec::flushPortAsync(OMX_U32)':

frameworks/base/media/libstagefright/OMXCodec.cpp:3739: warning: comparison between signed and unsigned integer expressions

frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android::eek:MXCodec::drainInputBuffers()':

frameworks/base/media/libstagefright/OMXCodec.cpp:3874: warning: comparison between signed and unsigned integer expressions

frameworks/base/media/libstagefright/OMXCodec.cpp: In function 'const char* android::colorFormatString(OMX_COLOR_FORMATTYPE)':

frameworks/base/media/libstagefright/OMXCodec.cpp:5338: warning: comparison between 'enum OMX_COLOR_FORMATTYPE' and 'enum OMX_QCOM_COLOR_FORMATTYPE'

make: *** [out/target/product/u8650/obj/SHARED_LIBRARIES/libstagefright_intermediates/OMXCodec.o] Error 1

make: *** Waiting for unfinished jobs....