LinuxSir.cn,穿越时空的Linuxsir!

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

哪位兄弟在nptl+kernel-2.6的系统下在blfs阶段成功安装了gcc-2.95.3的呢?

[复制链接]
发表于 2004-3-11 22:07:47 | 显示全部楼层 |阅读模式
指在BLFS阶段而不是在LFS阶段安装的为了编译内核而安装的简易版的.
我一直安装不成功,发现最后的症状是因为在/usr/include/bits/libc-lock.h这个头文件里面的一段:
/* Fortunately Linux now has a mean to do locking which is realtime
   safe without the aid of the thread library.  We also need no fancy
   options like error checking mutexes etc.  We only need simple
   locks, maybe recursive.  This can be easily and cheaply implemented
   using futexes.  We will use them everywhere except in ld.so since
   ld.so might be used on old kernels with a different libc.so.  */
#ifdef _LIBC
# include <lowlevellock.h>
# include <tls.h>
# include <pthread-functions.h>
#endif

但是lowlevelock.h tls.h pthread-functions.h 这几个文件根本 就找不到,所以在编译gcc-2.95.3的时候就一直不能通过了.比较郁闷.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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