libx11编译问题

libx11编译是没有问题的呀(很顺利的就通过) 
可是当我编译别的别东西时候用到这个库就出现下面的错误(换了个老的库就好了):
顺便说一下,编译libX11时libxcb,libxau这些依赖库也是自已编的,

/opt/gcc-3.4.6/bin/../lib/gcc/mipsel-linux/3.4.6/../../../../mipsel-linux/bin/ld: warning: libxcb.so.1, needed by /home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so, not found (try using -rpath or -rpath-link)

/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_disconnect’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_writev’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_connect’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_generate_id’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_poll_for_event’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_wait_for_event’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_poll_for_reply’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_connect_to_display_with_auth_info’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_get_setup’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_wait_for_reply’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_connection_has_error’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_get_file_descriptor’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_get_maximum_request_length’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_parse_display’未定义的引用
/home/loongson/lib_mipsel_gcc3.4.6/libX11-1.3.2/lib/libX11.so:对‘xcb_take_socket’未定义的引用


请高手指点

作者: mxcai2005   发布时间: 2011-01-09


怎么没有人回呀

作者: mxcai2005   发布时间: 2011-01-11