Open nwalmethule opened 5 years ago
Try my new branch and see if it fixes the problem:
Command used:
make MIC_CARD_ARCH=k1om CC=gcc-5 Output:
make -C /lib/modules/4.15.0-45-generic/build M=/home/lorenz/mpss-modules modules \ INSTALL_MOD_PATH= make[1]: ingresso nella directory "/usr/src/linux-headers-4.15.0-45-generic" CC [M] /home/lorenz/mpss-modules/dma/mic_dma_lib.o In file included from /home/lorenz/mpss-modules/include/mic/micscif.h:358:0, from /home/lorenz/mpss-modules/dma/mic_dma_lib.c:54: /home/lorenz/mpss-modules/include/mic/micscif_rma.h: In function ‘__scif_acquire_mm’: /home/lorenz/mpss-modules/include/mic/micscif_rma.h:898:10: error: implicit declaration of function ‘get_task_mm’ [-Werror=implicit-function-declaration] return get_task_mm(current); ^ /home/lorenz/mpss-modules/include/mic/micscif_rma.h:898:10: warning: return makes pointer from integer without a cast [-Wint-conversion] /home/lorenz/mpss-modules/include/mic/micscif_rma.h: In function ‘scif_release_mm’: /home/lorenz/mpss-modules/include/mic/micscif_rma.h:909:3: error: implicit declaration of function ‘mmput’ [-Werror=implicit-function-declaration] mmput(mm); ^ /home/lorenz/mpss-modules/include/mic/micscif_rma.h: In function ‘scif_check_inc_pinned_vm’: /home/lorenz/mpss-modules/include/mic/micscif_rma.h:945:16: error: implicit declaration of function ‘rlimit’ [-Werror=implicit-function-declaration] lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; ^ cc1: some warnings being treated as errors scripts/Makefile.build:332: recipe for target '/home/lorenz/mpss-modules/dma/mic_dma_lib.o' failed make[2]: [/home/lorenz/mpss-modules/dma/mic_dma_lib.o] Error 1 Makefile:1551: recipe for target 'module/home/lorenz/mpss-modules' failed make[1]: [module/home/lorenz/mpss-modules] Error 2 make[1]: uscita dalla directory "/usr/src/linux-headers-4.15.0-45-generic" Makefile:72: recipe for target 'modules' failed make: *** [modules] Error 2
Sorry. How can I help?
I try to compile the mpss-modules on the Kernel 4.15. The make on gcc 5.2 give me that errors:
Any binaries missing?
Thank you for the work.