LinuxSir.cn,穿越时空的Linuxsir!

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

blfs 安装x库出错

[复制链接]
发表于 2006-12-12 20:44:16 | 显示全部楼层 |阅读模式
我按照手册先把三个需要的库安装好,然后编译出错:
/tools/bin/gcc i686-pf-linux-gcc/..../i686-pc-linux-gcc/3.4.3  i686-pc-linux-gnu/bin/ld:cannot find -lfl
collect2: ld returned 1 exit status
make[4]:***[pswrap] Error1
发表于 2006-12-13 09:41:29 | 显示全部楼层
都到blfs了,怎么还用/tools下的?我装好lfs就把/tools删了,难道我记错了?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-13 13:04:42 | 显示全部楼层
Post by gzyui
都到blfs了,怎么还用/tools下的?我装好lfs就把/tools删了,难道我记错了?

我没删,为了下次再做的话方便,这应该没关系的吧.
回复 支持 反对

使用道具 举报

发表于 2006-12-13 13:28:32 | 显示全部楼层
LFS在配置启动脚本之前就不用/tools下面工具链了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-14 08:51:44 | 显示全部楼层
我把tools删了,再编译后,又出现下面的错误:
In file included from ../../../../../../lib/GL/dri/drm/drm.h:39,
                 from ../../../../../../lib/GL/dri/drm/xf86drm.c:70:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
make[5]: *** [../../../../../../lib/GL/dri/drm/xf86drm.o] Error 1
make[5]: Leaving directory `/sources/xc/lib/GL/mesa/src/drv/gamma'
make[4]: *** [install] Error 2
make[4]: Leaving directory `/sources/xc/lib/GL/mesa/src/drv'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/sources/xc/lib/GL'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/sources/xc/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/sources/xc'
make: *** [install] Error 2
网上查了下,好像是关于显卡用的内核模块,是不是在编译内核时出错了?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-14 08:51:46 | 显示全部楼层
我把tools删了,再编译后,又出现下面的错误:
In file included from ../../../../../../lib/GL/dri/drm/drm.h:39,
                 from ../../../../../../lib/GL/dri/drm/xf86drm.c:70:
/usr/include/linux/config.h:1:2: #error "Compilation aborted. Please read the FAQ for linux-libc-headers package."
/usr/include/linux/config.h:2:2: #error "(can be found at http://ep09.pld-linux.org/~mmazur/linux-libc-headers/doc/)"
make[5]: *** [../../../../../../lib/GL/dri/drm/xf86drm.o] Error 1
make[5]: Leaving directory `/sources/xc/lib/GL/mesa/src/drv/gamma'
make[4]: *** [install] Error 2
make[4]: Leaving directory `/sources/xc/lib/GL/mesa/src/drv'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/sources/xc/lib/GL'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/sources/xc/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/sources/xc'
make: *** [install] Error 2
网上查了下,好像是关于显卡用的内核模块,是不是在编译内核时出错了?
回复 支持 反对

使用道具 举报

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

本版积分规则

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