Open yonatanbeyn opened 3 years ago
On my Debian testing machine, this header is in /usr/include/sys/perm.h, which is part of libc6-dev-amd64 package. Can you try installing libc6-dev package and see if this fixes the problem?
One other thing you could try is:
find / -name perm.h
. It might print out a path like the one I mentioned above;cc --version
to figure out what compiler you use. If it's GCC, you can do something like this to print out the list of paths. One of them should contain the path where you found the perm.h file.Hope this helps.
make for n in misc-progs misc-modules skull scull scullc scullp lddbus sculld scullv shortprint simple tty pci usb sbull snull short; do make -C $n || exit 1; done make[1]: Entering directory '/home/pi/ldd3/ldd3/misc-progs' cc -O2 -fomit-frame-pointer -Wall -I/usr/src/linux-headers-5.10.17-v7l+/include inp.c -o inp inp.c:36:12: fatal error: sys/perm.h: No such file or directory
include <sys/perm.h>
compilation terminated. make[1]: [: inp] Error 1
make[1]: Leaving directory '/home/pi/ldd3/ldd3/misc-progs'
make: [Makefile:10: subdirs] Error 1ls
my current Linux header ===>>> linux-headers-5.10.17+ linux-headers-5.10.17-v7+ linux-headers-5.10.17-v7l+