Error centos 6.4

41 views
Skip to first unread message

Iulian M

unread,
Dec 2, 2013, 6:01:26 PM12/2/13
to xbt-t...@googlegroups.com
[root@vps Tracker]# ./make.sh
server.cpp: In function 'void read_db_torrents_sql()':
server.cpp:195: error: expected initializer before ':' token
server.cpp:200: error: could not convert 'm_torrents.boost::unordered_map<Key, T, Hash, Pred, Alloc>::erase [with Key = std::array<char, 20u>, T = t_torrent, Hash = boost::hash<std::array<char, 20u> >, Pred = std::equal_to<std::array<char, 20u> >, Alloc = std::allocator<std::pair<const std::array<char, 20u>, t_torrent> >](boost::unordered_detail::hash_const_iterator<std::allocator<std::pai
r<const std::array<char, 20u>, t_torrent> >, boost::unordered_detail::ungrouped>(((const boost::unordered_detail::hash_iterator<std::allocator<std::pair<const std::array<char, 20u>, t_torrent> >, boost::unordered_detail::ungrouped>&)((const boost::unordered_detail::hash_iterator<std::allocator<std::pair<const std::array<char, 20u>, t_torrent> >, boost::unordered_detail::ungrouped>*)(& i)))))' to 'bool'
server.cpp:201: error: expected primary-expression before '}' token
server.cpp:201: error: expected ')' before '}' token
server.cpp:201: error: expected primary-expression before '}' token
server.cpp:201: error: expected ';' before '}' token
[root@vps Tracker]#

how to install on Centos 6.4

Olaf van der Spek

unread,
Dec 2, 2013, 6:09:43 PM12/2/13
to xbt-t...@googlegroups.com
On Tue, Dec 3, 2013 at 12:01 AM, Iulian M <leoli...@gmail.com> wrote:
> how to install on Centos 6.4

The g++ version should be at least 4.6.


--
Olaf

Iulian M

unread,
Dec 2, 2013, 6:21:03 PM12/2/13
to xbt-t...@googlegroups.com
version installed g+ + 5

вторник, 3 декабря 2013 г., 1:09:43 UTC+2 пользователь Olaf van der Spek написал:

Iulian M

unread,
Dec 2, 2013, 6:34:04 PM12/2/13
to xbt-t...@googlegroups.com
version installed g+ + 5

вторник, 3 декабря 2013 г., 1:01:26 UTC+2 пользователь Iulian M написал:

David

unread,
Dec 3, 2013, 10:24:19 AM12/3/13
to xbt-t...@googlegroups.com
that error is come from /Tracker/server.cpp on line 189: " for (auto& j : i->second.peers) "
So please change it to: " BOOST_FOREACH(auto& j, i->second.peers) ".

Vào 06:01:26 UTC+7 Thứ ba, ngày 03 tháng mười hai năm 2013, Iulian M đã viết:
Reply all
Reply to author
Forward
0 new messages