+ -
当前位置:首页 → 问答吧 → 在通向fluxbox建立小型图形桌面过程中,Xorg Applications 编译出现的问题,请高手帮忙。谢谢

在通向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过程中哪里出了问题?谢谢

作者: 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.这个是不是根本原因呢?

作者: heyihong   发布时间: 2008-06-23

已经解决.不过还是谢谢.

作者: heyihong   发布时间: 2008-06-23

似乎我也遇过,楼主不妨把问题原因也写出来.方便大家查询

作者: win2linux   发布时间: 2008-07-01

我正为这个问题而发愁阿,麻烦您给出您的解决方法,好吗,多谢了!!

作者: 一支花   发布时间: 2008-07-03

热门下载

更多