LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1092|回复: 3

为什么kernel-headers 和 kernel的版本不一样

[复制链接]
发表于 2006-8-30 14:43:07 | 显示全部楼层 |阅读模式
[root@206studio proc]# pacman -Q | grep kernel
kernel-headers 2.6.12.0-1
kernel26 2.6.17.11-1

为什么kernel-headers 和 kernel的版本不一样?
发表于 2006-8-30 17:21:19 | 显示全部楼层
For years it has been common practice to use “raw” kernel headers (straight from a kernel tarball) in /usr/include, but over the last few years, the kernel developers have taken a strong stance that this should not be done. This gave birth to the Linux-Libc-Headers Project, which was designed to maintain an API stable version of the Linux headers.


http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/FAQ
回复 支持 反对

使用道具 举报

发表于 2006-8-30 20:53:46 | 显示全部楼层
这是出自 LFS 手册的吧
For years it has been common practice to use “raw” kernel headers (straight from a kernel tarball) in /usr/include, but over the last few years, the kernel developers have taken a strong stance that this should not be done. This gave birth to the Linux-Libc-Headers Project, which was designed to maintain an API stable version of the Linux headers.

http://www.linuxfromscratch.org/ ... x-libc-headers.html

可是 Linux-Libc-Headers Project 寿终正寝了,现在各大发行版开始自行去"净化"内核的头文件了

http://cross-lfs.org/view/svn/x86/final-system/linux-headers.html

相关讨论:
http://www.linuxsir.cn/bbs/showthread.php?t=260766
回复 支持 反对

使用道具 举报

发表于 2006-8-30 21:23:35 | 显示全部楼层
老兄对LFS真是熟:cool:

今天困了,明天就这个话题可能还有些问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表