|

楼主 |
发表于 2007-8-14 16:37:56
|
显示全部楼层
今天尝试把系统的 glibc 由 2.5 升级为 2.6,记得手册曾经提及 /usr/include 里的头文件必定是用於编译 glibc 的头文件
引自 http://www.linuxfromscratch.org/ ... apter08/kernel.html
Warning
The headers in the system's include directory should always be the ones against which Glibc was compiled, that is, the sanitised headers from this Linux kernel tarball. Therefore, they should never be replaced by either the raw kernel headers or any other kernel sanitized headers.
於是顺手把老旧的 linux-libc-headers 换成 Linux API Headers,由内核源码提取出来
编译完成後依旧利用 paco 安装,又是顺利的。
paco 这发明实在太伟大了 :)
By the way, 新版 paco-2.x 很麻烦,要特别的依赖,还是用 1.2.10 算了 |
|