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
I am trying to build with a fresh Debian 10 installation and I have the following error :
kopax@dka:~/workspace/tmp/acpi_call$ make
make -C /lib/modules/4.19.0-6-amd64/build M=/home/kopax/workspace/tmp/acpi_call modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-6-amd64'
CC [M] /home/kopax/workspace/tmp/acpi_call/acpi_call.o
In file included from /usr/src/linux-headers-4.19.0-6-common/include/acpi/platform/acenv.h:152,
from /usr/src/linux-headers-4.19.0-6-common/include/acpi/acpi.h:22,
from /home/kopax/workspace/tmp/acpi_call/acpi_call.c:9:
/usr/src/linux-headers-4.19.0-6-common/include/acpi/platform/aclinux.h:18:2: error: #error "Please don't include <acpi/acpi.h> directly, include <linux/acpi.h> instead."#error "Please don't include <acpi/acpi.h> directly, include <linux/acpi.h> instead."
^~~~~
/home/kopax/workspace/tmp/acpi_call/acpi_call.c: In function‘acpi_proc_write’:
/home/kopax/workspace/tmp/acpi_call/acpi_call.c:277:9: error: implicit declaration of function‘copy_from_user’; did you mean ‘raw_copy_from_user’? [-Werror=implicit-function-declaration]
if (copy_from_user( input, buff, len )) {
^~~~~~~~~~~~~~
raw_copy_from_user
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-6-common/scripts/Makefile.build:315: /home/kopax/workspace/tmp/acpi_call/acpi_call.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.19.0-6-common/Makefile:1534: _module_/home/kopax/workspace/tmp/acpi_call] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-6-amd64'
make: *** [Makefile:8: default] Error 2
But then I have Warning: modules_install: missing 'System.map' file. Skipping depmod.
Is there anything I am missing to build acpi_call? Thanks for sharing!
The text was updated successfully, but these errors were encountered:
kopax
changed the title
How to build on Debian 10
How to build on Debian 10 - Warning: modules_install: missing 'System.map' file. Skipping depmod
Oct 28, 2019
I am trying to build with a fresh Debian 10 installation and I have the following error :
I have tried the fork of
acpi_call
hereBut then I have
Warning: modules_install: missing 'System.map' file. Skipping depmod.
Is there anything I am missing to build
acpi_call
? Thanks for sharing!The text was updated successfully, but these errors were encountered: