交叉编译Qtopia4.3.3出错
各位前辈:最近一直做qtopia4.3.3的交叉编译,可就是一直报错,我现有已经把qtopia4.3.3的生成路径/usr/local/Trolltech/QtopiaCore-4.3.3-arm mount 到了板子上的/mnt下。PATH路径设定为/mnt/bin:/usr/bin:/bin:/usr/sbin:/sbin 。可是现在关键是老是报庫相关的错误。我把LD_LBRARRY_PATH设定为/lib:/usr/lib:/mnt/lib 。运行/mnt/example/mainwidow/applicatiohn/下的./application
它提示:
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by ./application)
./application: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /mnt/lib/libQtGui.so.4)
./application: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /mnt/lib/libQtGui.so.4)
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /mnt/lib/libQtGui.so.4)
./application: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /mnt/lib/libQtNetwork.so.4)
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /mnt/lib/libQtNetwork.so.4)
./application: /lib/libm.so.6: version `GLIBC_2.2' not found (required by /mnt/lib/libQtCore.so.4)
./application: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /mnt/lib/libQtCore.so.4)
./application: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /mnt/lib/libQtCore.so.4)
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /mnt/lib/libQtCore.so.4)
./application: /lib/libc.so.6: version `GLIBC_2.1.2' not found (required by /mnt/lib/libQtCore.so.4)
./application: /lib/libpthread.so.0: version `GLIBC_2.2' not found (required by /mnt/lib/libQtCore.so.4)
./application: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by /mnt/lib/libQtCore.so.4)
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /mnt/lib/libstdc++.so.6)
./application: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /mnt/lib/libstdc++.so.6)
./application: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /mnt/lib/libstdc++.so.6)
./application: /lib/libc.so.6: version `GLIBC_2.2.4' not found (required by /mnt/lib/libgcc_s.so.1)
./application: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /mnt/lib/libgcc_s.so.1)
我已经把libstdc++.so.6拷贝到了/mnt/lib下了,可它却去/lib下去找。
当我把D_LBRARRY_PATH设定为/mnt/lib:/lib:/usr/lib
它又提示:
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libdl.so.2)
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libpthread.so.0)
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libc.so.6)
我已经把ld-linux.so.2拷贝到了/mnt/lib下了
这时候运行任何命令都提示:
clear
clear: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libc.so.6)
然后我就再改变LD_LIBRARY_PATH的庫顺序
unset LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/mnt/lib:/usr/lib:/lib
结果和第一次错误一样。
它老提示我/lib下缺少**文件,可是我/mnt/lib下已经有了相应文件。可我的板子上的文件系统除了/tmp其它都是不可写的,连链接也不可以呀!
改变其它的像:
export LD_LIBRARY_PATH=/mnt/lib
提示:
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libdl.so.2)
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libpthread.so.0)
./application: /lib/ld-linux.so.2: version `GLIBC_PRIVATE' not found (required by /mnt/lib/libc.so.6)
它现在就是提示/lib下没有**文件,可是在我的挂载的/mnt/lib下我已经 从arm-linux-gcc交叉编译器的/arm-linux/lib目录下拷贝过来了。你们说这该怎么办。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
QLinuxFbScreen::connect: Bad address
Error reading palette from framebuffer, using default palette
QLinuxFbScreen::connect: Bad address
Error reading palette from framebuffer, using default palette
现在出现这种错误,我不知道是什么原因造成的,有没有人帮我一下呀
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
只需要你们告诉我是什么原因
我现在用的是4。2。1版本的,就是和“qtopia 4.2.3 移植 交叉编译记录&总结”这篇文章的作者的方法编译的,难道非得用4。2。3的吗?
我的frambuffer 没有问题,因为开发板本几带的minigui 可以运行。要不我再换4。2。3 试验一下
Qtopia4.3.3我没有移植过,根据你的错误信息先检查你的FrameBuffer驱动是否正常,开机能否显示logo图标?
如果单独调一个应用的话,提示如下错误
QLinuxFbScreen::connect: Bad address
Error reading palette from framebuffer, using default palette
希望各位高手一定要帮帮我呀,我已经搞了半个月了,再不行我可就崩溃了!!!!!!!!!!!
我现在已经把库的依赖产问题解决了,我通过mount命令把板子上的/lib和/usr都mount到了pc机上的我配置好的目录上了。可是又出现以下错误。
QFSFileEngine:pen: No file name specified
QFSFileEngine:pen: No file name specified
QFile::seek: IODevice is not open
QFSFileEngine:pen: No file name specified
QFile::seek: IODevice is not open
QFile::seek: IODevice is not open
QFile::seek: IODevice is not open
QLinuxFbScreen::connect: Bad address
Error reading palette from framebuffer, using default palette
Unable to open /tmp/qtocore /etc/zoneinfo/zone.tab
Timezone data must be installed at /tmp/qtocore /etc/zoneinfo/
Unable to open '/tmp/qtocore /etc/zoneinfo/America/New_York'
QTimeZone::data Can't create a valid data object for 'America/New_York'
initEnvironment() Invalid QTimeZone America/New_York
Could not connect "" " "
好像是和我的FRAMBUFFER有关,希望有好心人能够帮我一把!!!!!
是你的库没有设置好。
建议自己写GUI。Qt太贵,用Qt还不如用Windows CE 6.0,还有技术支持。
怎么就没有人回答呀!我现在了解到,可能是因为我板子上的库文件版本不够的问题.因为我的板子可写的只有/tmp目录.今天打算把文件系统烧写一下,看看怎么样