首页| 论坛| 消息

标题:Qtopia 编译 uuid问题
作者:云中立
日期:2008-01-17 16:36
内容:

我按照实验指导书编译qtopia-free-2.1.1,一直出现下面这种错误
/2410Qt/qtopia-free-2.1.1/lib/libqtopia.so: undefined reference to `uuid_generate'
collect2: ld returned 1 exit status
make[5]: *** 错误 1
make[5]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src/games/fifteen'
make[4]: *** 错误 2
make[4]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src/games/fifteen'
make[3]: *** 错误 2
make[3]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make[2]: *** 错误 2
make[2]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make[1]: *** 错误 2
make[1]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make: *** 错误 2
我查了一些资料,知道是缺少uuid库的问题,安装了e2fsprogs-libs-1.37,
找到了libuuid.a、 libuuid.so.* 文件copy到/usr/lib/ 和qt-2. 3. 2/lib
还有qte和qtopia的lib目录中,编译后还是出现上诉错误
后来,在重新配置 . /configure -l uuid 使用了uuid参数,编译时产生了
如下的错误
amrrecord.cpp: In member function ‘bool AmrRecorderPlugin::amrFlush()’:
amrrecord.cpp:439: error: ‘PackBits’ was not declared in this scope
make[5]: *** [.obj/release-shared/amrrecord.o] 错误 1
make[5]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src/3rdparty/plugins/codecs/libamr'
make[4]: *** 错误 2
make[4]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src/3rdparty/plugins/codecs/libamr'
make[3]: *** 错误 2
make[3]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make[2]: *** 错误 2
make[2]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make[1]: *** 错误 2
make[1]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make: *** 错误 2
试了很多方法,还是一愁莫展,哪位大侠能指点一二.......
我的系统是 ubuntu7.10,编译工具是gcc-3.3


#1 [lieal 06-19 14:35]
我也遇到同样的问题,请问你解决了吗?是怎么解决的?
#2 [tempester 05-16 16:01]
我也遇到了这个问题。请问上边都解决了吗?

回复 发表
主题 版块