• 6775阅读
  • 2回复

Qtopia 编译 uuid问题 [复制链接]

上一主题 下一主题
离线云中立
 

只看楼主 倒序阅读 楼主  发表于: 2008-01-17
Qtopia 编译 uuid问题
— 本帖被 XChinux 执行加亮操作(2008-06-20) —
我按照实验指导书编译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]: *** [fifteen] 错误 1
make[5]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src/games/fifteen'
make[4]: *** [all] 错误 2
make[4]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src/games/fifteen'
make[3]: *** [sub-games-fifteen] 错误 2
make[3]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make[2]: *** [sub-src-components_pro] 错误 2
make[2]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make: *** [all] 错误 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]: *** [all] 错误 2
make[4]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src/3rdparty/plugins/codecs/libamr'
make[3]: *** [sub-3rdparty-plugins-codecs-libamr] 错误 2
make[3]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make[2]: *** [sub-src-components_pro] 错误 2
make[2]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/2410Qt/qtopia-free-2.1.1/src'
make: *** [all] 错误 2

试了很多方法,还是一愁莫展,哪位大侠能指点一二.......
我的系统是 ubuntu7.10  ,编译工具是gcc-3.3
离线lieal
只看该作者 1楼 发表于: 2008-06-19
我也遇到同样的问题,请问你解决了吗?是怎么解决的?
离线tempester
只看该作者 2楼 发表于: 2012-05-16
我也遇到了这个问题。请问上边都解决了吗?
我本江心向明月,奈何明月在沟渠
快速回复
限100 字节
 
上一个 下一个