This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

error while building android file system from source

Other Parts Discussed in Thread: 4430

 I'm building JB 4AJ.2.1 to port on Pandaboard (OMAP 4430)using

http://omappedia.org/wiki/4AJ.2.1_OMAP4_Panda_ES
 i built U-Boot,kernel properly but when i'm building Android File System (using make -j4) i'm getting following error

frameworks/av/media/libstagefright/ACodec.cpp: In member function 'android::status_t android::ACodec::setupFlacCodec(bool, int32_t, int32_t, int32_t)':

frameworks/av/media/libstagefright/ACodec.cpp:1307:9: error: 'OMX_AUDIO_PARAM_FLACTYPE' was not declared in this scope

frameworks/av/media/libstagefright/ACodec.cpp:1307:34: error: expected ';' before 'def'

frameworks/av/media/libstagefright/ACodec.cpp:1308:24: error: 'def' was not declared in this scope

frameworks/av/media/libstagefright/ACodec.cpp:1312:50: error: 'OMX_IndexParamAudioFlac' was not declared in this scope

frameworks/av/media/libstagefright/ACodec.cpp: In member function 'android::status_t android::ACodec::setSupportedOutputFormat()':

frameworks/av/media/libstagefright/ACodec.cpp:1450:5: error: 'OMX_TI_COLOR_FormatYUV420PackedSemiPlanar' was not declared in this scope

frameworks/av/media/libstagefright/ACodec.cpp:1450:5: error: 'OMX_QCOM_COLOR_FormatYVU420SemiPlanar' was not declared in this scope

frameworks/av/media/libstagefright/ACodec.cpp:1450:5: error: 'OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka' was not declared in this scope

frameworks/av/media/libstagefright/ACodec.cpp: In function 'android::status_t android::GetVideoCodingTypeFromMime(char const*, OMX_VIDEO_CODINGTYPE*)':

frameworks/av/media/libstagefright/ACodec.cpp:1473:23: error: 'OMX_VIDEO_CodingVPX' was not declared in this scope

target thumb C++: libstagefright <= frameworks/av/media/libstagefright/AwesomePlayer.cpp

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

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

frameworks/av/media/libstagefright/AwesomePlayer.cpp: In member function 'void android::AwesomePlayer::onVideoEvent()':

frameworks/av/media/libstagefright/AwesomePlayer.cpp:1898:51: error: 'kKeyVideoFPS' was not declared in this scope

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




i'm attaching those files
 the ACodec.h file is in /opt/android/4AJ.2.1/frameworks/av/include/media/stagefright
and ACodec.cpp file is in 4AJ.2.1/frameworks/av//opt/android/4AJ.2.1/frameworks/av/media/libstagefright
of my root

while building i'm getting above error and if i separately compile only ACodec.cpp i'm getting

ACodec.cpp:21: fatal error: media/stagefright/ACodec.h: No such file or directory

can anyone give me a solution for that?