天嵌 ARM开发社区

 找回密码
 注册
查看: 5772|回复: 6

求助:qtopia移植问题

[复制链接]
zwxhehe2012 发表于 2012-11-15 16:15:03 | 显示全部楼层 |阅读模式
移植qtopia到开发板后出现下面错误提示信息:

yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 180K
hwclock: settimeofday() failed: Invalid argument
/etc/init.d/rcS: line 28: EmbedSky_wdg: not found
insmod: can't read '/lib/input-polldev.ko': No such file or directory
insmod: can't read '/lib/mac80211.ko': No such file or directory
insmod: can't read '/lib/rt2x00lib.ko': No such file or directory
insmod: can't read '/lib/rt2x00usb.ko': No such file or directory
insmod: can't read '/lib/rt73usb.ko': No such file or directory
insmod: can't read '/lib/zd1211rw.ko': No such file or directory
insmod: can't read '/lib/ov9650.ko': No such file or directory
/etc/init.d/rcS: line 42: net_set: not found
/etc/rc.d/init.d/leds: line 16: led-player: not found
/etc/rc.d/init.d/httpd: line 16: /sbin/boa: not found
Start Qtopia-2.2.0
Please press Enter to activate this console. eth0: link up, 10Mbps, full-duplex,
lpa 0xCC61
/sbin/qtopia: line 28: /opt/qtopia/bin/qpe: not found

[\u@\h \W]# cd opt/qtopia/
[\u@\h \W]# cd bin
[\u@\h \W]# ls qpe -l
-rwxr-xr-x    1 root     root       772899 Nov  6  2012 qpe
[\u@\h \W]#

提示找不到qpe,但是上面显示目录下面有qpe

我的移植步奏:
1:将编译好的arm-qtopia-2.2目录下的app.lib.etc.等10个目录内容拷贝到自己的文件系统/opt/qtopia目录下,其中拷贝lib目录时采用cp *.so*  /.../rootfs/opt/qtopia/lib -d 命令拷贝,不加-d拷贝的库文件很大
2:拷贝光盘中成功的文件系统中的kde目录内容到自己文件系统
3:关于教程上移植编译好的qt目录下的ib文件到自己文件系统/opt/qt/lib目录有点疑问:看到其他资料没有看到这一步以及光盘中的文件系统中没有/opt/qt目录,所以这一步没有做,没有拷贝qt的lib目录
4:在自己的文件系统sbin目录下qtopia脚本程序,这一步确认无误

现在问题是找不到qpe文件,但是确实有qpe文件,移植编译arm-qtopia-2.2.也没提示什么错误,得到的qte也应该没什么问题,麻烦帮忙找一下问题:
TQ-ZQL 发表于 2012-11-15 16:31:32 | 显示全部楼层
'/lib/input-polldev.ko'你看下有没有相关文件,
/etc/rc.d/init.d/leds: line 16: led-player: not found  这些也是看下有没有相关文件,权限对不对是不是可执行的
 楼主| zwxhehe2012 发表于 2012-11-15 16:37:41 | 显示全部楼层
TQ-ZQL 发表于 2012-11-15 16:31
'/lib/input-polldev.ko'你看下有没有相关文件,
/etc/rc.d/init.d/leds: line 16: led-player: not found ...

qpe文件权限是可执行的,我想问一下,'/lib/input-polldev.ko'
/etc/rc.d/init.d/leds: line 16: led-player: not found
这两个文件跟qpe执行有关系吗?
TQ-lkp 发表于 2012-11-15 16:49:46 | 显示全部楼层
没有关系, 是硬件的驱动和一些测试程序
 楼主| zwxhehe2012 发表于 2012-11-15 17:11:01 | 显示全部楼层
TQ-lkp 发表于 2012-11-15 16:49
没有关系, 是硬件的驱动和一些测试程序

请问一下天嵌qt完全开发教程中这一步做又什么用?我没做这一步,否则文件系统太大大于sdram 64m烧不进去

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| zwxhehe2012 发表于 2012-11-16 10:44:30 | 显示全部楼层
TQ-lkp 发表于 2012-11-15 16:49
没有关系, 是硬件的驱动和一些测试程序

后来重新编译了arm-qtopia-2.2.0,并输出错误提示到文件中:
其中有一段是这样的:

