[XDA-University] Great_Geek:
Help :/

Compiling OpenSEMC cm10.1 for Xperia S (nozomi)

repo sync

get-prebuilts

. build/envsetup

(proprietary files(TheMuppets repo) were already in vendor directory)

breakfast nozomi

brunch nozomi

Tried make clean . Didn't help.

This is only a small part of terminal output. Whole thing in attachments. Zipped, cause plaintext is 3.2 mb.

hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:6970:63: warning: passing NULL to non-pointer argument 1 of 'bool omx_vdec::post_event(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7059:52: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7069:55: warning: passing NULL to non-pointer argument 1 of 'bool omx_vdec::post_event(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7072:61: warning: passing NULL to non-pointer argument 1 of 'bool omx_vdec::post_event(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::empty_this_buffer_proxy_arbitrary(OMX_HANDLETYPE, OMX_BUFFERHEADERTYPE*)':
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7132:67: warning: passing NULL to non-pointer argument 2 of 'bool omx_vdec::omx_cmd_queue::insert_entry(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7132:67: warning: passing NULL to non-pointer argument 3 of 'bool omx_vdec::omx_cmd_queue::insert_entry(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::push_input_sc_codec(OMX_HANDLETYPE)':
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7268:69: warning: passing NULL to non-pointer argument 2 of 'bool omx_vdec::omx_cmd_queue::insert_entry(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7268:69: warning: passing NULL to non-pointer argument 3 of 'bool omx_vdec::omx_cmd_queue::insert_entry(unsigned int, unsigned int, unsigned int)' [-Wconversion-null]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'int omx_vdec::alloc_map_ion_memory(OMX_U32, OMX_U32, ion_allocation_data*, ion_fd_data*, int)':
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7787:3: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'ion_handle*' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7787:3: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'ion_handle*' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'void omx_vdec::free_ion_memory(vdec_ion*)':
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7800:6: warning: format '%X' expects argument of type 'unsigned int', but argument 4 has type 'ion_handle*' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::allocate_output_headers()':
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8226:7: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'OMX_BUFFERHEADERTYPE*' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8226:7: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'char*' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'void omx_vdec::handle_extradata(OMX_BUFFERHEADERTYPE*)':
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8632:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8632:9: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8651: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/mm-video/vidc/vdec/src/omx_vdec.cpp:8796:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::enable_extradata(OMX_U32, bool)':
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8826: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/mm-video/vidc/vdec/src/omx_vdec.cpp:8826:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'void omx_vdec::print_debug_extradata(OMX_OTHER_EXTRADATATYPE*)':
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8918:3: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8918:3: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8918:3: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8918:3: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8928:23: warning: comparison between 'OMX_EXTRADATATYPE {aka enum OMX_EXTRADATATYPE}' and 'enum OMX_QCOM_EXTRADATATYPE' [-Wenum-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8931: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/mm-video/vidc/vdec/src/omx_vdec.cpp:8931:5: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8931:5: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8931:5: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8942:28: warning: comparison between 'OMX_EXTRADATATYPE {aka enum OMX_EXTRADATATYPE}' and 'enum OMX_QCOM_EXTRADATATYPE' [-Wenum-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8946:5: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8946:5: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8946:5: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8946:5: warning: format '%u' expects argument of type 'unsigned int', but argument 9 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8946:5: warning: format '%u' expects argument of type 'unsigned int', but argument 10 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8963:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8965:7: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8965:7: warning: format '%d' expects argument of type 'int', but argument 6 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8965:7: warning: format '%d' expects argument of type 'int', but argument 7 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:8965:7: warning: format '%d' expects argument of type 'int', but argument 8 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::handle_demux_data(OMX_BUFFERHEADERTYPE*)':
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:9320:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'bool omx_vdec::allocate_color_convert_buf::set_color_format(OMX_COLOR_FORMATTYPE)':
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:9777:5: warning: zero-length gnu_printf format string [-Wformat-zero-length]
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp: In member function 'OMX_ERRORTYPE omx_vdec::allocate_color_convert_buf::allocate_buffers_color_convert(OMX_HANDLETYPE, OMX_BUFFERHEADERTYPE**, OMX_U32, OMX_PTR, OMX_U32)':
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:9925:5: warning: format '%d' expects argument of type 'int', but argument 5 has type 'OMX_U32 {aka long unsigned int}' [-Wformat]
make: *** [/home/glen/android/system/out/target/product/nozomi/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec.o] Error 1
glen@Studio-1555:~/android/system$