Try with gcc 4 you may get it from AUR
Em dom, 5 de ago de 2018 23:07, He Huanyu <huanyuheatcn@xxxxxxx> escreveu:
_______________________________________________As you know,4.x version is so complex. Andit‘s difficult to read the source code for newbies like me.Of course one of the most important reasons is that I am reading 《UNDERSTANDING THE LINUX KERNEL》 :) And it’s for 2.6.11 version. I am thinking about build a environment to practice.On 08/06/2018 05:36, valdis.kletnieks wrote:On Mon, 06 Aug 2018 01:10:40 +0800, "He Huanyu" said:
> linux 4.16.9-1-ARCH
> gcc (GCC) 8.1.1 20180531
> GNU ld (GNU Binutils) 2.30
> And I get a problem like this, don't know if it is because of the version of gcc or ld:
The problem is the version of Linux. 2.6.11 probably won't build with gcc 8.
Why are you trying to build 2.6.11 if you have 4.16 available? That dates to June 2005,
and is only of interest to software archaeologists.
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies