主题 : x86-qtopia2.2.0编译错误:libqtopia.so: undefined reference to `uuid_generate' 复制链接 | 浏览器收藏 | 打印
有心才能办成事
级别: 新手上路
UID: 54205
精华: 0
发帖: 49
金钱: 250 两
威望: 50 点
贡献值: 0 点
综合积分: 98 分
注册时间: 2011-08-26
最后登录: 2014-03-17
楼主  发表于: 2013-05-22 09:32

 x86-qtopia2.2.0编译错误:libqtopia.so: undefined reference to `uuid_generate'

编译时出现如下错误,急求帮助:
g++  -o minesweep .obj/release-shared/minefield.o .obj/release-shared/minesweep.o .obj/release-shared/main.o .obj/release-shared/moc_minefield.o .obj/release-shared/moc_minesweep.o   -lqtopia2 -lqtopia -lqpe -L/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib -L/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/lib -lqte
/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/lib/libqtopia.so: undefined reference to `uuid_generate'[
collect2: ld returned 1 exit status
make[6]: *** [minesweep] Error 1
make[6]: Leaving directory `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/games/minesweep'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/games/minesweep'
make[4]: *** [sub-games-minesweep] Error 2
make[4]: Leaving directory `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
make[3]: *** [sub-src-components_pro] Error 2
make[3]: Leaving directory `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia'

***********************************************************************
*  
*                  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:
*     /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/doc/html/index.html
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2013-05-22 11:06
如果你是在Ubuntu上编译,可以参考一下http://blog.csdn.net/hwjjacky/article/details/6440093
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."