Re: *** Compiler is too old
On Mon, Feb 21, 2022 at 3:45 AM Hamza Mogni <hamzamogni5@gmail.com> wrote: Hello Aruna, It specifically says on the output you sent that you need a minimum version of 5.1.0 for GCC in order to compile your kernel, so maybe start with that. Thanks.
Thank you Hamza I will try to do so.
On Mon, 21 Feb 2022 at 05:53, Aruna Hewapathirane < aruna.hewapathirane@gmail.com> wrote:
Hello,
It has been some time since I needed to compile a kernel and I have this problem now. *** Compiler is too old.
What would be the sanest way to do this? Meaning upgrade gcc and friends ? Please see below for details:
make menuconfig gives me this:
---------------------------------------------------------------------------------------------------------------- aruna@debian:/media/aruna/linux-next/home/linux-5.16.10$ make menuconfig *** *** Compiler is too old. *** Your GCC version: 4.9.2 *** Minimum GCC version: 5.1.0 *** scripts/Kconfig.include:44: Sorry, this compiler is not supported. scripts/kconfig/Makefile:48: recipe for target 'menuconfig' failed make[1]: *** [menuconfig] Error 1 Makefile:619: recipe for target 'menuconfig' failed make: *** [menuconfig] Error 2
----------------------------------------------------------------------------------------------------------------
and make -j3 gives me this:
---------------------------------------------------------------------------------------------------------------- aruna@debian:/media/aruna/linux-next/home/linux-5.16.10$ make -j3 Makefile:661: include/config/auto.conf: No such file or directory Makefile:709: include/config/auto.conf.cmd: No such file or directory SYNC include/config/auto.conf.cmd HOSTCC scripts/kconfig/conf.o HOSTLD scripts/kconfig/conf *** *** Compiler is too old. *** Your GCC version: 4.9.2 *** Minimum GCC version: 5.1.0 *** scripts/Kconfig.include:44: Sorry, this compiler is not supported. scripts/kconfig/Makefile:77: recipe for target 'syncconfig' failed make[2]: *** [syncconfig] Error 1 Makefile:619: recipe for target 'syncconfig' failed make[1]: *** [syncconfig] Error 2 Makefile:731: recipe for target 'include/config/auto.conf.cmd' failed make: *** [include/config/auto.conf.cmd] Error 2 aruna@debian:/media/aruna/linux-next/home/linux-5.16.10$
-------------------------------------------------------------------------------------------------------------
I really do not want to install the latest Debian unless there is no other way ?
Thank you, Aruna
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (1)
-
Aruna Hewapathirane