|
我交叉编译了Xorg7.4的TinyX,并在开发板上成功运行.但当移植基于X的GTK的时候,发现configure的时候出现以下问题(这是config.log中的信息):
哪位高手了解的请帮忙看看,谢谢了!工程停滞了几天了.
/usr/local/arm/3.4.6/lib/gcc/arm-linux/3.4.6/../../../../arm-linux/bin/ld: warning: libXau.so.6, needed by /usr/local/arm/X11R7/lib/
libXext.so, not found (try using -rpath or -rpath-link)
/usr/local/arm/3.4.6/lib/gcc/arm-linux/3.4.6/../../../../arm-linux/bin/ld: warning: libxcb-xlib.so.0, needed by /usr/local/arm/X11R7
/lib/libX11.so, not found (try using -rpath or -rpath-link)
/usr/local/arm/3.4.6/lib/gcc/arm-linux/3.4.6/../../../../arm-linux/bin/ld: warning: libxcb.so.1, needed by /usr/local/arm/X11R7/lib/
libX11.so, not found (try using -rpath or -rpath-link)
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_connection_has_error'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_xlib_lock'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_poll_for_reply'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_get_maximum_request_length'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_xlib_unlock'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_get_file_descriptor'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_connect'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_wait_for_reply'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_get_setup'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_send_request'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_wait_for_event'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_flush'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_poll_for_event'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_parse_display'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_generate_id'
/usr/local/arm/X11R7/lib/libX11.so: undefined reference to `xcb_disconnect'
从信息上来看,似乎是xcb包的编译有问题,确实,我在编译xcb的时候,出现了一堆莫名其妙的警告信息.我当时没注意,继续编译,最后把TinyX (KDriver)编译完成,而TinyX的运行是没有问题的,X的启动背景和X Cursor都正常显示.当然,这都是属于server层,而GTK属于client层.
我也尝试过编译一个简单的X client测试程序,但出现和GTK一样的错误.也就是说,Xlib出现了问题.
我在这个论坛发现一个名叫heyihong的网友在08-02-26问过同样的问题(他是在PC上编译的),似乎把问题解决了,但没有分享他的经验.
哪位高手请指点一下吧.再次谢过!!!!!!!!!!!1 |
|