Problem of compiling linux2.6.11.12 kernel
He Huanyu
huanyuheatcn at 163.com
Mon Aug 6 04:10:20 EDT 2018
Thanks for your advices, I’ve just found the CentOS 6.x release is with 2.x Linux kernel. So I decide to compile version 2.6.11 kernel on a CentOS 6.x VM. It can also offers me a desktop. That’s pretty attractive:)
On 08/06/2018 10:25, Daniel. wrote:
Try with gcc 4 you may get it from AUR
Em dom, 5 de ago de 2018 23:07, He Huanyu <huanyuheatcn at 163.com> escreveu:
As you know,4.x version is so complex. And
it‘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 at kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180806/81d9df85/attachment-0001.html>
More information about the Kernelnewbies
mailing list