LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 578|回复: 0

opensuse11.1-64位系统下面编译rtorrent ?

[复制链接]
发表于 2009-5-28 19:58:44 | 显示全部楼层 |阅读模式
开始./configure提示没有libtorrent,可我明明安装了,于是找到是pkg-config的问题原来它默认只搜索/usr/lib64/pkgconfig/里面的文件,于是我把/usr/lib/pkgconfig/libtorrent.pc拷贝到上面的目录。configure通过了。
但是,make报错:
text_element_value.cc: In member function ‘virtual char* display::TextElementValueBase::print(char*, char*, std::vector<display::Attributes, std::allocator<display::Attributes> >*, rpc::target_type)’:
text_element_value.cc:108: error: ‘tm’ is not a member of ‘std’
text_element_value.cc:108: error: ‘u’ was not declared in this scope
text_element_value.cc:108: error: ‘gmtime’ is not a member of ‘std’
text_element_value.cc:117: error: ‘tm’ is not a member of ‘std’
text_element_value.cc:117: error: ‘u’ was not declared in this scope
text_element_value.cc:117: error: ‘gmtime’ is not a member of ‘std’
make[3]: *** [text_element_value.o] 错误 1
make[3]: Leaving directory `/home/zxsu/share/rtorrent-0.8.0/src/display'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/zxsu/share/rtorrent-0.8.0/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/zxsu/share/rtorrent-0.8.0'
make: *** [all] 错误 2

大家看看难道64位的系统不兼容32的软件吗?(我在32位的suse10.3中轻松编辑过此软件)
以上错误如何解决呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表