CC [M] /var/lib/dkms/facetimehd/0.1/build/fthd_ddr.o
CC [M] /var/lib/dkms/facetimehd/0.1/build/fthd_hw.o
CC [M] /var/lib/dkms/facetimehd/0.1/build/fthd_drv.o
CC [M] /var/lib/dkms/facetimehd/0.1/build/fthd_ringbuf.o
CC [M] /var/lib/dkms/facetimehd/0.1/build/fthd_isp.o
CC [M] /var/lib/dkms/facetimehd/0.1/build/fthd_v4l2.o
CC [M] /var/lib/dkms/facetimehd/0.1/build/fthd_buffer.o
CC [M] /var/lib/dkms/facetimehd/0.1/build/fthd_debugfs.o
/var/lib/dkms/facetimehd/0.1/build/fthd_drv.c: In function ‘fthd_pci_init’:
/var/lib/dkms/facetimehd/0.1/build/fthd_drv.c:399:9: error: implicit declaration of function ‘pci_set_consistent_dma_mask’ [-Werror=implicit-function-declaration]
399 | pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(dev_priv->dma_mask));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:288: /var/lib/dkms/facetimehd/0.1/build/fthd_drv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1834: /var/lib/dkms/facetimehd/0.1/build] Error 2
make: Leaving directory '/usr/src/linux-headers-5.18.0-rc2'
Here's a related patch for the nvidia drivers which are having the same issue which might help with fixing this issue for the newer kernels:
This is the error:
Here's a related patch for the nvidia drivers which are having the same issue which might help with fixing this issue for the newer kernels:
http://rglinuxtech.com/?p=3015#comment-310988