天嵌 ARM开发社区

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

编译Qt出错

[复制链接]
cl_king 发表于 2010-3-20 00:09:28 | 显示全部楼层 |阅读模式
本帖最后由 cl_king 于 2010-3-20 00:13 编辑

我用的是手册上给的Qte_20091216.tar.bz2解压出来的, 以下是出错的地方,麻烦帮看一下是什么问题
**********************************

********* Build Qtopia ************
***********************************
QPE_CFG="'edition' 'pda' '-displaysize' '320x240' '-fontfamilies' 'helvetica fixed micro smallsmooth smoothtimes unifont' '-luuid' -no-qtopiadesktop -release -platform 'linux-g++' -xplatform 'linux-arm-g++'"
  
make[1]: Entering directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia'
make[2]: Entering directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src'
make[3]: Entering directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src'
cd qt && make -f Makefile
make[4]: Entering directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src/qt'
make[5]: Entering directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src/qt'
make[5]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src/qt'
make[4]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src/qt'
cd libraries/qtopia && make -f Makefile
make[4]: Entering directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[5]: Entering directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src/libraries/qtopia'
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -fPIC  -DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"qpe\" -DQTOPIA_TRTARGET=\"libqpe\" -DQT_NO_DEBUG -I/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/mkspecs/qws/linux-arm-g++ -I. -I../../../include/qtopia/private -I../../../pics/qpe -I../../../include -I/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qt2/include -I../../../include/qtopia/private/ -I.moc/release-shared/ -o .obj/release-shared/qmemoryfile.o qmemoryfile.cpp
/opt/EmbedSky/4.3.3/bin/arm-linux-g++: line 3: exec: arm-none-linux-gnueabi-g++: not found
make[5]: *** [.obj/release-shared/qmemoryfile.o] Error 127
make[5]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src/libraries/qtopia'
make[3]: *** [sub-libraries-qtopia] Error 2
make[3]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia'
done !
the pro directory is already !
Build user program , please wait ...
  
Build beep , please wait ...
  
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qt2/include -I/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/include -o main.o main.cpp
/opt/EmbedSky/4.3.3/bin/arm-linux-g++: line 3: exec: arm-none-linux-gnueabi-g++: not found
make: *** [main.o] Error 127
done !
Build first , please wait ...
  
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qt2/include -I/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/include -o main.o main.cpp
/opt/EmbedSky/4.3.3/bin/arm-linux-g++: line 3: exec: arm-none-linux-gnueabi-g++: not found
make: *** [main.o] Error 127
done !
Build ledplayer , please wait ...
echo
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qt2/include -I/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/include -o main.o main.cpp
/opt/EmbedSky/4.3.3/bin/arm-linux-g++: line 3: exec: arm-none-linux-gnueabi-g++: not found
make: *** [main.o] Error 127
done !
Build netset , please wait ...
  
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qt2/include -I/opt/EmbedSky/Qte/arm-qtopia-2.2.0/qtopia/include -o main.o main.cpp
/opt/EmbedSky/4.3.3/bin/arm-linux-g++: line 3: exec: arm-none-linux-gnueabi-g++: not found
[color=Red]make: *** [main.o] Error 127
done !
done !
Start make target ,please wait ...
./arm-qtopia-2.2.0_build: line 68: cd: arm-qtopia-2.2.0/qtopia/image/opt/Qtopia/lib/fonts/: 没有那个文件或目录
mv: can't stat source helvetica_120_50.qpf
mv: can't stat source helvetica_120_50_t5.qpf
mv: can't stat source bak_helvetica_120_50_t5.qpf
mv: can't stat source bak_helvetica_120_50.qpf
cp: stat‘qtopia/image/opt’失败: 没有那个文件或目录
chmod: 无法取得 ‘set*Env’ 的属性: 没有那个文件或目录
done !
done !the konqueror directory is already !
Build konqueror , please wait ...
  
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.
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking for style of include used by make... GNU
checking for arm-linux-gcc... arm-linux-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found.  Stop.
亚瑟王 发表于 2010-3-20 12:30:06 | 显示全部楼层
1、第一处错误是指的arm-linux-g++找不到,建议你确认一下你安装的交叉编译器是否成功,测试方法:在终端输入arm-linux-g++ -v,看终端的信息。
2、第二处错误是第一处错误引起的连锁反应。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-20 13:46 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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