• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Building CM12: Work in Progress. Join In!


Status Report:
Thanks to @Bad_MOFO_33's suggestion (where do you find this stuff?), we got slightly closer to a real bootable build.
  • The zip file now contains the entire /system partition as files and folders instead of just an image file.
  • TWRP is able to flash the file without issue as well, and I can see that the entire system partition was flashed properly.
  • Additionally, adb now loads properly and I am finally able to capture a logcat of the boot process :)

However, the phone still won't boot past the splash screen :(

I am including a link to the logcat info here: http://pastebin.com/R2gn8cmv.

I haven't had time to really look into the issues, but there seem to be a lot of errors at boot.

If anyone gets a chance, please take a look at the logcat. I will do so myself when I get a few more minutes...

I appreciate all the help from this great community so far.
Thanks all!

(p.s. if there's a better way for me to post my logcats, please let me know :))
 
Hello guys, facing a error that you have faced it.. But how did you solve? Here's error:

Code:
target thumb C++: libqdutils <= hardware/qcom/display-caf/msm8226/libqdutils/cb_swap_rect.cpp
target thumb C++: libqservice <= hardware/qcom/display-caf/msm8226/libqservice/QService.cpp
5 warnings generated.
4 warnings generated.
target thumb C++: libqservice <= hardware/qcom/display-caf/msm8226/libqservice/IQService.cpp
target thumb C++: libqservice <= hardware/qcom/display-caf/msm8226/libqservice/IQClient.cpp
In file included from hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.h:32:0,
                 from hardware/qcom/display-caf/msm8226/libqdutils/cb_utils.h:33,
                 from hardware/qcom/display-caf/msm8226/libqdutils/cb_utils.cpp:28:
hardware/qcom/display-caf/msm8226/liboverlay/overlayUtils.h:274:30: error: 'MDP_SMP_FORCE_ALLOC' was not declared in this scope
     OV_MDP_SMP_FORCE_ALLOC = MDP_SMP_FORCE_ALLOC,
                              ^
5 warnings generated.
target thumb C: tc <= external/iproute2/tc/tc.c
make: *** [/home/parth/cm12/out/target/product/armani/obj/SHARED_LIBRARIES/libqdutils_intermediates/cb_utils.o] Error 1
make: *** Waiting for unfinished jobs....
6 warnings generated.
3 warnings generated.
5 warnings generated.
20 warnings generated.
parth@dynamix:~/
 
Hows the project going? Any Updates? Is it bootable yet?
What do you mean by bootable? Do you mean, can you actually use it? Then yes. I've between using it for a week. calls and text work on 3g, most everything else is working too. I'd say it feels about 90% complete! Good work so far, devs. Hope to see a fix for the led notification light!
 
What do you mean by bootable? Do you mean, canasn't you actually use it? Then yes. I've between using it for a week. calls and text work on 3g, most everything else is working too. I'd say it feels about 90% complete! Good work so far, devs. Hope to see a fix for the led notification light!
I recall reading a post where someone said the build wouldn't go past the boot logo. Would you mind sharing a link I'll be a guinea pig. Another question with this being CM12 does is it run off of KK or the new L.
 
What do you mean by bootable? Do you mean, can you actually use it? Then yes. I've between using it for a week. calls and text work on 3g, most everything else is working too. I'd say it feels about 90% complete! Good work so far, devs. Hope to see a fix for the led notification light!
Cm12 doesn't boot. You're talking about cm11.
 
Hi everyone. I'm sorry but I'm getting swamped in school work and really haven't had enough time to dedicate to this project.
I still haven't given up hope of getting this up and running but for now, as I reported, the Volt won't boot past the Cyanogenmod boot screen on my latest builds.

The logcat is still available at http://pastebin.com/R2gn8cmv if anyone wants to take a look and make suggestions, but until I have more time, I won't be able to contribute so much and so frequently to CM12 :(.

I welcome anyone who wants to see this project completed faster to pick up from where I left off (This isn't a competition for me, I just want to see CM12 running on my phone already :)

Thanks for bearing with me and good luck to all!
 
Hello guys, facing a error that you have faced it.. But how did you solve? Here's error:

Code:
target thumb C++: libqdutils <= hardware/qcom/display-caf/msm8226/libqdutils/cb_swap_rect.cpp
target thumb C++: libqservice <= hardware/qcom/display-caf/msm8226/libqservice/QService.cpp
5 warnings generated.
4 warnings generated.
target thumb C++: libqservice <= hardware/qcom/display-caf/msm8226/libqservice/IQService.cpp
target thumb C++: libqservice <= hardware/qcom/display-caf/msm8226/libqservice/IQClient.cpp
In file included from hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.h:32:0,
                 from hardware/qcom/display-caf/msm8226/libqdutils/cb_utils.h:33,
                 from hardware/qcom/display-caf/msm8226/libqdutils/cb_utils.cpp:28:
hardware/qcom/display-caf/msm8226/liboverlay/overlayUtils.h:274:30: error: 'MDP_SMP_FORCE_ALLOC' was not declared in this scope
     OV_MDP_SMP_FORCE_ALLOC = MDP_SMP_FORCE_ALLOC,
                              ^
5 warnings generated.
target thumb C: tc <= external/iproute2/tc/tc.c
make: *** [/home/parth/cm12/out/target/product/armani/obj/SHARED_LIBRARIES/libqdutils_intermediates/cb_utils.o] Error 1
make: *** Waiting for unfinished jobs....
6 warnings generated.
3 warnings generated.
5 warnings generated.
20 warnings generated.
parth@dynamix:~/

Good to see someone trying to build this too! :)

The way I got around this (for now - open to suggestions) was to comment-out the line.
This involves opening up the file located at /home/parth/cm12/hardware/qcom/display-caf/msm8226/liboverlay/overlayUtils.h, scrolling to line 274, and adding two backslashes "//" to the beginning of the line.
Good Luck!
 
im joining your fight, gonna try to help get cm12 up and running

Edit: hopefully lol, compiling now. Modded quarx2ks device and vendor trees, using bad_mofo's kernel with cherry picks from quarxs to see what happens

Edit 2: didn't bad mofo have a booting lollipop build before?
 
Last edited:
EDIT: Getting this:
Code:
target thumb C++: libOmxVdec <= hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_fbupdate.cpp: In member function 'bool qhwc::FBUpdateNonSplit::configure(hwc_context_t*, hwc_display_contents_1*, int)':
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_fbupdate.cpp:157:17: error: 'OV_MDP_SMP_FORCE_ALLOC' is not a member of 'qhwc::ovutils'
                 ovutils::OV_MDP_SMP_FORCE_ALLOC);
                 ^
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_fbupdate.cpp: In member function 'bool qhwc::FBUpdateSplit::configure(hwc_context_t*, hwc_display_contents_1*, int)':
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_fbupdate.cpp:305:17: error: 'OV_MDP_SMP_FORCE_ALLOC' is not a member of 'qhwc::ovutils'
                 ovutils::OV_MDP_SMP_FORCE_ALLOC);
                 ^
