天嵌 ARM开发社区

 找回密码
 注册
查看: 2038|回复: 5

qtopia2.2.0编译错误,求助阿

[复制链接]
xdicac 发表于 2010-4-25 20:19:45 | 显示全部楼层 |阅读模式
topia2.2.0编译
环境设置:
export QTDIR=/yizhi/qtopia-free-2.2.0/qt2
export QPEDIR=/yizhi/qtopia-free-2.2.0/qtopia
export LD_LIBRARY_PATH=/$QTDIR/lib:$QPEDIR/lib:$LD_LIBRARY_PATH
export TMAKEDIR=/yizhi/qtopia-free-2.2.0/tmake
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-arm-g++
export PATH=/usr/local/arm/2.95.3/bin:$TMAKEDIR/bin:$PATH
topia2.2.0配置:
./configure -qte '-embedded -no-xft -qconfig qpe -depths 16,32 -system-jpeg -system-libpng -system-zlib  -gif -no-g++-exceptions -no-qvfb -xplatform linux-arm-g++ -tslib -I/yizhi/arminclude  -L/yizhi/armlib -I/yizhi/tslib/include -L/yizhi/tslib/lib' -qpe '-edition pda -displaysize 320x240 -fontfamilies "helvetica fixed micro smallsmooth smoothtimes unifont" -xplatform linux-arm-g++ -I/yizhi/arminclude -L/yizhi/armlib -I/yizhi/tslib/include -L/yizhi/tslib/lib -luuid -prefix=/yizhi/qtopia-free-2.2.0 ' -qt2 '-no-opengl -no-xft' -dqt '-no-xft -thread' 2>../conEer.txt

错误:
......
.....
***********************************
********* Build Qtopia ************
***********************************
QPE_CFG="'edition' 'pda' '-displaysize' '320x240' '-fontfamilies' 'helvetica fixed micro smallsmooth smoothtimes unifont' '-I/yizhi/arminclude' '-L/yizhi/armlib' '-I/yizhi/tslib/include' '-L/yizhi/tslib/lib' '-luuid' -no-qtopiadesktop -prefix '/yizhi/qtopia-free-2.2.0' -release -platform 'linux-g++' -xplatform 'linux-arm-g++'"

The following configuration values have been guessed or autodetected:
    -arch arm
    -edition pda
    -fontsizes all
    -fontstyles 50 50i 75 75i
    -languages en_US

Symlinking header files to include directory
Creating qmake...make[1]: 正在进入目录 `/yizhi/qtopia-free-2.2.0/qtopia/qmake'
..............................................make[1]:正在离开目录 `/yizhi/qtopia-free-2.2.0/qtopia/qmake'

Creating pngscale...make[1]: 正在进入目录 `/yizhi/qtopia-free-2.2.0/qtopia/util/pngscale'
.................................................................make[1]:正在离开目录 `/yizhi/qtopia-free-2.2.0/qtopia/util/pngscale'

***********************************************************************
*  
*                  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:
*     /yizhi/qtopia-free-2.2.0/qtopia/doc/html/index.html
*  
***********************************************************************

我根据提示进入/yizhi/qtopia-free-2.2.0/qtopia/util/pngscale,输入make

/usr/bin/ld: skipping incompatible /yizhi/armlib/libuuid.so when searching for -luuid
/usr/bin/ld: skipping incompatible /yizhi/armlib//libuuid.a when searching for -luuid
/usr/bin/ld: cannot find -luuid
collect2: ld returned 1 exit status

我当初编译e2fsprogs是用如下配置:
./configure --enable-elf-shlibs --host=arm-linux --with-cc=/usr/local/arm/2.95.3/bin/arm-linux-gcc --with-linker=/usr/local/arm/2.95.3/bin/arm-linux-ld --prefix=/usr/local/arm/2.95.3/arm-linux

发现make时使用的并不是/usr/local/arm/2.95.3/bin/arm-linux-ld,猜想这可能是错误原因,但却不知道该怎么改,希望能得到牛人的指点
 楼主| xdicac 发表于 2010-4-25 20:24:22 | 显示全部楼层
1# xdicac

进入/yizhi/qtopia-free-2.2.0/qtopia/util/pngscale,输入make,我是不是不能这么找错阿
亚瑟王 发表于 2010-5-8 19:00:49 | 显示全部楼层
你的交叉编译器中缺少libuuid的库文件。
kelvinjie 发表于 2010-9-23 08:28:35 | 显示全部楼层
向亚瑟王学习~
wiii 发表于 2010-10-24 11:03:01 | 显示全部楼层
3# 亚瑟王


请教亚瑟王 libz是什么库?教程上说的库如何添加?
天嵌_support1 发表于 2010-10-25 17:19:09 | 显示全部楼层
5# wiii

这是系统中安装的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-9-27 23:27 , Processed in 1.021524 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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