You have been subscribed to a public bug:

When building kernel module on ubuntu 20.04 for raspberry (arm64), I get
the following error:

make -C /lib/modules/5.4.0-1018-raspi/build 
SUBDIRS=/home/ubuntu/andor/src/driver modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-1018-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-1018-raspi'
make: *** [Makefile:12: default] Error 2


I have no clue how to resolve this

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Fix Released

-- 
fatal error: classmap.h: No such file or directory
https://bugs.launchpad.net/bugs/1895470
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to linux in Ubuntu.

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to