Public bug reported: When building kernel module on ubuntu 20.04 server for raspberry (aarch64), I get the following error:
make -C /lib/modules/5.4.0-1032-raspi/build SUBDIRS=/home/ubuntu/andor/src/driver modules make[1]: Entering directory '/usr/src/linux-headers-5.4.0-1032-raspi' HOSTCC scripts/selinux/genheaders/genheaders scripts/selinux/genheaders/genheaders.c:18:10: fatal error: classmap.h: No such file or directory 18 | #include "classmap.h" | ^~~~~~~~~~~~ compilation terminated. make[4]: *** [scripts/Makefile.host:107: scripts/selinux/genheaders/genheaders] Error 1 make[3]: *** [scripts/Makefile.build:522: scripts/selinux/genheaders] Error 2 make[2]: *** [scripts/Makefile.build:522: scripts/selinux] Error 2 make[1]: *** [Makefile:1127: scripts] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-1032-raspi' make: *** [Makefile:12: default] Error 2 ** Affects: linux-raspi (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922152 Title: F atal error: classmap.h: No such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1922152/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs