当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]在make 的时候出错了,请帮忙看看.
帖子发表于 : 2007-04-25 19:16 

注册: 2007-03-17 18:57
帖子: 124
地址: 广东广州
送出感谢: 0 次
接收感谢: 0 次
我用ubuntu 6.06,gnome桌面的。
在make 那个qBittorrent的libtorrent 0.11的时候,出错了,不太懂是哪里出错了。请帮忙看看是什么原因造成的,应该如何解决。谢谢了。 :shock: :shock:

代码:
xzw@VIA-PC1500:~/BT_Download/libtorrent-0.11$ sudo make
make  all-recursive
make[1]: Entering directory `/home/xzw/BT_Download/libtorrent-0.11'
Making all in include
make[2]: Entering directory `/home/xzw/BT_Download/libtorrent-0.11/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/xzw/BT_Download/libtorrent-0.11/include'
Making all in src
make[2]: Entering directory `/home/xzw/BT_Download/libtorrent-0.11/src'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..    -ftemplate-depth-50 -I../include -I../include/libtorrent  -g -pthread  -g -O2 -MT storage.lo -MD -MP -MF ".deps/storage.Tpo" -c -o storage.lo storage.cpp; \
        then mv -f ".deps/storage.Tpo" ".deps/storage.Plo"; else rm -f ".deps/storage.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -ftemplate-depth-50 -I../include -I../include/libtorrent -g -pthread -g -O2 -MT storage.lo -MD -MP -MF .deps/storage.Tpo -c storage.cpp  -fPIC -DPIC -o .libs/storage.o
In file included from /usr/include/boost/multi_index/detail/node_type.hpp:23,
                 from /usr/include/boost/multi_index/detail/index_base.hpp:21,
                 from /usr/include/boost/multi_index/detail/base_type.hpp:21,
                 from /usr/include/boost/multi_index_container.hpp:32,
                 from storage.cpp:52:
/usr/include/boost/multi_index/detail/index_node_base.hpp:19:42: error: boost/serialization/access.hpp: No such file or directory
In file included from /usr/include/boost/multi_index/detail/index_base.hpp:27,
                 from /usr/include/boost/multi_index/detail/base_type.hpp:21,
                 from /usr/include/boost/multi_index_container.hpp:32,
                 from storage.cpp:52:
/usr/include/boost/multi_index/detail/index_loader.hpp:21:39: error: boost/serialization/nvp.hpp: No such file or directory
In file included from /usr/include/boost/multi_index_container.hpp:46,
                 from storage.cpp:52:
/usr/include/boost/multi_index/detail/archive_constructed.hpp:20:49: error: boost/serialization/serialization.hpp: No such file or directory
In file included from storage.cpp:52:
/usr/include/boost/multi_index_container.hpp:48:48: error: boost/serialization/split_member.hpp: No such file or directory
/usr/include/boost/multi_index/detail/index_node_base.hpp:45: error: 'boost::serialization' has not been declared
/usr/include/boost/multi_index/detail/index_loader.hpp: In member function 'void boost::multi_index::detail::index_loader<Node, FinalNode, Allocator>::add(Node*, Archive&, unsigned int)':
/usr/include/boost/multi_index/detail/index_loader.hpp:49: error: 'serialization' has not been declared
/usr/include/boost/multi_index/detail/index_loader.hpp: In member function 'void boost::multi_index::detail::index_loader<Node, FinalNode, Allocator>::add_track(Node*, Archive&, unsigned int)':
/usr/include/boost/multi_index/detail/index_loader.hpp:56: error: 'serialization' has not been declared
/usr/include/boost/multi_index/detail/index_loader.hpp: In member function 'FinalNode* boost::multi_index::detail::index_loader<Node, FinalNode, Allocator>::unchecked_load_node(Archive&) const':/usr/include/boost/multi_index/detail/index_loader.hpp:104: error: 'serialization' has not been declared
/usr/include/boost/multi_index/detail/index_loader.hpp: In member function 'FinalNode* boost::multi_index::detail::index_loader<Node, FinalNode, Allocator>::load_node(Archive&) const':
/usr/include/boost/multi_index/detail/index_loader.hpp:112: error: 'serialization' has not been declared
/usr/include/boost/multi_index/detail/index_saver.hpp: In member function 'void boost::multi_index::detail::index_saver<Node, Allocator>::add(Node*, Archive&, unsigned int)':
/usr/include/boost/multi_index/detail/index_saver.hpp:46: error: 'serialization' has not been declared
/usr/include/boost/multi_index/detail/index_saver.hpp: In member function 'void boost::multi_index::detail::index_saver<Node, Allocator>::add_track(Node*, Archive&, unsigned int)':
/usr/include/boost/multi_index/detail/index_saver.hpp:53: error: 'serialization' has not been declared
/usr/include/boost/multi_index/detail/index_saver.hpp: In static member function 'static void boost::multi_index::detail::index_saver<Node, Allocator>::save_node(Node*, Archive&)':
/usr/include/boost/multi_index/detail/index_saver.hpp:123: error: 'serialization' has not been declared
/usr/include/boost/multi_index/detail/archive_constructed.hpp: In constructor 'boost::multi_index::detail::archive_constructed<T>::archive_constructed(Archive&, unsigned int)':
/usr/include/boost/multi_index/detail/archive_constructed.hpp:36: error: 'serialization' has not been declared
/usr/include/boost/multi_index/detail/archive_constructed.hpp: In constructor 'boost::multi_index::detail::archive_constructed<T>::archive_constructed(const char*, Archive&, unsigned int)':
/usr/include/boost/multi_index/detail/archive_constructed.hpp:50: error: 'serialization' has not been declared
/usr/include/boost/multi_index/detail/archive_constructed.hpp:52: error: 'serialization' has not been declared
/usr/include/boost/multi_index_container.hpp: At global scope:
/usr/include/boost/multi_index_container.hpp:536: error: 'boost::serialization' has not been declared
/usr/include/boost/multi_index_container.hpp:540: error: expected ';' before 'typedef'
/usr/include/boost/multi_index_container.hpp: In member function 'void boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::save(Archive&, unsigned int) const':
/usr/include/boost/multi_index_container.hpp:547: error: 'serialization' has not been declared
/usr/include/boost/multi_index_container.hpp:547: error: there are no arguments to 'make_nvp' that depend on a template parameter, so a declaration of 'make_nvp' must be available
/usr/include/boost/multi_index_container.hpp:547: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/boost/multi_index_container.hpp:548: error: 'index_saver_type' was not declared in this scope
/usr/include/boost/multi_index_container.hpp:548: error: expected `;' before 'sm'
/usr/include/boost/multi_index_container.hpp:551: error: 'serialization' has not been declared
/usr/include/boost/multi_index_container.hpp:552: error: 'sm' was not declared in this scope
/usr/include/boost/multi_index_container.hpp:554: error: 'sm' was not declared in this scope
/usr/include/boost/multi_index_container.hpp: In member function 'void boost::multi_index::multi_index_container<Value, IndexSpecifierList, Allocator>::load(Archive&, unsigned int)':
/usr/include/boost/multi_index_container.hpp:567: error: 'serialization' has not been declared
/usr/include/boost/multi_index_container.hpp:567: error: there are no arguments to 'make_nvp' that depend on a template parameter, so a declaration of 'make_nvp' must be available
/usr/include/boost/multi_index/detail/index_iterator.hpp: At global scope:
/usr/include/boost/multi_index/detail/index_iterator.hpp:145: error: 'boost::serialization' has not been declared
/usr/include/boost/multi_index/detail/index_iterator.hpp:149: error: expected ';' before 'typedef'
/usr/include/boost/multi_index/detail/index_iterator.hpp: In member function 'void boost::multi_index::detail::index_iterator<Node>::save(Archive&, unsigned int) const':
/usr/include/boost/multi_index/detail/index_iterator.hpp:155: error: 'node_base_type' was not declared in this scope
/usr/include/boost/multi_index/detail/index_iterator.hpp:155: error: 'bnode' was not declared in this scope
/usr/include/boost/multi_index/detail/index_iterator.hpp:156: error: 'serialization' has not been declared
/usr/include/boost/multi_index/detail/index_iterator.hpp:156: error: there are no arguments to 'make_nvp' that depend on a template parameter, so a declaration of 'make_nvp' must be available
/usr/include/boost/multi_index/detail/index_iterator.hpp: In member function 'void boost::multi_index::detail::index_iterator<Node>::load(Archive&, unsigned int)':
/usr/include/boost/multi_index/detail/index_iterator.hpp:162: error: 'node_base_type' was not declared in this scope
/usr/include/boost/multi_index/detail/index_iterator.hpp:162: error: 'bnode' was not declared in this scope
/usr/include/boost/multi_index/detail/index_iterator.hpp:163: error: 'serialization' has not been declared
/usr/include/boost/multi_index/detail/index_iterator.hpp:163: error: there are no arguments to 'make_nvp' that depend on a template parameter, so a declaration of 'make_nvp' must be available
make[2]: *** [storage.lo] 错误 1
make[2]: Leaving directory `/home/xzw/BT_Download/libtorrent-0.11/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/xzw/BT_Download/libtorrent-0.11'
make: *** [all] 错误 2
xzw@VIA-PC1500:~/BT_Download/libtorrent-0.11$


_________________
我用ubuntu 6.06,gnome桌面~
结果装个qBittorrent搞不定,
然后就换到ubuntu 7.04了..同样是gnome桌面~
定制才是王道!


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-04-25 19:18 
头像

注册: 2007-03-01 20:46
帖子: 2393
地址: 湖南长沙
送出感谢: 0 次
接收感谢: 0 次
sudo apt-get install libboost-serialization-dev
你缺少Boost.Serialization库


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-04-25 19:38 
头像

注册: 2006-05-03 0:39
帖子: 8273
地址: المريخ
送出感谢: 0 次
接收感谢: 1
anticlockwise 写道:
sudo apt-get install libboost-serialization-dev
你缺少Boost.Serialization库


_________________
PHP是最好的语言!不服来战!


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-04-25 19:49 

注册: 2007-03-17 18:57
帖子: 124
地址: 广东广州
送出感谢: 0 次
接收感谢: 0 次
啊,谢谢楼上指点。现在可以编译成功了


_________________
我用ubuntu 6.06,gnome桌面~
结果装个qBittorrent搞不定,
然后就换到ubuntu 7.04了..同样是gnome桌面~
定制才是王道!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Bing [Bot] 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译