嵌入式爱好者

查看: 10939|回复: 1

topia2.2.0编译出错,求助

[复制链接]

1

主题

1

帖子

1

积分

扫一扫,手机访问本帖
发表于 2010-4-25 20:32:18 | 显示全部楼层 |阅读模式
topia2.2.0编译出错
操作系统:Ubuntu9.10
环境设置:
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,猜想这可能是错误原因,但却不知道该怎么改,希望能得到牛人的指点
回复

使用道具 举报

0

主题

905

帖子

743

积分

i.MX6Q通行证i.MX6UL通行证TCU通行证AM335x通行证

发表于 2010-4-26 22:54:51 | 显示全部楼层
你的提示是,需要用-luuid的时候因为冲突跳过了/yizhi/armlib/libuuid.so,而并没有使用这个。
安装一个uuid-dev,看看
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2025-1-8 19:55

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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