主题 : 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."
有心才能办成事
级别: 新手上路
UID: 54205
精华: 0
发帖: 49
金钱: 250 两
威望: 50 点
贡献值: 0 点
综合积分: 98 分
注册时间: 2011-08-26
最后登录: 2014-03-17
2楼  发表于: 2013-05-24 11:31
谢谢,先设置一下
级别: 新手上路
UID: 94446
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2013-07-17
最后登录: 2013-07-18
3楼  发表于: 2013-07-18 20:53

 回 2楼(xulip222) 的帖子

这个问题解决了吗?
级别: 新手上路
UID: 2474
精华: 0
发帖: 17
金钱: 90 两
威望: 18 点
贡献值: 0 点
综合积分: 34 分
注册时间: 2008-11-19
最后登录: 2017-09-13
4楼  发表于: 2013-11-13 17:01
楼主,问题解决了吗。我也遇到了同样的问题,
qtopia/lib/libqtopia.so: undefined reference to `uuid_generate'[
collect2: ld returned 1 exit status
make[6]: *** [minesweep] Error 1

期待你的解答,谢谢了,我QQ:382374749
万分感谢
级别: 新手上路
UID: 73519
精华: 0
发帖: 29
金钱: 145 两
威望: 29 点
贡献值: 0 点
综合积分: 58 分
注册时间: 2012-07-10
最后登录: 2014-10-17
5楼  发表于: 2014-05-12 17:21
请问这个问题解决了吗?Ubuntu12.04编译一直报这个错误,网上的办法都实验了,就是不行
级别: 新手上路
UID: 123510
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2016-03-16
最后登录: 2016-03-24
6楼  发表于: 2016-03-23 21:24
有人解决了吗? 同样的问题哦
级别: 新手上路
UID: 123510
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2016-03-16
最后登录: 2016-03-24
7楼  发表于: 2016-03-24 09:26

 回 6楼(zgly) 的帖子

希望有人回答哦
级别: 新手上路
UID: 126035
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2016-06-17
最后登录: 2016-06-23
8楼  发表于: 2016-06-20 02:51

 回 6楼(zgly) 的帖子

请问你解决了吗,可以给一个解决方案吗,网上的都试过了还是报这样的错误