# cat /var/lib/dkms/kernel-mft-dkms/4.22.1/build/make.log
DKMS (dkms-3.2.2) make.log for kernel-mft-dkms/4.22.1 for kernel 6.17.9-1-pve (amd64)
Thu Feb 12 12:27:33 PM EST 2026
Building module(s)
# command: make -j24 KERNELRELEASE=6.17.9-1-pve all KPVER=6.17.9-1-pve
cd mst_backward_compatibility/mst_pci && make
make[1]: Entering directory '/var/lib/dkms/kernel-mft-dkms/4.22.1/build/mst_backward_compatibility/mst_pci'
make -C /lib/modules/6.17.9-1-pve/build M=/var/lib/dkms/kernel-mft-dkms/4.22.1/build/mst_backward_compatibility/mst_pci CONFIG_CTF= CONFIG_CC_STACKPROTECTOR_STRONG= modules
make[2]: Entering directory '/usr/src/linux-headers-6.17.9-1-pve'
make[3]: Entering directory '/var/lib/dkms/kernel-mft-dkms/4.22.1/build/mst_backward_compatibility/mst_pci'
CC [M] ../../nnt_driver/nnt_device.o
CC [M] ../../nnt_driver/nnt_dma.o
CC [M] ../../nnt_driver/nnt_pci_conf_access.o
CC [M] ../../nnt_driver/nnt_pci_conf_access_no_vsec.o
CC [M] ../../nnt_driver/nnt_memory_access.o
CC [M] ../../nnt_driver/nnt_ioctl.o
CC [M] mst_pci_bc.o
mst_pci_bc.c:6:10: fatal error: nnt_ioctl.h: No such file or directory
6 | #include "nnt_ioctl.h"
| ^~~~~~~~~~~~~
compilation terminated.
make[5]: *** [/usr/src/linux-headers-6.17.9-1-pve/scripts/Makefile.build:287: mst_pci_bc.o] Error 1
make[5]: *** Waiting for unfinished jobs....
../../nnt_driver/nnt_pci_conf_access_no_vsec.c:6:5: warning: no previous prototype for ‘read_no_vsec’ [-Wmissing-prototypes]
6 | int read_no_vsec(struct nnt_device* nnt_device, unsigned int offset,
| ^~~~~~~~~~~~
../../nnt_driver/nnt_memory_access.c:7:5: warning: no previous prototype for ‘write_memory’ [-Wmissing-prototypes]
7 | int write_memory(struct nnt_device* nnt_device, struct nnt_rw_operation* write_operation)
| ^~~~~~~~~~~~
../../nnt_driver/nnt_dma.c:9:5: warning: no previous prototype for ‘dma_mapping_page’ [-Wmissing-prototypes]
9 | int dma_mapping_page(unsigned int total_pinned, unsigned int page_mapped_counter,
| ^~~~~~~~~~~~~~~~
../../nnt_driver/nnt_memory_access.c:21:5: warning: no previous prototype for ‘read_memory’ [-Wmissing-prototypes]
21 | int read_memory(struct nnt_device* nnt_device, struct nnt_rw_operation* read_operation)
| ^~~~~~~~~~~
../../nnt_driver/nnt_memory_access.c:34:5: warning: no previous prototype for ‘init_memory’ [-Wmissing-prototypes]
34 | int init_memory(void* user_buffer, struct nnt_device* nnt_device)
| ^~~~~~~~~~~
../../nnt_driver/nnt_dma.c:38:5: warning: no previous prototype for ‘pin_user_pages_in_kernel_space’ [-Wmissing-prototypes]
38 | int pin_user_pages_in_kernel_space(unsigned int total_pages, unsigned int total_pinned,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:9:5: warning: no previous prototype for ‘clear_vsec_semaphore’ [-Wmissing-prototypes]
9 | int clear_vsec_semaphore(struct nnt_device* nnt_device)
| ^~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_dma.c:77:5: warning: no previous prototype for ‘pin_user_memory_in_kernel_space’ [-Wmissing-prototypes]
77 | int pin_user_memory_in_kernel_space(unsigned int total_pages, struct nnt_device* nnt_device,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_dma.c:123:5: warning: no previous prototype for ‘map_dma_pages’ [-Wmissing-prototypes]
123 | int map_dma_pages(struct nnt_page_info* page_info, struct nnt_device* nnt_device)
| ^~~~~~~~~~~~~
../../nnt_driver/nnt_dma.c:164:5: warning: no previous prototype for ‘release_dma_pages’ [-Wmissing-prototypes]
164 | int release_dma_pages(struct nnt_page_info* page_info, struct nnt_device* nnt_device)
| ^~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_memory_access.c: In function ‘init_memory’:
../../nnt_driver/nnt_memory_access.c:41:59: warning: ordered comparison of pointer with integer zero [-Wextra]
41 | if (nnt_device->memory_device.hardware_memory_address <= 0) {
| ^~
../../nnt_driver/nnt_pci_conf_access.c:22:5: warning: no previous prototype for ‘get_semaphore_ticket’ [-Wmissing-prototypes]
22 | int get_semaphore_ticket(struct nnt_device* nnt_device, unsigned int* lock_value,
| ^~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:117:5: warning: no previous prototype for ‘create_file_name_mstflint’ [-Wmissing-prototypes]
117 | int create_file_name_mstflint(struct pci_dev* pci_device, struct nnt_device* nnt_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access_no_vsec.c:49:5: warning: no previous prototype for ‘write_no_vsec’ [-Wmissing-prototypes]
49 | int write_no_vsec(struct nnt_device* nnt_device, unsigned int offset,
| ^~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:133:5: warning: no previous prototype for ‘create_file_name_mft’ [-Wmissing-prototypes]
133 | int create_file_name_mft(struct pci_dev* pci_device, struct nnt_device* nnt_dev,
| ^~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:52:5: warning: no previous prototype for ‘lock_vsec_semaphore’ [-Wmissing-prototypes]
52 | int lock_vsec_semaphore(struct nnt_device* nnt_device)
| ^~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:148:5: warning: no previous prototype for ‘nnt_device_structure_init’ [-Wmissing-prototypes]
148 | int nnt_device_structure_init(struct nnt_device** nnt_device)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:110:5: warning: no previous prototype for ‘wait_on_flag’ [-Wmissing-prototypes]
110 | int wait_on_flag(struct nnt_device* nnt_device, u8 expected_val)
| ^~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access_no_vsec.c:102:5: warning: no previous prototype for ‘is_wo_gw’ [-Wmissing-prototypes]
102 | int is_wo_gw(struct nnt_device* nnt_device)
| ^~~~~~~~
../../nnt_driver/nnt_device.c:167:5: warning: no previous prototype for ‘create_nnt_device’ [-Wmissing-prototypes]
167 | int create_nnt_device(struct pci_dev* pci_device, enum nnt_device_type device_type,
| ^~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:134:5: warning: no previous prototype for ‘set_address_space’ [-Wmissing-prototypes]
134 | int set_address_space(struct nnt_device* nnt_device, unsigned int address_space)
| ^~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:231:5: warning: no previous prototype for ‘create_device_file’ [-Wmissing-prototypes]
231 | int create_device_file(struct nnt_device* current_nnt_device, dev_t device_number,
| ^~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:279:5: warning: no previous prototype for ‘check_if_vsec_supported’ [-Wmissing-prototypes]
279 | int check_if_vsec_supported(struct nnt_device* nnt_device)
| ^~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:204:5: warning: no previous prototype for ‘set_rw_address’ [-Wmissing-prototypes]
204 | int set_rw_address(unsigned int* offset, unsigned int rw)
| ^~~~~~~~~~~~~~
../../nnt_driver/nnt_device.c:298:5: warning: no previous prototype for ‘create_devices’ [-Wmissing-prototypes]
298 | int create_devices(dev_t device_number, struct file_operations* fop,
| ^~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:224:5: warning: no previous prototype for ‘read’ [-Wmissing-prototypes]
224 | int read(struct nnt_device* nnt_device, unsigned int offset,
| ^~~~
../../nnt_driver/nnt_pci_conf_access.c:280:5: warning: no previous prototype for ‘write’ [-Wmissing-prototypes]
280 | int write(struct nnt_device* nnt_device, unsigned int offset,
| ^~~~~
../../nnt_driver/nnt_pci_conf_access.c:334:5: warning: no previous prototype for ‘address_space_to_capability’ [-Wmissing-prototypes]
334 | int address_space_to_capability(u_int16_t address_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:361:5: warning: no previous prototype for ‘get_space_support_status’ [-Wmissing-prototypes]
361 | int get_space_support_status(struct nnt_device* nnt_device, u_int16_t address_space)
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:376:5: warning: no previous prototype for ‘init_vsec_capability_mask’ [-Wmissing-prototypes]
376 | int init_vsec_capability_mask(struct nnt_device* nnt_device)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_pci_conf_access.c:403:6: warning: no previous prototype for ‘check_vsec_minimum_support’ [-Wmissing-prototypes]
403 | void check_vsec_minimum_support(struct nnt_device* nnt_device)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_ioctl.c:14:5: warning: no previous prototype for ‘dma_pages_ioctl’ [-Wmissing-prototypes]
14 | int dma_pages_ioctl(unsigned int command, void* user_buffer,
| ^~~~~~~~~~~~~~~
../../nnt_driver/nnt_ioctl.c:50:5: warning: no previous prototype for ‘read_dword_ioctl’ [-Wmissing-prototypes]
50 | int read_dword_ioctl(void* user_buffer, struct nnt_device* nnt_device)
| ^~~~~~~~~~~~~~~~
../../nnt_driver/nnt_ioctl.c:80:5: warning: no previous prototype for ‘get_nnt_device_parameters’ [-Wmissing-prototypes]
80 | int get_nnt_device_parameters(struct nnt_device_parameters* nnt_parameters, struct nnt_device* nnt_device)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../nnt_driver/nnt_ioctl.c:109:5: warning: no previous prototype for ‘pci_connectx_wa’ [-Wmissing-prototypes]
109 | int pci_connectx_wa(struct nnt_connectx_wa* connectx_wa, struct nnt_device* nnt_device)
| ^~~~~~~~~~~~~~~
../../nnt_driver/nnt_ioctl.c:142:5: warning: no previous prototype for ‘vpd_read’ [-Wmissing-prototypes]
142 | int vpd_read(struct nnt_vpd* vpd, struct nnt_device* nnt_device)
| ^~~~~~~~
../../nnt_driver/nnt_ioctl.c:187:5: warning: no previous prototype for ‘vpd_write’ [-Wmissing-prototypes]
187 | int vpd_write(struct nnt_vpd* vpd, struct nnt_device* nnt_device)
| ^~~~~~~~~
make[4]: *** [/usr/src/linux-headers-6.17.9-1-pve/Makefile:2016: .] Error 2
make[3]: *** [/usr/src/linux-headers-6.17.9-1-pve/Makefile:248: __sub-make] Error 2
make[3]: Leaving directory '/var/lib/dkms/kernel-mft-dkms/4.22.1/build/mst_backward_compatibility/mst_pci'
make[2]: *** [Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.17.9-1-pve'
make[1]: *** [Makefile:31: all] Error 2
make[1]: Leaving directory '/var/lib/dkms/kernel-mft-dkms/4.22.1/build/mst_backward_compatibility/mst_pci'
make: *** [Makefile:2: all] Error 2
# exit code: 2
# elapsed time: 00:00:04
----------------------------------------------------------------