Re: dkms install Error
"Dressel, Michael" <[email protected]> Wed, 13 May 2026 16:35:21 +0200 (CEST)
| Newsgroups | gmane.comp.file-systems.openafs.devel |
|---|---|
| Message-ID | <[email protected]> |
I hope I got this right: linux 7.0.5.arch1-1: (flagged out of date) CONFIG_GCC_VERSION=160101 CONFIG_CC_VERSION_TEXT="gcc (GCC) 16.1.1 20260430" gcc --version gcc (GCC) 16.1.1 20260430 ----- Original Message ----- > From: "Cheyenne Wills" <[email protected]> > To: [email protected] > Sent: Wednesday, 13 May, 2026 16:22:05 > Subject: Re: [OpenAFS-devel] dkms install Error > Can you check to see if the current compiler version matches the > version that the kernel was built with? If they are different, the > builds kernel modules can fail. The specific error you are seeing is > within the configure step of the OpenAFS build process where configure > is trying to determine how to pass compiler flags to the Linux build > process. > > The .config file for the Linux kernel contains the compiler version > Compare the the CONFIG_GCC_VERSION_TEXT and CONFIG_GCC_VERSION values > with the output of a gcc --version to see if they are different. > > If they do match up, then a deeper dive into the logs from the build > will be needed, and I can give a hand in looking through those. > > There are some patches to the configure tests that report the compiler > version that was used in the kernel build. They are in master > but haven't been pulled up into the stable release (due to the scope > and size of the changes). > > -- > Cheyenne Wills > [email protected] > > > > On Wed, 13 May 2026 08:35:29 +0200 (CEST) > Michael Dressel <[email protected]> wrote: >> [Some people who received this message don't often get email from >> [email protected]. Learn why this is important at >> https://aka.ms/LearnAboutSenderIdentification ] >> >> Hi, >> >> I get the following error, when installing on archlinux: >> >> >> dkms install --no-depmod openafs/1.8.16pre1 -k 7.0.5-arch1-1 >> >> Error! Bad return status for module build on kernel: 7.0.5-arch1-1 >> (x86_64) Consult /var/lib/dkms/openafs/1.8.16pre1/build/make.log for >> more information. >> >> >> Checking how to set cflags for linux kbuild... configure: error: >> cannot find way to set linux kbuild cflags >> >> Cheers, >> Michael >> _______________________________________________ >> OpenAFS-devel mailing list >> [email protected] >> https://lists.openafs.org/mailman/listinfo/openafs-devel > > _______________________________________________ > OpenAFS-devel mailing list > [email protected] > https://lists.openafs.org/mailman/listinfo/openafs-devel