我到处搜索,找不到任何解决方案。我已经安装了 lts-headers 和开发工具(system.devel)。这发生在我试图编译的任何东西上。
索卢斯 4.9.43-39
$ make
gcc -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -std=c11 -O2 -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -c -o luksipc.o luksipc.c
In file included from /usr/include/asm-generic/errno.h:1:0,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm-generic/errno.h:1,
from /usr/include/asm/errno.h:1,
from /usr/include/linux/errno.h:1,
from /usr/include/bits/errno.h:24,
from /usr/include/errno.h:35,
from luksipc.c:29:
/usr/include/asm-generic/errno.h:1:31: error: #include nested too deeply
#include <asm-generic/errno.h>
^
In file included from /usr/include/asm-generic/ioctls.h:1:0,
from /usr/include/asm-generic/ioctls.h:1,
from /usr/include/asm-generic/ioctls.h:1,
from /usr/include/asm-generic/ioctls.h:1,
from /usr/include/asm/ioctls.h:1,
from /usr/include/bits/ioctls.h:23,
from /usr/include/sys/ioctl.h:26,
from luksipc.c:31:
/usr/include/asm-generic/ioctls.h:1:32: error: #include nested too deeply
#include <asm-generic/ioctls.h>
^
In file included from /usr/include/asm-generic/ioctls.h:1:0,
from /usr/include/asm-generic/ioctls.h:1,
from /usr/include/asm-generic/ioctls.h:1,
from /usr/include/asm-generic/ioctls.h:1,
from /usr/include/asm/ioctls.h:1,
from /usr/include/bits/ioctl-types.h:24,
from /usr/include/sys/ioctl.h:29,
from luksipc.c:31:
/usr/include/asm-generic/ioctls.h:1:32: error: #include nested too deeply
#include <asm-generic/ioctls.h>
^
make: *** [Makefile:27: luksipc.o] Error 1