nvidia dkms fail
by qrange from LinuxQuestions.org on (#5Q5AZ)
https://bugs.debian.org/cgi-bin/bugr...cgi?bug=995271
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv.c:13:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function nv_sleep_ms':
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: struct task_struct' has no member named state'; did you mean __state'?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-acpi.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function nv_sleep_ms':
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: struct task_struct' has no member named state'; did you mean __state'?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function nv_sleep_ms':
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: struct task_struct' has no member named state'; did you mean __state'?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-cray.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function nv_sleep_ms':
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: struct task_struct' has no member named state'; did you mean __state'?
217 | current->state = TASK_INTERRUPTIBLE;
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv.c:13:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function nv_sleep_ms':
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: struct task_struct' has no member named state'; did you mean __state'?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-acpi.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function nv_sleep_ms':
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: struct task_struct' has no member named state'; did you mean __state'?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function nv_sleep_ms':
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: struct task_struct' has no member named state'; did you mean __state'?
217 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
In file included from /var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
from /var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-cray.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In function nv_sleep_ms':
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18: error: struct task_struct' has no member named state'; did you mean __state'?
217 | current->state = TASK_INTERRUPTIBLE;