LinuxSir.cn,穿越时空的Linuxsir!

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

在通向fluxbox建立小型图形桌面过程中,Xorg Applications 编译出现的问题,请高手帮忙

[复制链接]
发表于 2008-6-22 20:47:39 | 显示全部楼层 |阅读模式
Xorg Applications ,app有很多个包。在编译第一个包出现一下信息:

config.status: executing depfiles commands
make  all-am
make[1]: Entering directory `/root/xc/app/app/appres-1.0.1'
gcc  -g -O2   -o appres  appres-appres.o -L/usr/X11/lib -lXt -lX11 -lSM -lICE
/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: war
ning: libxcb-xlib.so.0, needed by /usr/X11/lib/libX11.so, not found (try using -
rpath or -rpath-link)
/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: war
ning: libxcb.so.1, needed by /usr/X11/lib/libX11.so, not found (try using -rpath
or -rpath-link)
/usr/X11/lib/libX11.so: undefined reference to `xcb_disconnect'
/usr/X11/lib/libX11.so: undefined reference to `xcb_connect'
/usr/X11/lib/libX11.so: undefined reference to `xcb_generate_id'
/usr/X11/lib/libX11.so: undefined reference to `xcb_poll_for_event'
/usr/X11/lib/libX11.so: undefined reference to `xcb_wait_for_event'
/usr/X11/lib/libX11.so: undefined reference to `xcb_poll_for_reply'
/usr/X11/lib/libX11.so: undefined reference to `xcb_connect_to_display_with_auth
_info'
/usr/X11/lib/libX11.so: undefined reference to `xcb_get_setup'
/usr/X11/lib/libX11.so: undefined reference to `xcb_get_request_sent'
/usr/X11/lib/libX11.so: undefined reference to `xcb_send_request'
/usr/X11/lib/libX11.so: undefined reference to `xcb_wait_for_reply'
/usr/X11/lib/libX11.so: undefined reference to `xcb_xlib_lock'
/usr/X11/lib/libX11.so: undefined reference to `xcb_connection_has_error'
/usr/X11/lib/libX11.so: undefined reference to `xcb_get_file_descriptor'
/usr/X11/lib/libX11.so: undefined reference to `xcb_xlib_unlock'
/usr/X11/lib/libX11.so: undefined reference to `xcb_flush'
/usr/X11/lib/libX11.so: undefined reference to `xcb_get_maximum_request_length'
/usr/X11/lib/libX11.so: undefined reference to `xcb_parse_display'
collect2: ld returned 1 exit status
make[1]: *** [appres] Error 1
make[1]: Leaving directory `/root/xc/app/app/appres-1.0.1'
make: *** [all] Error 2

请问这个时候我怎么解决问题,是编译XORG过程中哪里出了问题?谢谢
 楼主| 发表于 2008-6-22 20:52:08 | 显示全部楼层
/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: war
ning: libxcb-xlib.so.0, needed by /usr/X11/lib/libX11.so, not found (try using -
rpath or -rpath-link)
/tools/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: war
ning: libxcb.so.1, needed by /usr/X11/lib/libX11.so, not found (try using -rpath
or -rpath-link)
我查了下,libxcb-xlib.so.0和libxcb.so.1在上面的目录是存在的。我之前还成功安装xorg 呢。唯一和以前的区别是,我在我制作的文件系统里不安装GCC。编译呢是用在做LFS的时候建立的临时编译环境,是在/tools目录底下的gcc.这个是不是根本原因呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-23 19:06:06 | 显示全部楼层
已经解决.不过还是谢谢.
回复 支持 反对

使用道具 举报

发表于 2008-6-30 22:20:27 | 显示全部楼层
似乎我也遇过,楼主不妨把问题原因也写出来.方便大家查询
回复 支持 反对

使用道具 举报

发表于 2008-7-3 15:34:59 | 显示全部楼层
我正为这个问题而发愁阿,麻烦您给出您的解决方法,好吗,多谢了!!
回复 支持 反对

使用道具 举报

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

本版积分规则

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