-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linux-custom: linux-header: copy selinux headers #67
Conversation
Copy the selinux headers, as it is required to build scripts on target root@iot2050:/usr/src/linux-headers-4.19.165-cip41-rt18+mel6# make scripts ... HOSTCC scripts/selinux/genheaders/genheaders scripts/selinux/genheaders/genheaders.c:18:10: fatal error: classmap.h: No such file or directory #include "classmap.h" ^~~~~~~~~~~~ compilation terminated. Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Please use the mailing list. And we still need to clarify the status and possibly resolution for Debian's kernel-headers package. |
Send a bug over email |
Hello Arulpandiyan, I'd suggest to move this discussion to cip-dev@lists.cip-project.org or isar-users@googlegroups.com. IIUC, classmap.h is an internal header not intended for user space, so I suppose we shouldn't add it to linux-headers. If you build genheaders from within the kernel source tree, the error should not happen:
I don't know what is inside linux-headers-4.19.165-cip41-rt18+mel6, but the "headers" part doesn't sound right. Maybe you could share how the problem could be reproduced. |
Hello Ismagulb
|
Closing this PR, As per the standard procedures, we should not expose kernel headers. Hence updated the document to rebuild the kernel header from source code https://confluence.alm.mentorg.com/display/PS/Omni-2.2+Recompile+Headers+Scripts |
Copy the selinux headers, as it is required to build scripts on target
root@iot2050:/usr/src/linux-headers-4.19.165-cip41-rt18+mel6# make scripts
...
HOSTCC scripts/selinux/genheaders/genheaders
scripts/selinux/genheaders/genheaders.c:18:10: fatal error: classmap.h: No such file or directory
#include "classmap.h"
^~~~~~~~~~~~
compilation terminated.
Signed-off-by: Arulpandiyan Vadivel arulpandiyan_vadivel@mentor.com