qtopia 编译出错
软件包的具体版本:tmake-1.11.tar.gz; qt-embedded-2.3.10.tar.gz ; qt-x11-2.3.2.tar.gz ;qtopia-free-2.1.1
安装过程如下:
将所有安装包复制到/usr/local目录下.
1解压Qtopia
tar xfz qtopia-free-1.7.x.tar.gz
cd qtopia-1.7.x
export QPEDIR=$PWD
cd ..
2安装tmake
tar xfz tmake-1.11.tar.gz
export TMAKEDIR=$PWD/tmake-1.11
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-x86-g++
export PATH=$TMAKEDIR/bin:$PATH
3安装Qt/Embedded
tar xfz qt-embedded-2.3.x.tar.gz
cd qt-2.3.x
export QTDIR=$PWD
export QTEDIR=$QTDIR
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
cp $QPEDIR/src/qt/qconfig-qpe.h src/tools/
./configure -qconfig qpe -qvfb -depths 4,8,16,32
make sub-src
cd ..
4安装Qt/X11
tar xfz qt-x11-2.3.2.tar.gz
cd qt-2.3.2
export QTDIR=$PWD
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
./configure
make
make -C tools/qvfb
mv tools/qvfb/qvfb bin
cp bin/uic $QTEDIR/bin
cd ..
5安装Qtopia
cd qtopia-1.7.x
export QTDIR=$QTEDIR
export QPEDIR=$PWD
export PATH=$QPEDIR/bin:$PATH
cd src
./configure
make
qte已经编译成功了,但是在编译qtopia时,出错如下(我用的系统是fedora core3):
/usr/local/qtopia-free-2.1.1/lib/libqtopia.so: undefined reference to `uuid_generate'
collect2: ld returned 1 exit status
make[5]: *** [fifteen] 错误 1
make[5]: Leaving directory `/usr/local/qtopia-free-2.1.1/src/games/fifteen'
make[4]: *** [all] 错误 2
make[4]: Leaving directory `/usr/local/qtopia-free-2.1.1/src/games/fifteen'
make[3]: *** [sub-games-fifteen] 错误 2
make[3]: Leaving directory `/usr/local/qtopia-free-2.1.1/src'
make[2]: *** [sub-src-components_pro] 错误 2
make[2]: Leaving directory `/usr/local/qtopia-free-2.1.1/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/usr/local/qtopia-free-2.1.1/src'
make: *** [all] 错误 2
请哪位帮忙指点谜经,不胜感激!
[ 此贴被XChinux在2006-09-14 19:32重新编辑 ]