Comments (10)
That's a warning, not an error. It's safe to ignore.
Original comment by olafvdspek
on 9 Jun 2013 at 9:24
from xbt.
if error:
Start XBT Tracker
/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by
/usr/home/xbt/xbt_tracker not found1
do:
mcedit /etc/libmap.conf
insert:
libstdc++.so.6 gcc48/libstdc++.so.6
Original comment by [email protected]
on 12 Jun 2013 at 12:05
from xbt.
Can FBSD 10 compile XBTT as-is?
Original comment by olafvdspek
on 26 Jan 2014 at 5:33
from xbt.
[deleted comment]
from xbt.
Couldn't compile XBTT on FBSD 10 at all. Tried all available versions of
compilers and stuff.
Had to build FBSD 8.4 on Jail with ezjail and compile inside - worked
successfully with instructions above.
Original comment by [email protected]
on 6 Sep 2014 at 9:46
from xbt.
Got a report on success with compiling latest source on FreeBSD 10-RELEASE.
Installed packages(which take part in compiling):
boost-all-1.55.0
cmake-3.0.2
gcc48-4.8.4.s20141016
lzlib-1.5
mysql56-client-5.6.21
Actions were the following:
1. Added to connection.cpp:
#include <sys/uio.h>
include <sys/socket.h>
2. Added to server.cpp:
#include <sys/socket.h>
3. Changed the first line of make.sh to the following:
g++ $@ -DNDEBUG -I ../misc -I /usr/local/include -I . -O3 -o xbt_tracker
-std=c++0x \
After that compiling went successfully(a sort of), got a stack of warnings:
###########################################
connection.cpp:29:36: warning: '&&' within '||' [-Wlogical-op-parentheses]
return FD_ISSET(m_s, fd_read_set) && recv()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
connection.cpp:29:36: note: place parentheses around the '&&' expression to
silence this warning
return FD_ISSET(m_s, fd_read_set) && recv()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
connection.cpp:30:34: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| FD_ISSET(m_s, fd_write_set) && send()
~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
connection.cpp:30:34: note: place parentheses around the '&&' expression to
silence this warning
|| FD_ISSET(m_s, fd_write_set) && send()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
connection.cpp:32:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| m_state == 5 && m_r.empty();
~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~
connection.cpp:32:19: note: place parentheses around the '&&' expression to
silence this warning
|| m_state == 5 && m_r.empty();
^
( )
connection.cpp:271:58: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (events & (EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP) && recv()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
connection.cpp:271:58: note: place parentheses around the '&&' expression to
silence this warning
if (events & (EPOLLIN | EPOLLPRI | EPOLLERR | EPOLLHUP) && recv()
^
( )
connection.cpp:272:24: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| events & EPOLLOUT && send()
~~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~
connection.cpp:272:24: note: place parentheses around the '&&' expression to
silence this warning
|| events & EPOLLOUT && send()
^
( )
connection.cpp:273:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| m_state == 5 && m_write_b.empty())
~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
connection.cpp:273:19: note: place parentheses around the '&&' expression to
silence this warning
|| m_state == 5 && m_write_b.empty())
^
( )
6 warnings generated.
###########################################
Tracker itself is working fine, except for setting options in 'xbt_config' sql
table. However if you place them there manually - it reads them well.
Original comment by [email protected]
on 24 Oct 2014 at 7:23
from xbt.
I've added <sys/socket.h> and <sys/uio.h>
Original comment by olafvdspek
on 25 Oct 2014 at 2:26
from xbt.
Compiling latest XBTT on FreeBSD 10.1-RELEASE.
1. Installed packages:
clang35-3.5.1
cmake-3.1.3
gcc48-4.8.5.s20150212
mysql56-client-5.6.23
lzlib-1.5
boost-libs-1.55.0_4 !!I HAD to compile Boost from ports, not to install with pkg, otherwise it couldn't be found by complier!!
2. Changed only the first line in 'make.sh':
c++ $@ -DNDEBUG -I ../misc -I /usr/local/include -I . -O3 -o xbt_tracker
-std=c++0x \
3. Compiled with 6 warnings, working properly except for setting options by
itself in mysql table.
(Every time I feel that I write this more for myself to find this ticket later
to remember "how the hell did I complie it, again?!")
Original comment by [email protected]
on 3 Mar 2015 at 12:48
from xbt.
> except for setting options by itself in mysql table.
What do you mean?
Original comment by olafvdspek
on 3 Mar 2015 at 12:50
from xbt.
>> except for setting options by itself in mysql table.
>What do you mean?
I mean same as before problem: application does not fill its options into
'xbt_config' sql table automaitcally(except for "torrent_pass_private_key").
And they work if you add them manually.
Sorry for delayed answer, I didn't check this ticket for a while.
Original comment by [email protected]
on 12 Jun 2015 at 1:54
from xbt.
Related Issues (20)
- Last revision not make HOT 4
- terminate called after throwing an instance of 'std::out_of_range' HOT 1
- configure xbt tracker ? HOT 2
- bt_seeders , bt_leechers, bt_completed in sql is updating as null HOT 1
- IPv6 time HOT 3
- missing files svn HOT 1
- ./make.sh doesn't finish the job HOT 3
- Latest SVN don't build HOT 5
- CentOS r2397 HOT 3
- Only full scrapes are logged HOT 2
- cannot install - centos HOT 7
- error: ISO C++ forbids in-class initialization of non-const static member HOT 9
- Errors in compilation HOT 1
- xbt_tracker not compilable on Debian Squeeze HOT 17
- DHT & Peer Echange not allowed... HOT 1
- Possible to insert peers remotely HOT 2
- Error ffter revision "r2440" HOT 14
- has no member named ‘reserve’ HOT 4
- GitHub
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbt.