Got error when compiling Carbon ROM

Discussion in 'Xiaomi Mi 2 / Mi 2S' started by ivangundampc, Nov 22, 2013.

  1. ivangundampc

    Feb 25, 2013
    8
    0
    11
    Male
    I am a newbie and trying to compile a ROM for aries. However i got this problem and i don't know how to solve. Can anyone teach me? Thanks.
    PS: I used Ivan's device

    Code:
    target thumb C++: libOmxVenc <= hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp
    In file included from hardware/qcom/media-caf/mm-video/vidc/venc/inc/omx_video_encoder.h:32:0,
                    from hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:34:
    hardware/qcom/media-caf/mm-video/vidc/venc/inc/omx_video_base.h:76:0: warning: "LOG_TAG" 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/native/include/binder/Binder.h:20,
                    from frameworks/native/include/binder/IInterface.h:21,
                    from frameworks/native/include/binder/IMemory.h:26,
                    from frameworks/native/include/binder/MemoryHeapBase.h:23,
                    from hardware/qcom/media-caf/mm-video/vidc/venc/inc/omx_video_base.h:48,
                    from hardware/qcom/media-caf/mm-video/vidc/venc/inc/omx_video_encoder.h:32,
                    from hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:34:
    system/core/include/log/log.h:69:0: note: this is the location of the previous definition
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_open(OMX_U32)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:222:28: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:226:19: warning: deprecated conversion from string constant to 'OMX_STRING {aka char*}' [-Wwrite-strings]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_get_seq_hdr(void*, unsigned int, unsigned int*)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:521:5: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'unsigned char*' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:521:5: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:521:5: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_get_capability_ltrcount(long unsigned int*, long unsigned int*, long unsigned int*)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:550:5: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:550:5: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:550:5: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_get_curr_perf_lvl(OMX_PTR)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:610:5: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_param(void*, OMX_INDEXTYPE)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:693:13: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:693:13: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1083:10: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1127:7: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1147:7: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1045:3: warning: case value '2130706437' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1057:3: warning: case value '2130706443' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1069:3: warning: case value '2130706463' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1089:3: warning: case value '2130706464' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1024:3: warning: case value '2130706467' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1101:3: warning: case value '2130706468' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1113:3: warning: case value '2130706472' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1133:3: warning: case value '2130706473' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_config(void*, OMX_INDEXTYPE)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1281:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1301:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1214:3: warning: case value '2130706439' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1267:3: warning: case value '2130706474' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1287:3: warning: case value '2130706475' not in enumerated type 'OMX_INDEXTYPE' [-Wswitch]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'OMX_U32 venc_dev::venc_allocate_recon_buffers()':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1417:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1417:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'OMX_U32 venc_dev::pmem_allocate(OMX_U32, OMX_U32, OMX_U32)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1521:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1521:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1545:3: warning: format '%d' expects argument of type 'int', but argument 7 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'void venc_dev::venc_config_print()':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1595:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1595:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1595:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1598:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1598:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1598:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1602:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1602:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1602:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1605:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1605:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1608:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1608:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1611:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1611:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1611:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1615:3: error: 'struct venc_entropycfg' has no member named 'entropysel'
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1618:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1618:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1618:3: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1622:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1622:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_use_buf(void*, unsigned int, unsigned int)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1661:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1661:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1661:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1661:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1661:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1662:57: warning: missing initializer for member 'venc_allocatorproperty::maxcount' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1662:57: warning: missing initializer for member 'venc_allocatorproperty::actualcount' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1662:57: warning: missing initializer for member 'venc_allocatorproperty::datasize' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1662:57: warning: missing initializer for member 'venc_allocatorproperty::suffixsize' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1662:57: warning: missing initializer for member 'venc_allocatorproperty::alignment' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1662:57: warning: missing initializer for member 'venc_allocatorproperty::bufpoolid' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_free_buf(void*, unsigned int)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1760:44: warning: missing initializer for member 'venc_bufferpayload::sz' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1760:44: warning: missing initializer for member 'venc_bufferpayload::fd' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1760:44: warning: missing initializer for member 'venc_bufferpayload::offset' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1760:44: warning: missing initializer for member 'venc_bufferpayload::maped_size' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1760:44: warning: missing initializer for member 'venc_bufferpayload::filled_len' [-Wmissing-field-initializers]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_slice_delivery_mode(OMX_BOOL)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:1958:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_ltrcount(OMX_U32)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2010:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_ltrperiod(OMX_U32)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2027:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_ltruse(OMX_U32, OMX_U32)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2045:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2045:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_extradata(OMX_U32)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2059:3: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_profile_level(OMX_U32, OMX_U32)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2333:7: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_intra_period(OMX_U32, OMX_U32)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2426:3: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2426:3: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_entropy_config(OMX_BOOL, OMX_U32)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2450:17: error: 'struct venc_entropycfg' has no member named 'entropysel'
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2457:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2470:17: error: 'struct venc_entropycfg' has no member named 'entropysel'
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2484:11: error: 'struct venc_entropycfg' has no member named 'entropysel'
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2484:36: error: 'struct venc_entropycfg' has no member named 'entropysel'
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_intra_refresh(OMX_VIDEO_INTRAREFRESHTYPE, OMX_U32)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2542:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_error_resilience(OMX_VIDEO_PARAM_ERRORCORRECTIONTYPE*)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2617:8: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_set_color_format(OMX_COLOR_FORMATTYPE)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2737:23: warning: comparison between 'OMX_COLOR_FORMATTYPE {aka enum OMX_COLOR_FORMATTYPE}' and 'enum OMX_QCOM_COLOR_FORMATTYPE' [-Wenum-compare]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:2746:27: warning: comparison between 'OMX_COLOR_FORMATTYPE {aka enum OMX_COLOR_FORMATTYPE}' and 'enum OMX_QCOM_COLOR_FORMATTYPE' [-Wenum-compare]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_validate_profile_level(OMX_U32*, OMX_U32*)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3175:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3177:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3179:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_max_allowed_bitrate_check(OMX_U32)':
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3227:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3248:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3260:9: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
    hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3270:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    make: *** [/home/ivangundampc/carbon/out/target/product/aries/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o] Error 1
     
  2. Looks like you use a broken/incompatible media-caf repository
     
  3. ivangundampc

    Feb 25, 2013
    8
    0
    11
    Male
    So what should i do to solve this problem?
    Is this problem from Ivan's device or source code of Canbon ROM?
    I have searched so many times on Google but i found nothing at all
     
  4. Yes I think it's a problem of ivan's device tree.
    And I don't know how to fix this since I've never used his tree. sry
     

Share Our Site