pastebin - collaborative debugging tool
rovema.kpaste.net RSS


linux-5.10.52 32bit on 64bit crosscompile failure
Posted by Anonymous on Thu 29th Jul 2021 11:09
raw | new post
modification of post by Anonymous (view diff)

  1. ##### Fix: $ make menuconfig # ---> Unmark "64bit" for 32bit builds
  2.  
  3. test001@derfwpc5131:~/work/kernel_test001/32bit/linux-5.10.52$ CFLAGS="-m32" make CFLAGS="-m32" ARCH=i386
  4.   HOSTCC  arch/x86/tools/relocs_32.o
  5.   HOSTCC  arch/x86/tools/relocs_64.o
  6.   HOSTCC  arch/x86/tools/relocs_common.o
  7.   HOSTLD  arch/x86/tools/relocs
  8.   HOSTCC  scripts/selinux/genheaders/genheaders
  9.   HOSTCC  scripts/selinux/mdp/mdp
  10. In file included from scripts/selinux/mdp/mdp.c:22:
  11. ./include/linux/kconfig.h:7:10: fatal error: generated/autoconf.h: No such file or directory
  12.     7 | #include <generated/autoconf.h>
  13.       |          ^~~~~~~~~~~~~~~~~~~~~~
  14. compilation terminated.
  15. make[3]: *** [scripts/Makefile.host:95: scripts/selinux/mdp/mdp] Error 1
  16. make[2]: *** [scripts/Makefile.build:497: scripts/selinux/mdp] Error 2
  17. make[1]: *** [scripts/Makefile.build:497: scripts/selinux] Error 2
  18. make: *** [Makefile:1198: scripts] Error 2

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at