You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/student/bin/mpss-3.8.6/modules/host/tools_support.c:92:23: error: too many arguments to function ‘get_user_pages’
*nf_pages = (int32_t)get_user_pages(current, current->mm, (uint64_t)data,
^~~~~~~~~~~~~~
In file included from /usr/src/linux-5.3.18-150300.59.54/include/linux/scatterlist.h:8:0,
from /usr/src/linux-5.3.18-150300.59.54/include/linux/dmapool.h:14,
from /usr/src/linux-5.3.18-150300.59.54/include/linux/pci.h:1464,
from /home/student/bin/mpss-3.8.6/modules/include/mic_common.h:66,
from /home/student/bin/mpss-3.8.6/modules/host/tools_support.c:38:
/usr/src/linux-5.3.18-150300.59.54/include/linux/mm.h:1543:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
/home/student/bin/mpss-3.8.6/modules/host/tools_support.c: In function ‘send_flash_cmd’:
/home/student/bin/mpss-3.8.6/modules/host/tools_support.c:312:3: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
do_gettimeofday(&t);
^~~~~~~~~~~~~~~
It seems that ‘do_gettimeofday’ is deprecated now. This error can be solved by additional function do_gettimeofday in the top of the file. Can you help me with the solution for the second problem I
Best regards, Alex
The text was updated successfully, but these errors were encountered:
I am so sorry for the late response. I, unfortunately, do not have my hardware with me at the moment to fix these issues. It will take several months before I can even get access to it.
Hi,
I get two errors on kernel 5.3.18:
/home/student/bin/mpss-3.8.6/modules/host/tools_support.c:92:23: error: too many arguments to function ‘get_user_pages’
*nf_pages = (int32_t)get_user_pages(current, current->mm, (uint64_t)data,
^~~~~~~~~~~~~~
In file included from /usr/src/linux-5.3.18-150300.59.54/include/linux/scatterlist.h:8:0,
from /usr/src/linux-5.3.18-150300.59.54/include/linux/dmapool.h:14,
from /usr/src/linux-5.3.18-150300.59.54/include/linux/pci.h:1464,
from /home/student/bin/mpss-3.8.6/modules/include/mic_common.h:66,
from /home/student/bin/mpss-3.8.6/modules/host/tools_support.c:38:
/usr/src/linux-5.3.18-150300.59.54/include/linux/mm.h:1543:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
/home/student/bin/mpss-3.8.6/modules/host/tools_support.c: In function ‘send_flash_cmd’:
/home/student/bin/mpss-3.8.6/modules/host/tools_support.c:312:3: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
do_gettimeofday(&t);
^~~~~~~~~~~~~~~
It seems that ‘do_gettimeofday’ is deprecated now. This error can be solved by additional function do_gettimeofday in the top of the file. Can you help me with the solution for the second problem I
Best regards, Alex
The text was updated successfully, but these errors were encountered: