carolcityboyz
Well-Known Member
PG, can you help with this error?
HTML:
target thumb C++: libOmxVdec <= hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp
In file included from hardware/qcom/media/mm-video/vidc/vdec/inc/h264_utils.h:46:0,
from hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:48:
bionic/libc/include/stdio.h: In function 'char* fgets(char*, int, FILE*)':
bionic/libc/include/stdio.h:547:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
bionic/libc/include/stdio.h:553:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from hardware/qcom/media/mm-video/vidc/common/inc/extra_data_handler.h:37:0,
from hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:49:
device/lge/iproj/include/linux/msm_vidc_dec.h: At global scope:
device/lge/iproj/include/linux/msm_vidc_dec.h:85:7: error: variable or field '__user' declared void
device/lge/iproj/include/linux/msm_vidc_dec.h:85:7: error: expected ';' at end of member declaration
device/lge/iproj/include/linux/msm_vidc_dec.h:85:15: error: ISO C++ forbids declaration of 'in' with no type [-fpermissive]
device/lge/iproj/include/linux/msm_vidc_dec.h:86:7: error: variable or field '__user' declared void
device/lge/iproj/include/linux/msm_vidc_dec.h:86:7: error: expected ';' at end of member declaration
device/lge/iproj/include/linux/msm_vidc_dec.h:86:15: error: ISO C++ forbids declaration of 'out' with no type [-fpermissive]
device/lge/iproj/include/linux/msm_vidc_dec.h:236:7: error: variable or field '__user' declared void
device/lge/iproj/include/linux/msm_vidc_dec.h:236:7: error: expected ';' at end of member declaration
device/lge/iproj/include/linux/msm_vidc_dec.h:236:15: error: ISO C++ forbids declaration of 'bufferaddr' with no type [-fpermissive]
device/lge/iproj/include/linux/msm_vidc_dec.h:486:7: error: variable or field '__user' declared void
device/lge/iproj/include/linux/msm_vidc_dec.h:486:7: error: expected ';' at end of member declaration
device/lge/iproj/include/linux/msm_vidc_dec.h:486:15: error: ISO C++ forbids declaration of 'ptr_seqheader' with no type [-fpermissive]
device/lge/iproj/include/linux/msm_vidc_dec.h:493:7: error: variable or field '__user' declared void
device/lge/iproj/include/linux/msm_vidc_dec.h:493:7: error: expected ';' at end of member declaration
device/lge/iproj/include/linux/msm_vidc_dec.h:493:15: error: ISO C++ forbids declaration of 'ptr_errormap' with no type [-fpermissive]
device/lge/iproj/include/linux/msm_vidc_dec.h:498:7: error: variable or field '__user' declared void
device/lge/iproj/include/linux/msm_vidc_dec.h:498:7: error: expected ';' at end of member declaration
device/lge/iproj/include/linux/msm_vidc_dec.h:498:15: error: ISO C++ forbids declaration of 'bufferaddr' with no type [-fpermissive]
device/lge/iproj/include/linux/msm_vidc_dec.h:506:7: error: variable or field '__user' declared void
device/lge/iproj/include/linux/msm_vidc_dec.h:506:7: error: expected ';' at end of member declaration
device/lge/iproj/include/linux/msm_vidc_dec.h:506:15: error: ISO C++ forbids declaration of 'desc_addr' with no type [-fpermissive]
device/lge/iproj/include/linux/msm_vidc_dec.h:524:7: error: variable or field '__user' declared void
device/lge/iproj/include/linux/msm_vidc_dec.h:524:7: error: expected ';' at end of member declaration
device/lge/iproj/include/linux/msm_vidc_dec.h:524:15: error: ISO C++ forbids declaration of 'bufferaddr' with no type [-fpermissive]
In file included from hardware/qcom/media/mm-video/vidc/common/inc/extra_data_handler.h:38:0,
from hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:49:
device/lge/iproj/include/linux/msm_vidc_enc.h:169:7: error: variable or field '__user' declared void
device/lge/iproj/include/linux/msm_vidc_enc.h:169:7: error: expected ';' at end of member declaration
device/lge/iproj/include/linux/msm_vidc_enc.h:169:15: error: ISO C++ forbids declaration of 'in' with no type [-fpermissive]
device/lge/iproj/include/linux/msm_vidc_enc.h:170:7: error: variable or field '__user' declared void
device/lge/iproj/include/linux/msm_vidc_enc.h:170:7: error: expected ';' at end of member declaration
device/lge/iproj/include/linux/msm_vidc_enc.h:170:15: error: ISO C++ forbids declaration of 'out' with no type [-fpermissive]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp: In member function 'boolean H264_Utils::extract_rbsp(OMX_U8*, OMX_U32, OMX_U32, OMX_U8*, OMX_U32*, NALU*)':
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:307:58: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp: In member function 'void h264_stream_parser::hrd_parameters(h264_hrd_param*)':
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:763:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp: In member function 'void h264_stream_parser::sei_buffering_period()':
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:854:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:871:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp: In member function 'void h264_stream_parser::sei_picture_timing()':
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:923:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp: In member function 'void h264_stream_parser::sei_pan_scan()':
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:998: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/h264_utils.cpp:1012:7: 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/h264_utils.cpp:1017:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp: In member function 'void h264_stream_parser::print_pan_data(h264_pan_scan*)':
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1044: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/h264_utils.cpp:1049:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1051:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1052:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1053:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1054:5: warning: format '%d' expects argument of type 'int', but argument 4 has type 'OMX_S32 {aka long int}' [-Wformat]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1056: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/h264_utils.cpp: In member function 'void h264_stream_parser::parse_sps()':
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1083:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1085:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1102:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp: In member function 'void h264_stream_parser::scaling_list(OMX_U32)':
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1127:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp: In member function 'void h264_stream_parser::print_frame_pack()':
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1331: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/h264_utils.cpp:1332: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/h264_utils.cpp:1336: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/h264_utils.cpp:1338: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/h264_utils.cpp:1340: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/h264_utils.cpp:1342: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/h264_utils.cpp:1344: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/h264_utils.cpp:1346: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/h264_utils.cpp:1348: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/h264_utils.cpp:1350: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/h264_utils.cpp:1352: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/h264_utils.cpp:1354: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/h264_utils.cpp:1356: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/h264_utils.cpp:1358: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/h264_utils.cpp: In member function 'void h264_stream_parser::fill_pan_scan_data(OMX_QCOM_PANSCAN*, OMX_S64)':
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1453:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1448:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp: In member function 'h264_pan_scan* panscan_handler::get_populated(OMX_S64)':
hardware/qcom/media/mm-video/vidc/vdec/src/h264_utils.cpp:1605:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
make: *** [/home/kgraham/Source/out/target/product/ms840/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/h264_utils.o] Error 1
make: *** Waiting for unfinished jobs....
). I rooted the device, copied the first build from this thread (0317, yeah I should've checked for a later build) and Gapps onto the SD card, installed CWM from the Play Store (is there any reason not to install it this way?), rebooted holding Power and Volume Down, then did factory reset + clear cache + clear Dalvik cache before installing CM and Gapps.


I think it also came with some major headaches trying to get that firmware off of the phone afterwards..... I myself had thought of trying that at one point.