Closed e1voronov closed 5 years ago
I have absolutely the same issue.
You've very likely not installed the headers of our kernel, which are adding those definitions.
Same problem for me. But i have linux-cedrus headers installed. How else can I fix this error?
Yes, I am have linux-cedrus headers installed to. But get the same error.
Same problem for me - and I do have the headers installed. Did we ever find a resolution for this?
This repository hasn't been updated for the latest kernel sources. I'm using on of pH5's branches: https://github.com/pH5/libva-v4l2-request/tree/multi-context
This repository hasn't been updated for the latest kernel sources. I'm using on of pH5's branches: https://github.com/pH5/libva-v4l2-request/tree/multi-context
Tried both pH5 and bootlin, but the problem stays the same:
config.c: In function 'RequestQueryConfigProfiles':
config.c:123:6: error: 'V4L2_PIX_FMT_MPEG2_SLICE' undeclared (first use in this function); did you mean 'V4L2_PIX_FMT_HEVC_SLICE'?
V4L2_PIX_FMT_MPEG2_SLICE);
^~~~~~~~~~~~~~~~~~~~~~~~
V4L2_PIX_FMT_HEVC_SLICE
config.c:123:6: note: each undeclared identifier is reported only once for each function it appears in
Makefile:601: recipe for target 'v4l2_request_drv_video_la-config.lo' failed
You've very likely not installed the headers of our kernel, which are adding those definitions.
I am using odroid's ubuntu kernel (linux-image-xu3 aka linux-image-4.14.111-139) for which there is no ready kernel header ubuntu package, so I cloned the headers using git:
git clone --depth 1 https://github.com/hardkernel/linux -b odroidxu4-4.14.y
and created links
ln -s /root/linux /lib/modules/$(uname -r)/build/include/linux
ln -s /root/linux /usr/src/linux-headers-$(uname -r)/include/linux
Still getting the same error.
Could you please help to resolve compilation issue. Thank you!