kernel-default-devel for Arch

I'm trying to write kernel module on machine running Arch Linux. I wasn't able to locate and import 'generated/autoconf.h' (in previous version of kernels 'linux/autoconf.h' or 'linux/config.h').

I've already installed 'linux-headers' for other includes. Sadly there is no entry about 'kernel-default-devel', which apparently contains this particular header file, in AUR.

1 Answer

The headers for the linux package are in linux-headers:

# pacman -Fy autoconf.h
core/linux-headers usr/lib/modules/5.9.9-arch1-1/build/include/generated/autoconf.h
core/linux-lts-headers usr/lib/modules/5.4.78-1-lts/build/include/generated/autoconf.h
extra/linux-hardened-headers usr/lib/modules/5.9.8.a-1-hardened/build/include/generated/autoconf.h
extra/linux-zen-headers usr/lib/modules/5.9.9-zen1-1-zen/build/include/generated/autoconf.h
$ pacman -Qo /usr/src/linux/include/generated/autoconf.h
/usr/lib/modules/5.9.9-arch1-1/build/include/generated/autoconf.h is owned by linux-headers

"kernel-default-devel" is a package name invented by Red Hat. It has no meaning in Arch, nor any other distribution that is not from the RH/CentOS/Fedora family.

5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like