<div dir="ltr"><div class="gmail_quote"><div dir="ltr">>> On Mon, Feb 21, 2022 at 3:45 AM Hamza Mogni <<a href="mailto:hamzamogni5@gmail.com">hamzamogni5@gmail.com</a>> wrote:</div><div dir="ltr">>> Hello Aruna,</div><div dir="ltr">>> 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,</div><div dir="ltr">>> so maybe start with that.<br></div><div dir="ltr">>> Thanks.</div><div dir="ltr"><br></div><div>Thank you Hamza I will try to do so. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 21 Feb 2022 at 05:53, Aruna Hewapathirane <<a href="mailto:aruna.hewapathirane@gmail.com" target="_blank">aruna.hewapathirane@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>It has been some time since I needed to compile a kernel and I have this problem now. <br>*** Compiler is too old.<br><br>What would be the sanest way to do this? Meaning upgrade gcc and friends ? Please see below for details:<br></div><div><br></div><div>make menuconfig gives me this:<br></div><div>----------------------------------------------------------------------------------------------------------------<br></div><div>aruna@debian:/media/aruna/linux-next/home/linux-5.16.10$ make menuconfig<br>***<br>*** Compiler is too old.<br>***   Your GCC version:    4.9.2<br>***   Minimum GCC version: 5.1.0<br>***<br>scripts/Kconfig.include:44: Sorry, this compiler is not supported.<br>scripts/kconfig/Makefile:48: recipe for target 'menuconfig' failed<br>make[1]: *** [menuconfig] Error 1<br>Makefile:619: recipe for target 'menuconfig' failed<br>make: *** [menuconfig] Error 2</div><div>----------------------------------------------------------------------------------------------------------------</div><div><br></div><div>and make -j3 gives me this:</div><div>----------------------------------------------------------------------------------------------------------------</div><div>aruna@debian:/media/aruna/linux-next/home/linux-5.16.10$ make -j3</div>Makefile:661: include/config/auto.conf: No such file or directory<br>Makefile:709: include/config/auto.conf.cmd: No such file or directory<br>  SYNC    include/config/auto.conf.cmd<br>  HOSTCC  scripts/kconfig/conf.o<br>  HOSTLD  scripts/kconfig/conf<br>***<br>*** Compiler is too old.<br>***   Your GCC version:    4.9.2<br>***   Minimum GCC version: 5.1.0<br>***<br>scripts/Kconfig.include:44: Sorry, this compiler is not supported.<br>scripts/kconfig/Makefile:77: recipe for target 'syncconfig' failed<br>make[2]: *** [syncconfig] Error 1<br>Makefile:619: recipe for target 'syncconfig' failed<br>make[1]: *** [syncconfig] Error 2<br>Makefile:731: recipe for target 'include/config/auto.conf.cmd' failed<br>make: *** [include/config/auto.conf.cmd] Error 2<br><div>aruna@debian:/media/aruna/linux-next/home/linux-5.16.10$ <br></div><div>-------------------------------------------------------------------------------------------------------------</div><div><br></div><div>I really do not want to install the latest Debian unless there is no other way ?</div><div><br></div><div>Thank you, Aruna <br></div><div><br></div><div><br></div><br></div>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div></div>
</blockquote></div></div>