repeatentry.cpp:91: warning: 'void nextButton(QWidget**, int, bool)' defined but not used
../3rdparty/libraries/rsync/netint.c: In function `rs_suck_netint':
../3rdparty/libraries/rsync/netint.c:133: warning: dereferencing type-punned pointer will break strict-aliasing rules
../3rdparty/libraries/rsync/netint.c: In function `rs_int_len':
../3rdparty/libraries/rsync/netint.c:179: warning: integer constant is too large for "long" type
../3rdparty/libraries/rsync/readsums.c: In function `rs_loadsig_s_strong':
../3rdparty/libraries/rsync/readsums.c:117: warning: dereferencing type-punned pointer will break strict-aliasing rules
pda/launcherview.cpp:804: warning: 'translatedMimeTypes' defined but not used
pda/launcher.cpp:514: warning: 'bool isVisibleWindow(int)' defined but not used
find: /opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/misc: 没有那个文件或目录
arm-linux-strip: /opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/image/opt/Qtopia/bin/qpe-reorgfiles: File format not recognized
make[5]: [install_bins] Error 1 (ignored)
arm-linux-strip: /opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/image/opt/Qtopia/bin/qtopia-addmimetype: File format not recognized
make[5]: [install_bins] Error 1 (ignored)
arm-linux-strip: /opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/image/opt/Qtopia/bin/qipkg-info-file: File format not recognized
make[6]: [install_info] Error 1 (ignored)
arm-linux-strip: /opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/image/opt/Qtopia/bin/qtopia-stop-internal: File format not recognized
make[6]: [install_bin] Error 1 (ignored)
arm-linux-strip: /opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/image/opt/Qtopia/bin/targzip: File format not recognized
make[6]: [install_bins] Error 1 (ignored)
arm-linux-strip: /opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/image/opt/Qtopia/bin/targunzip: File format not recognized
make[6]: [install_bins] Error 1 (ignored)
ledtest.cpp: In constructor `ledplayer::ledplayer(QWidget*, const char*, uint)':
ledtest.cpp:1193: warning: statement has no effect
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
./configure: line 24302: test: : integer expression expected
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
dcopclient.cpp: In member function `bool DCOPClient::call(const QCString&, const QCString&, const QCString&, const QByteArray&, QCString&, QByteArray&)':
dcopclient.cpp:114: warning: unused variable 'res'
提示有错误,但是忽略掉了继续执行了没有停止,最后编译完了提示如下:

fi
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
/bin/sh ../../libtool --silent --mode=link --tag=CXX arm-linux-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-rtti -D_QT_QPE_ -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST   -ldl -o konqueror  -L/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/lib -L/usr/local/kde/lib   main.o mainwindowbase.o htmlview.o popuphandler.o view.o run.o browseriface.o bookmarks.o preferences.o preferencesimpl.o mainwindow_qpe.o mainwindow_x11.o mainwindow_kiosk.o xmltree.o bookmarkeditor.o bookmarkeditorimpl.o bookmarkedit.o bookmarkeditimpl.o mainwindebug.o   ../../konq-embed/kdesrc/khtml/ecma/libkjs_html_i.la ../../konq-embed/kdesrc/kjs/libkjs.la  ../../konq-embed/kdesrc/khtml/libkhtml_i.la
make[5]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/konqueror/konq-embed/src'
make[4]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/konqueror/konq-embed/src'
make[3]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/konqueror/konq-embed/src'
make[3]: Entering directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/konqueror/konq-embed'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/konqueror/konq-embed'
make[2]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/konqueror/konq-embed'
make[2]: Entering directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/konqueror'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/konqueror'
make[1]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/konqueror'
done !
请问一下,上面的错误信息会不会引起编译出的qtopia/bin/qpe不能使用,导致开发板中找不到qpe,后面编译完的提示信息能不能断定编译成功?麻烦解答一下,谢谢
nbhljw 发表于 2013-1-22 09:35:37 | 显示全部楼层
zwxhehe2012 发表于 2012-11-16 10:44
后来重新编译了arm-qtopia-2.2.0,并输出错误提示到文件中:
其中有一段是这样的:

请问解决了吗?我也碰到类似问题了,想请教一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-16 03:13 , Processed in 1.031250 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表