qtopia-free-src-2.2.0本地編譯:
#tar -zxvf qtopia-free-src-2.2.0.tar.gz
#cd qtopia-free-src-2.2.0
#./configure
#make
這個時候出現了問題:
/usr/bin/ld: cannot find -luuid
collect2: ld returned 1 exit status
make[5]: *** [../../../lib/libqpe.so.1.5.3] Error 1
make[4]: *** [all] Error 2
make[3]: *** [sub-libraries-qtopia] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
只好去編譯e2fsprogs-1.39.tar.gz
#tar -zxvf e2fsprogs-1.39.tar.gz
#cd e2fsprogs-1.39
#./configure
#make
以上我都正常完成,現在拷貝/e2fsprogs-1.39/lib/libuuid.a到/usr/lib
再回到qtopia-free-src-2.2.0
#cd qtopia-free-src-2.2.0
#make
新的問題出現:
/home/arm/qtopia-free-2.2.0/qtopia/lib/libqtopia.so: undefined reference to `uuid_generate'
collect2: ld returned 1 exit status
make[6]: *** [fifteen] Error 1
make[5]: *** [all] Error 2
make[4]: *** [sub-games-fifteen] Error 2
make[3]: *** [sub-src-components_pro] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
#cd e2fsprogs-1.39
#./configure --enable-elf-shlibs
#make
#cp -rf lib/libuuid.so* /usr/lib
#cd qtopia-free-src-2.2.0
#make
#make install
#./qtopia/bin/startdemo
qt畫面終於出現了!