在通向fluxbox建立小型图形桌面过程中,Xorg Applications 编译出现的问题,请高手帮忙。谢谢
时间:2008-06-23
来源:互联网
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过程中哪里出了问题?谢谢
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过程中哪里出了问题?谢谢
作者: heyihong 发布时间: 2008-06-23
/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.这个是不是根本原因呢?
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.这个是不是根本原因呢?
作者: heyihong 发布时间: 2008-06-23
已经解决.不过还是谢谢.
作者: heyihong 发布时间: 2008-06-23
似乎我也遇过,楼主不妨把问题原因也写出来.方便大家查询
作者: win2linux 发布时间: 2008-07-01
我正为这个问题而发愁阿,麻烦您给出您的解决方法,好吗,多谢了!!
作者: 一支花 发布时间: 2008-07-03
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28