Using Debian Testing

Kernel: 6.0.0-2-amd64


Setting up xtrx-dkms (0.0.1+git20190320.5ae3a3e-3) ...
Removing old xtrx-0.0.1+git20190320.5ae3a3e-3 DKMS files...
Deleting module xtrx-0.0.1+git20190320.5ae3a3e-3 completely from the DKMS tree.
Loading new xtrx-0.0.1+git20190320.5ae3a3e-3 DKMS files...
Building for 6.0.0-2-amd64
Building initial module for 6.0.0-2-amd64
Error! Bad return status for module build on kernel: 6.0.0-2-amd64 (x86_64)
Consult /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/make.log for more information.
dpkg: error processing package xtrx-dkms (--configure):
 installed xtrx-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 xtrx-dkms
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)


make.log :


cat /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/make.log
DKMS make.log for xtrx-0.0.1+git20190320.5ae3a3e-3 for kernel 6.0.0-2-amd64 (x86_64)
Sat Oct 29 05:40:10 AM CEST 2022
make: Entering directory '/usr/src/linux-headers-6.0.0-2-amd64'
  CC [M] /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.o
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c: In function ‘xtrx_allocdma’: /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c:624:33: error: implicit declaration of function ‘pci_alloc_consistent’ [-Werror=implicit-function-declaration]   624 |                 pbufs[i].virt = pci_alloc_consistent(d->pdev, buflen, &pbufs[i].phys);
      |                                 ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c:624:31: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]   624 |                 pbufs[i].virt = pci_alloc_consistent(d->pdev, buflen, &pbufs[i].phys);
      |                               ^
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c:628:33: error: implicit declaration of function ‘pci_free_consistent’ [-Werror=implicit-function-declaration]
  628 | pci_free_consistent(d->pdev, buflen, pbufs[i].virt, pbufs[i].phys);
      |                                 ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c: In function ‘xtrx_probe’: /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.c:1165:13: error: implicit declaration of function ‘pci_set_consistent_dma_mask’ [-Werror=implicit-function-declaration]
 1165 |         if (pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32))) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [/usr/src/linux-headers-6.0.0-2-common/scripts/Makefile.build:254: /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build/xtrx.o] Error 1 make: *** [/usr/src/linux-headers-6.0.0-2-common/Makefile:1876: /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3/build] Error 2
make: Leaving directory '/usr/src/linux-headers-6.0.0-2-amd64'



Kind regards, RootSquid

Reply via email to