I'm getting this error when I both attempt to install the .deb file or compile from source:
/solo6x10.git/trunk/solo6x10-v4l2.c: In function ‘solo_disp_queryctrl’:
/solo6x10.git/trunk/solo6x10-v4l2.c:731:11: error: implicit declaration of function ‘v4l2_ctrl_next’ [-Werror=implicit-function-declaration]
qc->id = v4l2_ctrl_next(solo_ctrl_classes, qc->id);
^
/solo6x10.git/trunk/solo6x10-v4l2.c: At top level:
/solo6x10.git/trunk/solo6x10-v4l2.c:802:2: error: unknown field ‘ioctl’ specified in initializer
.ioctl = video_ioctl2,
^
/solo6x10.git/trunk/solo6x10-v4l2.c:802:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.ioctl = video_ioctl2,
^
/solo6x10.git/trunk/solo6x10-v4l2.c:802:13: note: (near initialization for ‘solo_v4l2_fops.open’)
cc1: some warnings being treated as errors
gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
I'm getting this error when I both attempt to install the .deb file or compile from source:
/solo6x10.git/trunk/solo6x10-v4l2.c: In function ‘solo_disp_queryctrl’:
/solo6x10.git/trunk/solo6x10-v4l2.c:731:11: error: implicit declaration of function ‘v4l2_ctrl_next’ [-Werror=implicit-function-declaration]
qc->id = v4l2_ctrl_next(solo_ctrl_classes, qc->id);
^
/solo6x10.git/trunk/solo6x10-v4l2.c: At top level:
/solo6x10.git/trunk/solo6x10-v4l2.c:802:2: error: unknown field ‘ioctl’ specified in initializer
.ioctl = video_ioctl2,
^
/solo6x10.git/trunk/solo6x10-v4l2.c:802:13: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.ioctl = video_ioctl2,
^
/solo6x10.git/trunk/solo6x10-v4l2.c:802:13: note: (near initialization for ‘solo_v4l2_fops.open’)
cc1: some warnings being treated as errors
gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609