make: *** [/home/parth/cm12/out/target/product/armani/obj/SHARED_LIBRARIES/hwcomposer.msm8226_intermediates/hwc_fbupdate.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: libOmxVdec <= hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/../common/src/extra_data_handler.cpp
target thumb C++: libOmxVdec <= hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/../common/src/vidc_color_converter.cpp
In file included from hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:47:0:
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_virtual.h:89:18: warning: unused parameter 'ctx' [-Wunused-parameter]
     virtual void init(hwc_context_t *ctx) {};
                  ^
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:1111:6: warning: unused parameter 'ctx' [-Wunused-parameter]
void optimizeLayerRects(hwc_context_t *ctx,
      ^
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:1111:6: warning: unused parameter 'dpy' [-Wunused-parameter]
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp: In function 'void qhwc::setMdpFlags(hwc_layer_1_t*, overlay::utils::eMdpFlags&, int, int)':
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:1398:17: error: 'OV_MDP_SMP_FORCE_ALLOC' is not a member of 'qhwc::ovutils'
                 ovutils::OV_MDP_SMP_FORCE_ALLOC);
                 ^
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:1403:17: error: 'OV_MDP_SMP_FORCE_ALLOC' is not a member of 'qhwc::ovutils'
                 ovutils::OV_MDP_SMP_FORCE_ALLOC);
                 ^
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp: At global scope:
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:2070:6: warning: unused parameter 'ctx' [-Wunused-parameter]
void BwcPM::setBwc(hwc_context_t *ctx, const hwc_rect_t& crop,
      ^
make: *** [/home/parth/cm12/out/target/product/armani/obj/SHARED_LIBRARIES/hwcomposer.msm8226_intermediates/hwc_utils.o] Error 1
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/../common/src/extra_data_handler.cpp:100:9: warning: unused parameter 'payload_size' [-Wunused-parameter]
OMX_U32 extra_data_handler::parse_frame_pack(OMX_U32 payload_size)
         ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/../common/src/extra_data_handler.cpp:238:9: warning: unused parameter 'pBufHdr' [-Wunused-parameter]
OMX_S32 extra_data_handler::parse_ltrinfo(
         ^
In file included from bionic/libc/include/pthread.h:33:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
bionic/libc/include/signal.h:64:0: warning: "NSIG" redefined [enabled by default]
#define NSIG _NSIG
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/signal.h:4:0,
                 from bionic/libc/include/signal.h:50,
                 from bionic/libc/include/pthread.h:33,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/asm/signal.h:11:0: note: this is the location of the previous definition
#define NSIG  32
^
In file included from bionic/libc/include/pthread.h:33:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
bionic/libc/include/signal.h:67:0: warning: "SIGRTMIN" redefined [enabled by default]
#define SIGRTMIN (__libc_current_sigrtmin())
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/signal.h:4:0,
                 from bionic/libc/include/signal.h:50,
                 from bionic/libc/include/pthread.h:33,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/asm/signal.h:54:0: note: this is the location of the previous definition
#define SIGRTMIN 32
^
In file included from bionic/libc/include/pthread.h:33:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
bionic/libc/include/signal.h:68:0: warning: "SIGRTMAX" redefined [enabled by default]
#define SIGRTMAX (__libc_current_sigrtmax())
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/signal.h:4:0,
                 from bionic/libc/include/signal.h:50,
                 from bionic/libc/include/pthread.h:33,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/asm/signal.h:55:0: note: this is the location of the previous definition
#define SIGRTMAX _NSIG
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:40:0: warning: "FD_SETSIZE" redefined [enabled by default]
#define FD_SETSIZE 1024
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:28:0: note: this is the location of the previous definition
#define FD_SETSIZE  __FD_SETSIZE
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:41:0: warning: "NFDBITS" redefined [enabled by default]
#define NFDBITS (8 * sizeof(unsigned long))
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:26:0: note: this is the location of the previous definition
#define NFDBITS   __NFDBITS
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:42:0: warning: "__FDSET_LONGS" redefined [enabled by default]
#define __FDSET_LONGS (FD_SETSIZE/NFDBITS)
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/types.h:8:0,
                 from bionic/libc/include/sys/types.h:35,
                 from bionic/libc/include/sys/time.h:32,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/posix_types.h:28:0: note: this is the location of the previous definition
#define __FDSET_LONGS (__FD_SETSIZE/__NFDBITS)
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:48:0: warning: "__FDELT" redefined [enabled by default]
#define __FDELT(fd) ((fd) / NFDBITS)
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/types.h:8:0,
                 from bionic/libc/include/sys/types.h:35,
                 from bionic/libc/include/sys/time.h:32,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/posix_types.h:31:0: note: this is the location of the previous definition
#define __FDELT(d) ((d) / __NFDBITS)
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:49:0: warning: "__FDMASK" redefined [enabled by default]
#define __FDMASK(fd) (1UL << ((fd) % NFDBITS))
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/types.h:8:0,
                 from bionic/libc/include/sys/types.h:35,
                 from bionic/libc/include/sys/time.h:32,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/posix_types.h:34:0: note: this is the location of the previous definition
#define __FDMASK(d) (1UL << ((d) % __NFDBITS))
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:52:0: warning: "FD_ZERO" redefined [enabled by default]
#define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set))))
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:32:0: note: this is the location of the previous definition
#define FD_ZERO(fdsetp)  __FD_ZERO(fdsetp)
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:58:0: warning: "FD_CLR" redefined [enabled by default]
#define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set))
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:30:0: note: this is the location of the previous definition
#define FD_CLR(fd,fdsetp) __FD_CLR(fd,fdsetp)
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:59:0: warning: "FD_SET" redefined [enabled by default]
#define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set))
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:29:0: note: this is the location of the previous definition
#define FD_SET(fd,fdsetp) __FD_SET(fd,fdsetp)
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:60:0: warning: "FD_ISSET" redefined [enabled by default]
#define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set))
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:31:0: note: this is the location of the previous definition
#define FD_ISSET(fd,fdsetp) __FD_ISSET(fd,fdsetp)
^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:483:1: warning: unused parameter 'devicefd' [-Wunused-parameter]
VideoHeap::VideoHeap(int devicefd, size_t size, void* base,
^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:483:1: warning: unused parameter 'size' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:483:1: warning: unused parameter 'base' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:483:1: warning: unused parameter 'handle' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:483:1: warning: unused parameter 'ionMapfd' [-Wunused-parameter]
In file included from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:51:0:
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/inc/omx_vdec.h: In constructor 'omx_vdec::omx_vdec()':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/inc/omx_vdec.h:926:34: warning: 'omx_vdec::m_other_extradata' will be initialized after [-Wreorder]
         OMX_OTHER_EXTRADATATYPE *m_other_extradata;
                                  ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/inc/omx_vdec.h:886:14: warning:   'bool omx_vdec::m_enable_android_native_buffers' [-Wreorder]
         bool m_enable_android_native_buffers;
              ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:509:1: warning:   when initialized here [-Wreorder]
omx_vdec::omx_vdec(): m_error_propogated(false),
^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In static member function 'static void omx_vdec::process_event_cb(void*, unsigned char)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:1227:79: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                                             if (pThis->m_smoothstreaming_mode &&
                                                                               ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: At global scope:
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:1973:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::get_component_version
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:1973:16: warning: unused parameter 'componentName' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:1973:16: warning: unused parameter 'componentVersion' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:1973:16: warning: unused parameter 'componentUUID' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:2006:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::send_command(OMX_IN OMX_HANDLETYPE hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:2006:16: warning: unused parameter 'cmdData' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:2044:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::send_command_proxy(OMX_IN OMX_HANDLETYPE hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:2044:16: warning: unused parameter 'cmdData' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:2797:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::get_parameter(OMX_IN OMX_HANDLETYPE     hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'virtual OMX_ERRORTYPE omx_vdec::set_parameter(OMX_HANDLETYPE, OMX_INDEXTYPE, OMX_PTR)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:3135:108: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                            if ((portDefn->format.video.nFrameHeight != (int)fmt.fmt.pix_mp.height) ||
                                                                                                            ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:3136:107: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                                (portDefn->format.video.nFrameWidth != (int)fmt.fmt.pix_mp.width)) {
                                                                                                           ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: At global scope:
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:3837:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::get_config(OMX_IN OMX_HANDLETYPE      hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:3923:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::set_config(OMX_IN OMX_HANDLETYPE      hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4149:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::get_extension_index(OMX_IN OMX_HANDLETYPE      hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4211:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::get_state(OMX_IN OMX_HANDLETYPE  hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4233:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::component_tunnel_request(OMX_IN OMX_HANDLETYPE                hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4233:16: warning: unused parameter 'port' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4233:16: warning: unused parameter 'peerComponent' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4233:16: warning: unused parameter 'peerPort' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4233:16: warning: unused parameter 'tunnelSetup' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'OMX_ERRORTYPE omx_vdec::use_output_buffer(OMX_HANDLETYPE, OMX_BUFFERHEADERTYPE**, OMX_U32, OMX_PTR, OMX_U32, OMX_U8*)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4360:79: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
             if (rr = ioctl(drv_ctx.video_driver_fd, VIDIOC_STREAMON,&buf_type)) {
                                                                               ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: At global scope:
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4314:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::use_output_buffer(
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4314:16: warning: unused parameter 'port' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4912:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::allocate_input_buffer(
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4912:16: warning: unused parameter 'port' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:5100:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::allocate_output_buffer(
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:5100:16: warning: unused parameter 'port' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:5500:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::free_buffer(OMX_IN OMX_HANDLETYPE         hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:5743:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::empty_this_buffer_proxy(OMX_IN OMX_HANDLETYPE         hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:6203:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::set_callbacks(OMX_IN OMX_HANDLETYPE        hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:6229:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::component_deinit(OMX_IN OMX_HANDLETYPE hComp)
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:6343:16: warning: unused parameter 'appData' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::use_EGL_image(OMX_IN OMX_HANDLETYPE                hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:6419:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::component_role_enum(OMX_IN OMX_HANDLETYPE hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'OMX_ERRORTYPE omx_vdec::get_buffer_req(vdec_allocatorproperty*)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:8062:53: error: 'VENUS_EXTRADATA_SIZE' was not declared in this scope
                 drv_ctx.video_resolution.frame_width);
                                                     ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'void omx_vdec::handle_extradata(OMX_BUFFERHEADERTYPE*)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:8562:108: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (!secure_mode && (drv_ctx.extradata_info.buffer_size > (p_buf_hdr->nAllocLen - p_buf_hdr->nFilledLen)) ) {
                                                                                                            ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'void omx_vdec::buf_ref_add(OMX_U32, OMX_U32)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:9762:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < drv_ctx.op_buf.actualcount; i++) {
                                    ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:9775:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < drv_ctx.op_buf.actualcount; i++) {
                                        ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'void omx_vdec::buf_ref_remove(OMX_U32, OMX_U32)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:9795:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < drv_ctx.op_buf.actualcount; i++) {
                                    ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:9812:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (i  >= drv_ctx.op_buf.actualcount) {
                              ^
make: *** [/home/parth/cm12/out/target/product/armani/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec_msm8974.o] Error 1
make: *** wait: No child processes.  Stop.
parth@dynamix:~/cm12$
 
Last edited:
EDIT: Getting this:
Code:
target thumb C++: libOmxVdec <= hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_fbupdate.cpp: In member function 'bool qhwc::FBUpdateNonSplit::configure(hwc_context_t*, hwc_display_contents_1*, int)':
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_fbupdate.cpp:157:17: error: 'OV_MDP_SMP_FORCE_ALLOC' is not a member of 'qhwc::ovutils'
                 ovutils::OV_MDP_SMP_FORCE_ALLOC);
                 ^
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_fbupdate.cpp: In member function 'bool qhwc::FBUpdateSplit::configure(hwc_context_t*, hwc_display_contents_1*, int)':
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_fbupdate.cpp:305:17: error: 'OV_MDP_SMP_FORCE_ALLOC' is not a member of 'qhwc::ovutils'
                 ovutils::OV_MDP_SMP_FORCE_ALLOC);
                 ^
make: *** [/home/parth/cm12/out/target/product/armani/obj/SHARED_LIBRARIES/hwcomposer.msm8226_intermediates/hwc_fbupdate.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: libOmxVdec <= hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/../common/src/extra_data_handler.cpp
target thumb C++: libOmxVdec <= hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/../common/src/vidc_color_converter.cpp
In file included from hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:47:0:
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_virtual.h:89:18: warning: unused parameter 'ctx' [-Wunused-parameter]
     virtual void init(hwc_context_t *ctx) {};
                  ^
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:1111:6: warning: unused parameter 'ctx' [-Wunused-parameter]
void optimizeLayerRects(hwc_context_t *ctx,
      ^
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:1111:6: warning: unused parameter 'dpy' [-Wunused-parameter]
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp: In function 'void qhwc::setMdpFlags(hwc_layer_1_t*, overlay::utils::eMdpFlags&, int, int)':
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:1398:17: error: 'OV_MDP_SMP_FORCE_ALLOC' is not a member of 'qhwc::ovutils'
                 ovutils::OV_MDP_SMP_FORCE_ALLOC);
                 ^
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:1403:17: error: 'OV_MDP_SMP_FORCE_ALLOC' is not a member of 'qhwc::ovutils'
                 ovutils::OV_MDP_SMP_FORCE_ALLOC);
                 ^
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp: At global scope:
hardware/qcom/display-caf/msm8226/libhwcomposer/hwc_utils.cpp:2070:6: warning: unused parameter 'ctx' [-Wunused-parameter]
void BwcPM::setBwc(hwc_context_t *ctx, const hwc_rect_t& crop,
      ^
make: *** [/home/parth/cm12/out/target/product/armani/obj/SHARED_LIBRARIES/hwcomposer.msm8226_intermediates/hwc_utils.o] Error 1
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/../common/src/extra_data_handler.cpp:100:9: warning: unused parameter 'payload_size' [-Wunused-parameter]
OMX_U32 extra_data_handler::parse_frame_pack(OMX_U32 payload_size)
         ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/../common/src/extra_data_handler.cpp:238:9: warning: unused parameter 'pBufHdr' [-Wunused-parameter]
OMX_S32 extra_data_handler::parse_ltrinfo(
         ^
In file included from bionic/libc/include/pthread.h:33:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
bionic/libc/include/signal.h:64:0: warning: "NSIG" redefined [enabled by default]
#define NSIG _NSIG
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/signal.h:4:0,
                 from bionic/libc/include/signal.h:50,
                 from bionic/libc/include/pthread.h:33,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/asm/signal.h:11:0: note: this is the location of the previous definition
#define NSIG  32
^
In file included from bionic/libc/include/pthread.h:33:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
bionic/libc/include/signal.h:67:0: warning: "SIGRTMIN" redefined [enabled by default]
#define SIGRTMIN (__libc_current_sigrtmin())
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/signal.h:4:0,
                 from bionic/libc/include/signal.h:50,
                 from bionic/libc/include/pthread.h:33,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/asm/signal.h:54:0: note: this is the location of the previous definition
#define SIGRTMIN 32
^
In file included from bionic/libc/include/pthread.h:33:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
bionic/libc/include/signal.h:68:0: warning: "SIGRTMAX" redefined [enabled by default]
#define SIGRTMAX (__libc_current_sigrtmax())
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/signal.h:4:0,
                 from bionic/libc/include/signal.h:50,
                 from bionic/libc/include/pthread.h:33,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/asm/signal.h:55:0: note: this is the location of the previous definition
#define SIGRTMAX _NSIG
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:40:0: warning: "FD_SETSIZE" redefined [enabled by default]
#define FD_SETSIZE 1024
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:28:0: note: this is the location of the previous definition
#define FD_SETSIZE  __FD_SETSIZE
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:41:0: warning: "NFDBITS" redefined [enabled by default]
#define NFDBITS (8 * sizeof(unsigned long))
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:26:0: note: this is the location of the previous definition
#define NFDBITS   __NFDBITS
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:42:0: warning: "__FDSET_LONGS" redefined [enabled by default]
#define __FDSET_LONGS (FD_SETSIZE/NFDBITS)
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/types.h:8:0,
                 from bionic/libc/include/sys/types.h:35,
                 from bionic/libc/include/sys/time.h:32,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/posix_types.h:28:0: note: this is the location of the previous definition
#define __FDSET_LONGS (__FD_SETSIZE/__NFDBITS)
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:48:0: warning: "__FDELT" redefined [enabled by default]
#define __FDELT(fd) ((fd) / NFDBITS)
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/types.h:8:0,
                 from bionic/libc/include/sys/types.h:35,
                 from bionic/libc/include/sys/time.h:32,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/posix_types.h:31:0: note: this is the location of the previous definition
#define __FDELT(d) ((d) / __NFDBITS)
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:49:0: warning: "__FDMASK" redefined [enabled by default]
#define __FDMASK(fd) (1UL << ((fd) % NFDBITS))
^
In file included from out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/types.h:8:0,
                 from bionic/libc/include/sys/types.h:35,
                 from bionic/libc/include/sys/time.h:32,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/posix_types.h:34:0: note: this is the location of the previous definition
#define __FDMASK(d) (1UL << ((d) % __NFDBITS))
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:52:0: warning: "FD_ZERO" redefined [enabled by default]
#define FD_ZERO(set) (memset(set, 0, sizeof(*(fd_set*)(set))))
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:32:0: note: this is the location of the previous definition
#define FD_ZERO(fdsetp)  __FD_ZERO(fdsetp)
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:58:0: warning: "FD_CLR" redefined [enabled by default]
#define FD_CLR(fd, set) __FD_CLR_chk(fd, set, __bos(set))
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:30:0: note: this is the location of the previous definition
#define FD_CLR(fd,fdsetp) __FD_CLR(fd,fdsetp)
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:59:0: warning: "FD_SET" redefined [enabled by default]
#define FD_SET(fd, set) __FD_SET_chk(fd, set, __bos(set))
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:29:0: note: this is the location of the previous definition
#define FD_SET(fd,fdsetp) __FD_SET(fd,fdsetp)
^
In file included from bionic/libc/include/unistd.h:34:0,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:49:
bionic/libc/include/sys/select.h:60:0: warning: "FD_ISSET" redefined [enabled by default]
#define FD_ISSET(fd, set) __FD_ISSET_chk(fd, set, __bos(set))
^
In file included from bionic/libc/include/sys/time.h:33:0,
                 from bionic/libc/include/time.h:33,
                 from bionic/libc/include/pthread.h:32,
                 from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:46:
out/target/product/armani/obj/KERNEL_OBJ/usr/include/linux/time.h:31:0: note: this is the location of the previous definition
#define FD_ISSET(fd,fdsetp) __FD_ISSET(fd,fdsetp)
^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:483:1: warning: unused parameter 'devicefd' [-Wunused-parameter]
VideoHeap::VideoHeap(int devicefd, size_t size, void* base,
^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:483:1: warning: unused parameter 'size' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:483:1: warning: unused parameter 'base' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:483:1: warning: unused parameter 'handle' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:483:1: warning: unused parameter 'ionMapfd' [-Wunused-parameter]
In file included from hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:51:0:
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/inc/omx_vdec.h: In constructor 'omx_vdec::omx_vdec()':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/inc/omx_vdec.h:926:34: warning: 'omx_vdec::m_other_extradata' will be initialized after [-Wreorder]
         OMX_OTHER_EXTRADATATYPE *m_other_extradata;
                                  ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/inc/omx_vdec.h:886:14: warning:   'bool omx_vdec::m_enable_android_native_buffers' [-Wreorder]
         bool m_enable_android_native_buffers;
              ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:509:1: warning:   when initialized here [-Wreorder]
omx_vdec::omx_vdec(): m_error_propogated(false),
^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In static member function 'static void omx_vdec::process_event_cb(void*, unsigned char)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:1227:79: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                                             if (pThis->m_smoothstreaming_mode &&
                                                                               ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: At global scope:
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:1973:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::get_component_version
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:1973:16: warning: unused parameter 'componentName' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:1973:16: warning: unused parameter 'componentVersion' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:1973:16: warning: unused parameter 'componentUUID' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:2006:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::send_command(OMX_IN OMX_HANDLETYPE hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:2006:16: warning: unused parameter 'cmdData' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:2044:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::send_command_proxy(OMX_IN OMX_HANDLETYPE hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:2044:16: warning: unused parameter 'cmdData' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:2797:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::get_parameter(OMX_IN OMX_HANDLETYPE     hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'virtual OMX_ERRORTYPE omx_vdec::set_parameter(OMX_HANDLETYPE, OMX_INDEXTYPE, OMX_PTR)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:3135:108: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                            if ((portDefn->format.video.nFrameHeight != (int)fmt.fmt.pix_mp.height) ||
                                                                                                            ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:3136:107: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                                                (portDefn->format.video.nFrameWidth != (int)fmt.fmt.pix_mp.width)) {
                                                                                                           ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: At global scope:
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:3837:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::get_config(OMX_IN OMX_HANDLETYPE      hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:3923:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::set_config(OMX_IN OMX_HANDLETYPE      hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4149:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::get_extension_index(OMX_IN OMX_HANDLETYPE      hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4211:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::get_state(OMX_IN OMX_HANDLETYPE  hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4233:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::component_tunnel_request(OMX_IN OMX_HANDLETYPE                hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4233:16: warning: unused parameter 'port' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4233:16: warning: unused parameter 'peerComponent' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4233:16: warning: unused parameter 'peerPort' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4233:16: warning: unused parameter 'tunnelSetup' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'OMX_ERRORTYPE omx_vdec::use_output_buffer(OMX_HANDLETYPE, OMX_BUFFERHEADERTYPE**, OMX_U32, OMX_PTR, OMX_U32, OMX_U8*)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4360:79: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
             if (rr = ioctl(drv_ctx.video_driver_fd, VIDIOC_STREAMON,&buf_type)) {
                                                                               ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: At global scope:
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4314:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::use_output_buffer(
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4314:16: warning: unused parameter 'port' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4912:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::allocate_input_buffer(
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:4912:16: warning: unused parameter 'port' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:5100:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::allocate_output_buffer(
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:5100:16: warning: unused parameter 'port' [-Wunused-parameter]
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:5500:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::free_buffer(OMX_IN OMX_HANDLETYPE         hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:5743:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::empty_this_buffer_proxy(OMX_IN OMX_HANDLETYPE         hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:6203:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::set_callbacks(OMX_IN OMX_HANDLETYPE        hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:6229:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::component_deinit(OMX_IN OMX_HANDLETYPE hComp)
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:6343:16: warning: unused parameter 'appData' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::use_EGL_image(OMX_IN OMX_HANDLETYPE                hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:6419:16: warning: unused parameter 'hComp' [-Wunused-parameter]
OMX_ERRORTYPE  omx_vdec::component_role_enum(OMX_IN OMX_HANDLETYPE hComp,
                ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'OMX_ERRORTYPE omx_vdec::get_buffer_req(vdec_allocatorproperty*)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:8062:53: error: 'VENUS_EXTRADATA_SIZE' was not declared in this scope
                 drv_ctx.video_resolution.frame_width);
                                                     ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'void omx_vdec::handle_extradata(OMX_BUFFERHEADERTYPE*)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:8562:108: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (!secure_mode && (drv_ctx.extradata_info.buffer_size > (p_buf_hdr->nAllocLen - p_buf_hdr->nFilledLen)) ) {
                                                                                                            ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'void omx_vdec::buf_ref_add(OMX_U32, OMX_U32)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:9762:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < drv_ctx.op_buf.actualcount; i++) {
                                    ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:9775:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < drv_ctx.op_buf.actualcount; i++) {
                                        ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp: In member function 'void omx_vdec::buf_ref_remove(OMX_U32, OMX_U32)':
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:9795:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i = 0; i < drv_ctx.op_buf.actualcount; i++) {
                                    ^
hardware/qcom/media-caf/msm8226/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp:9812:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (i  >= drv_ctx.op_buf.actualcount) {
                              ^
make: *** [/home/parth/cm12/out/target/product/armani/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec_msm8974.o] Error 1
make: *** wait: No child processes.  Stop.
parth@dynamix:~/cm12$
compiling now, see if i error out too.
what kernel are you using? and also post a pastebin of ur boardconfig as with cm12 i dont think its neccessary to use caf or caf-new variants as it defaults to caf.
anyway gonna let this build and watch a movie, will check in a little later
 
Back
Top Bottom