[Android Q&A, Help & Troubleshooting] awidawad:
PLEASE Help

I'm trying to compile AGAIN for the same device. I fixed the previous errors, but now I get new ones. Here they are:

In file included from hardware/qcom/media/mm-video/vidc/vdec/inc/omx_vdec.h:125:0,
from hardware/qcom/media/mm-video/vidc/vdec/src/frameparser.cpp:46:
hardware/qcom/media/mm-video/vidc/common/inc/extra_data_handler.h:51:0: warning: "DEBUG_PRINT_HIGH" redefined [enabled by default]
hardware/qcom/media/mm-video/vidc/vdec/inc/omx_vdec.h:80:0: note: this is the location of the previous definition
In file included from hardware/qcom/media/mm-video/vidc/vdec/src/frameparser.cpp:28:0:
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/vdec/inc/omx_vdec.h:119:0,
from hardware/qcom/media/mm-video/vidc/vdec/src/frameparser.cpp:46:
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h: At global scope:
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:85:7: error: variable or field '__user' declared void
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:85:7: error: expected ';' at end of member declaration
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:85:15: error: ISO C++ forbids declaration of 'in' with no type [-fpermissive]
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:86:7: error: variable or field '__user' declared void
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:86:7: error: expected ';' at end of member declaration
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:86:15: error: ISO C++ forbids declaration of 'out' with no type [-fpermissive]
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:236:7: error: variable or field '__user' declared void
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:236:7: error: expected ';' at end of member declaration
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:236:15: error: ISO C++ forbids declaration of 'bufferaddr' with no type [-fpermissive]
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:486:7: error: variable or field '__user' declared void
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:486:7: error: expected ';' at end of member declaration
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:486:15: error: ISO C++ forbids declaration of 'ptr_seqheader' with no type [-fpermissive]
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:493:7: error: variable or field '__user' declared void
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:493:7: error: expected ';' at end of member declaration
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:493:15: error: ISO C++ forbids declaration of 'ptr_errormap' with no type [-fpermissive]
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:498:7: error: variable or field '__user' declared void
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:498:7: error: expected ';' at end of member declaration
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:498:15: error: ISO C++ forbids declaration of 'bufferaddr' with no type [-fpermissive]
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:506:7: error: variable or field '__user' declared void
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:506:7: error: expected ';' at end of member declaration
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:506:15: error: ISO C++ forbids declaration of 'desc_addr' with no type [-fpermissive]
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:524:7: error: variable or field '__user' declared void
device/htc/msm7x30-common/include/linux/msm_vidc_dec.h:524:7: error: expected ';' at end of member declaration
device/htc/msm7x30-common/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/inc/omx_vdec.h:125,
from hardware/qcom/media/mm-video/vidc/vdec/src/frameparser.cpp:46:
device/htc/msm7x30-common/include/linux/msm_vidc_enc.h:169:7: error: variable or field '__user' declared void
device/htc/msm7x30-common/include/linux/msm_vidc_enc.h:169:7: error: expected ';' at end of member declaration
device/htc/msm7x30-common/include/linux/msm_vidc_enc.h:169:15: error: ISO C++ forbids declaration of 'in' with no type [-fpermissive]
device/htc/msm7x30-common/include/linux/msm_vidc_enc.h:170:7: error: variable or field '__user' declared void
device/htc/msm7x30-common/include/linux/msm_vidc_enc.h:170:7: error: expected ';' at end of member declaration
device/htc/msm7x30-common/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/inc/frameparser.h: In constructor 'frame_parse::frame_parse()':
hardware/qcom/media/mm-video/vidc/vdec/inc/frameparser.h:99:17: warning: 'frame_parse::bytes_tobeparsed' will be initialized after [-Wreorder]
hardware/qcom/media/mm-video/vidc/vdec/inc/frameparser.h:72:14: warning: 'H264_Utils* frame_parse::mutils' [-Wreorder]
hardware/qcom/media/mm-video/vidc/vdec/src/frameparser.cpp:69:1: warning: when initialized here [-Wreorder]
hardware/qcom/media/mm-video/vidc/vdec/src/frameparser.cpp: In member function 'int frame_parse::parse_sc_frame(OMX_BUFFERHEADERTYPE*, OMX_BUFFERHEADERTYPE*, OMX_U32*)':
hardware/qcom/media/mm-video/vidc/vdec/src/frameparser.cpp:208:16: warning: enumeration value 'A5' not handled in switch [-Wswitch]
hardware/qcom/media/mm-video/vidc/vdec/src/frameparser.cpp:358:14: warning: enumeration value 'A4' not handled in switch [-Wswitch]
hardware/qcom/media/mm-video/vidc/vdec/src/frameparser.cpp:358:14: warning: enumeration value 'A5' not handled in switch [-Wswitch]
make: *** [/home/austin/CM-10.1_K-3.4.y/out/target/product/primoc/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/frameparser.o] Error 1
make: *** Waiting for unfinished jobs....
austin@awidawad-workstation-2:~/CM-10.1_K-3.4.y$

[MENTION=4445428]speed_bot[/MENTION] or someone else any help is highly appreciated thanks! :cool: