|
开始./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中轻松编辑过此软件)
以上错误如何解决呢? |
|