![]() c files for the actual kernel here), and for the actual kernel I downloaded manually from. Make menuconfig works for both the stock Arch Linux "kernel" in /lib/modules/6.3.8-arch1-1/build (I say "kernel" as there are no. Why doesn't make clean work? This can't be expected behavior! The kernel module: It is a simple netfilter based kernel module that I'm writing. I was just about to write that this is the kernel, and not just the headers. rw-r-r- 1 root root 14 Jun 14 22:10 versionĭrwxr-xr-x 1 root root 12 Jun 17 21:43 virt rw-r-r- 1 root root 1 Jun 14 22:10 localversion.20-pkgname rw-r-r- 1 root root 3 Jun 14 22:10 localversion.10-pkgrel config.oldĭrwxr-xr-x 1 root root 60 Jun 17 22:35 cryptoĭrwxr-xr-x 1 root root 1462 Jun 17 22:36 Documentationĭrwxr-xr-x 1 root root 1354 Jun 17 21:43 driversĭrwxr-xr-x 1 root root 730 Jun 17 21:43 fsĭrwxr-xr-x 1 root root 322 Jun 17 21:43 includeĭrwxr-xr-x 1 root root 14 Jun 17 21:43 init ĭrwxr-xr-x 1 root root 20 Jun 17 21:43 archĭrwxr-xr-x 1 root root 64 Jun 17 21:43 blockĭrwxr-xr-x 1 root root 14 Jun 17 21:43 certs Make: *** No rule to make target 'arch/x86/math-emu/Makefile'. ![]() Scripts/Makefile.clean:12: arch/x86/math-emu/Makefile: No such file or directory Make: *** Error build]# vim build]# cp -Rv /usr/src/linux-6.3.8/Documentation build]# make clean Make: *** No rule to make target 'Documentation/Makefile'. Scripts/Makefile.clean:12: Documentation/Makefile: No such file or directory Kconfig:32: can't open file "Documentation/Kconfig" Make: *** Error build]# vim build]# make clean Include/config/: arch/arm/crypto/Kconfig build]# build]# vim build]# vim build]# vim build]# build]# make cleanĬrypto/Kconfig:1399: can't open file "arch/mips/crypto/Kconfig" Here's an excerpt, I'm in Arch Linux's original folder:Īnd I'm trying to get "make clean" to work (note, when it complains about "Documentation" missing as well, I copy it from /usr/src/linux, which is where I now, have a manually downloaded 6.3.8 kernel from build]# !grepĬrypto/Kconfig:source "arch/arm/crypto/Kconfig" If I manually go into Kconfig files and remove references to ARM, it starts to complain about MIPS, then x86 (regular x86, not x86-64, which is what I have): It is very strange, it seems like my existing (newly installed!) linux source tree (from pacman), wants to process other architectures. If I manually download linux-6.3.8, I can run make menuconfig. In any case, I don't think it is likely to assume this other module is related to the problem, it will just add unnecessary complexity. I thought it was related to something weird with the kernel module, when I discovered that I cannot even run make menuconfig in my own /usr/src/linux - which indicates a broader or deeper problem, if you will. In order to get to the root cause of why a certain kernel module didn't build. Why are you running `make menuconfig` in /usr/src/linux? Linux-headers provide the headers required to build out of tree modules. I've looked through /var/log/pacman.log without seeing anything obvious. I didn't install any arm specific tooling to my knowledge. ![]() Why does it complain about missing ARM stuff on an x86-64 system? HOSTCC scripts/kconfig/lxdialog/textbox.oĬrypto/Kconfig:1393: can't open file "arch/arm/crypto/Kconfig" HOSTCC scripts/kconfig/lxdialog/menubox.o HOSTCC scripts/kconfig/lxdialog/inputbox.o ![]() HOSTCC scripts/kconfig/lxdialog/checklist.o
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |