This is the contents of make.log:
DKMS make.log for v4l2loopback-0.12.3 for kernel 5.8.0-25-generic (x86_64)
Mon 09 Nov 2020 01:23:16 PM EST
Building v4l2-loopback driver...
make -C /lib/modules/5.8.0-25-generic/build
M=/var/lib/dkms/v4l2loopback/0.12.3/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.8.0-25-generic'
CC [M] /var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.o
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:137:47: warning: ‘struct
timeval’ declared inside parameter list will not be visible outside of this
definition or declaration
137 | static inline void v4l2l_get_timestamp(struct timeval *tv) {
| ^~~~~~~
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c: In function
‘v4l2l_get_timestamp’:
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:147:4: error:
dereferencing pointer to incomplete type ‘struct timeval’
147 | tv->tv_sec = (time_t)ts.tv_sec;
| ^~
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:147:16: error: ‘time_t’
undeclared (first use in this function); did you mean ‘ktime_t’?
147 | tv->tv_sec = (time_t)ts.tv_sec;
| ^~~~~~
| ktime_t
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:147:16: note: each
undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:147:23: error: expected
‘;’ before ‘ts’
147 | tv->tv_sec = (time_t)ts.tv_sec;
| ^~
| ;
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c: In function
‘vidioc_qbuf’:
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:1527:24: error: passing
argument 1 of ‘v4l2l_get_timestamp’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
1527 | v4l2l_get_timestamp(&b->buffer.timestamp);
| ^~~~~~~~~~~~~~~~~~~~
| |
| struct __kernel_v4l2_timeval *
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:137:56: note: expected
‘struct timeval *’ but argument is of type ‘struct __kernel_v4l2_timeval *’
137 | static inline void v4l2l_get_timestamp(struct timeval *tv) {
| ~~~~~~~~~~~~~~~~^~
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c: In function
‘v4l2_loopback_write’:
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:1954:22: error: passing
argument 1 of ‘v4l2l_get_timestamp’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
1954 | v4l2l_get_timestamp(&b->timestamp);
| ^~~~~~~~~~~~~
| |
| struct __kernel_v4l2_timeval *
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:137:56: note: expected
‘struct timeval *’ but argument is of type ‘struct __kernel_v4l2_timeval *’
137 | static inline void v4l2l_get_timestamp(struct timeval *tv) {
| ~~~~~~~~~~~~~~~~^~
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c: In function
‘init_buffers’:
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:2059:23: error: passing
argument 1 of ‘v4l2l_get_timestamp’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
2059 | v4l2l_get_timestamp(&b->timestamp);
| ^~~~~~~~~~~~~
| |
| struct __kernel_v4l2_timeval *
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:137:56: note: expected
‘struct timeval *’ but argument is of type ‘struct __kernel_v4l2_timeval *’
137 | static inline void v4l2l_get_timestamp(struct timeval *tv) {
| ~~~~~~~~~~~~~~~~^~
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c: In function ‘init_vdev’:
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:2090:23: error:
‘VFL_TYPE_GRABBER’ undeclared (first use in this function); did you mean
‘VFL_TYPE_SUBDEV’?
2090 | vdev->vfl_type = VFL_TYPE_GRABBER;
| ^~~~~~~~~~~~~~~~
| VFL_TYPE_SUBDEV
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c: In function
‘v4l2loopback_init_module’:
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.c:2441:44: error:
‘VFL_TYPE_GRABBER’ undeclared (first use in this function); did you mean
‘VFL_TYPE_SUBDEV’?
2441 | if (video_register_device(devs[i]->vdev, VFL_TYPE_GRABBER,
video_nr[i]) < 0) {
| ^~~~~~~~~~~~~~~~
| VFL_TYPE_SUBDEV
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:290:
/var/lib/dkms/v4l2loopback/0.12.3/build/v4l2loopback.o] Error 1
make[1]: *** [Makefile:1780: /var/lib/dkms/v4l2loopback/0.12.3/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-25-generic'
make: *** [Makefile:43: v4l2loopback.ko] Error 2
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1903589
Title:
v4l2loopback-dkms won't build on kernel 5.8
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1903589/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs