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
~/acpi_call# make
make -C /lib/modules/4.15.0-42-generic/build M=/home/maximus/acpi_call modules
make[1]: вход в каталог «/usr/src/linux-headers-4.15.0-42-generic»
CC [M] /home/maximus/acpi_call/acpi_call.o
In file included from ./include/linux/list.h:5:0,
from ./include/linux/module.h:9,
from /home/maximus/acpi_call/acpi_call.c:5:
./include/linux/types.h:17:9: error: unknown type name ‘__kernel_ino_t’
typedef __kernel_ino_t ino_t;
^~~~~~~~~~~~~~
./include/linux/types.h:18:9: error: unknown type name ‘__kernel_mode_t’
typedef __kernel_mode_t mode_t;
^~~~~~~~~~~~~~~
./include/linux/types.h:21:9: error: unknown type name ‘__kernel_off_t’
typedef __kernel_off_t off_t;
^~~~~~~~~~~~~~
./include/linux/types.h:22:9: error: unknown type name ‘__kernel_pid_t’
typedef __kernel_pid_t pid_t;
^~~~~~~~~~~~~~
./include/linux/types.h:23:9: error: unknown type name ‘__kernel_daddr_t’
typedef __kernel_daddr_t daddr_t;
^~~~~~~~~~~~~~~~
./include/linux/types.h:25:9: error: unknown type name ‘__kernel_suseconds_t’
typedef __kernel_suseconds_t suseconds_t;
^~~~~~~~~~~~~~~~~~~~
./include/linux/types.h:26:9: error: unknown type name ‘__kernel_timer_t’
typedef __kernel_timer_t timer_t;
^~~~~~~~~~~~~~~~
./include/linux/types.h:27:9: error: unknown type name ‘__kernel_clockid_t’
typedef __kernel_clockid_t clockid_t;
^~~~~~~~~~~~~~~~~~
./include/linux/types.h:32:9: error: unknown type name ‘__kernel_uid32_t’
typedef __kernel_uid32_t uid_t;
^~~~~~~~~~~~~~~~
./include/linux/types.h:33:9: error: unknown type name ‘__kernel_gid32_t’
typedef __kernel_gid32_t gid_t;
^~~~~~~~~~~~~~~~
./include/linux/types.h:34:9: error: unknown type name ‘__kernel_uid16_t’
typedef __kernel_uid16_t uid16_t;
^~~~~~~~~~~~~~~~
./include/linux/types.h:35:9: error: unknown type name ‘__kernel_gid16_t’
typedef __kernel_gid16_t gid16_t;
^~~~~~~~~~~~~~~~
./include/linux/types.h:41:9: error: unknown type name ‘__kernel_old_uid_t’
typedef __kernel_old_uid_t old_uid_t;
^~~~~~~~~~~~~~~~~~
./include/linux/types.h:42:9: error: unknown type name ‘__kernel_old_gid_t’
typedef __kernel_old_gid_t old_gid_t;
^~~~~~~~~~~~~~~~~~
./include/linux/types.h:46:9: error: unknown type name ‘__kernel_loff_t’
typedef __kernel_loff_t loff_t;
^~~~~~~~~~~~~~~
./include/linux/types.h:55:9: error: unknown type name ‘__kernel_size_t’
typedef __kernel_size_t size_t;
^~~~~~~~~~~~~~~
./include/linux/types.h:60:9: error: unknown type name ‘__kernel_ssize_t’
typedef __kernel_ssize_t ssize_t;
^~~~~~~~~~~~~~~~
./include/linux/types.h:65:9: error: unknown type name ‘__kernel_ptrdiff_t’
typedef __kernel_ptrdiff_t ptrdiff_t;
^~~~~~~~~~~~~~~~~~
./include/linux/types.h:70:9: error: unknown type name ‘__kernel_time_t’
typedef __kernel_time_t time_t;
^~~~~~~~~~~~~~~
./include/linux/types.h:75:9: error: unknown type name ‘__kernel_clock_t’
typedef __kernel_clock_t clock_t;
^~~~~~~~~~~~~~~~
./include/linux/types.h:80:9: error: unknown type name ‘__kernel_caddr_t’
typedef __kernel_caddr_t caddr_t;
^~~~~~~~~~~~~~~~
./include/linux/types.h:199:2: error: unknown type name ‘__kernel_daddr_t’
__kernel_daddr_t f_tfree;
^~~~~~~~~~~~~~~~
./include/linux/types.h:200:2: error: unknown type name ‘__kernel_ino_t’
__kernel_ino_t f_tinode;
^~~~~~~~~~~~~~
In file included from ./include/linux/kernel.h:7:0,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /home/maximus/acpi_call/acpi_call.c:5:
./include/linux/linkage.h:8:10: fatal error: asm/linkage.h: Нет такого файла или каталога
#include <asm/linkage.h>
^~~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.build:339: recipe for target '/home/maximus/acpi_call/acpi_call.o' failed
make[2]: *** [/home/maximus/acpi_call/acpi_call.o] Error 1
Makefile:1551: recipe for target '_module_/home/maximus/acpi_call' failed
make[1]: *** [_module_/home/maximus/acpi_call] Error 2
make[1]: выход из каталога «/usr/src/linux-headers-4.15.0-42-generic»
Makefile:10: recipe for target 'default' failed
make: *** [default] Error 2
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: