天嵌 ARM开发社区

 找回密码
 注册
查看: 1585|回复: 1

qt 编译出错,求教高手

[复制链接]
zhaole20094463 发表于 2011-8-13 10:57:47 | 显示全部楼层 |阅读模式
make[5]: /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/bin/uic: Command not found
make[5]: *** [../../../include/qtopia/private/passwordbase_p.h] Error 127
make[5]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[3]: *** [sub-libraries-qtopia] Error 2
make[3]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia'

***********************************************************************
*  
*                  ERROR: Building Qtopia has failed.
*  
* Please search the make output for any error messages.
*  
* Hint: If the configuration has changed since the last successfull
* build consider using make clean to ensure that all binaries
* are rebuilt using the new configuration.
*  
* For more information about the build process please use a browser
* and go to the getting started section in:
*     /opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/doc/html/index.html
*  
***********************************************************************
/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/scripts/buildQtopia -build qpe install
Building Qtopia Tools.

***********************************
********* Build Qt 2 **************
***********************************
QT2_CFG="'-no-opengl' '-no-xft' -platform 'linux-g++'"


This is the Qt Free Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of the license?
我在做的是编译QTOPIA2.0,按照教程一部一部来的
我用的是fodera14,gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC)
arm-linuv-gcc -v   是这个版本gcc version 4.3.3 (Sourcery G++ Lite 2009q1-176)
开始看了大家的说法,就重装了fedora10。可是fodera10也编译不过去。显示错误时write error:NO device left。
df查看硬盘空间,发现, dev/sda2使用了百分之百,然后打算用fdisk更改硬盘空间,但是由于在虚拟机里,不能打开硬件,canot open dev ,所以问题一直没有得到解决
。我安装的是Fedora-10-i386-dvd-iso,一旦安装开始只是让我建了一个用户和密码,并没有选择其他的选项,全部默认安装,且为英文版,并不知道是否完全安装了,所以,还是改用了fodera14,但是问题依旧没有结局,不知道有没有人遇到了一样的问题,解决哪一个都可以,或者谁有编译通过QT的fodera的版本,可以QQ发给我,QQ号478921797
 楼主| zhaole20094463 发表于 2011-8-13 11:23:50 | 显示全部楼层
在编译过程中还会出现这个错误
moc.y:634:74: warning: deprecated conversion from string constant to ‘char*’
moc.y:638:75: warning: deprecated conversion from string constant to ‘char*’
moc.y:650:18: warning: deprecated conversion from string constant to ‘char*’
moc.y:670:18: warning: deprecated conversion from string constant to ‘char*’
moc.y:713:18: warning: deprecated conversion from string constant to ‘char*’
moc.y:729:18: warning: deprecated conversion from string constant to ‘char*’
moc.y:738:18: warning: deprecated conversion from string constant to ‘char*’
moc.y:739:18: warning: deprecated conversion from string constant to ‘char*’
y.tab.c:3175:1: warning: label ‘yyerrlab’ defined but not used
不知道是什么原因造成的,如何解决跟后面的错误是否有联系?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-9-28 05:27 , Processed in 1.022500 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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