*** Compiler is too old

Aruna Hewapathirane aruna.hewapathirane at gmail.com
Sun Feb 20 23:52:47 EST 2022


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 at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20220220/9cf40e06/attachment.html>


More information about the Kernelnewbies mailing list