-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Trying to compile Deluge for DSM7, but libtorrent-rasterbar
fails with this:
make[5]: Entering directory '/spksrc/spk/deluge/work-x64-7.0/libtorrent-rasterbar-1.1.14/src'
CXX web_connection_base.lo
In file included from /spksrc/toolchain/syno-x64-7.0/work/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/include/c++/7.3.0/cmath:45:0,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/config/no_tr1/cmath.hpp:21,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/date_time/posix_time/posix_time_config.hpp:15,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/date_time/posix_time/posix_time_system.hpp:13,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/date_time/posix_time/ptime.hpp:12,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/date_time/posix_time/posix_time_types.hpp:12,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/asio/time_traits.hpp:23,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/asio/deadline_timer_service.hpp:27,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/asio/basic_socket_streambuf.hpp:24,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/asio/basic_socket_iostream.hpp:24,
from /spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/asio/ip/tcp.hpp:20,
from ../include/libtorrent/socket.hpp:55,
from ../include/libtorrent/peer_connection_interface.hpp:36,
from ../include/libtorrent/peer_connection.hpp:57,
from ../include/libtorrent/web_connection_base.hpp:56,
from web_connection_base.cpp:44:
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp: In function ‘std::size_t boost::hash_detail::float_hash_value(T)’:
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘float’
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘default’
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘long’
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: found ‘:’ in nested-name-specifier, expected ‘::’
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Float128’ is not a class, namespace, or enumeration
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp: In instantiation of ‘std::size_t boost::hash_detail::float_hash_value(T) [with T = float; std::size_t = long unsigned int]’:
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:394:52: required from ‘typename boost::hash_detail::float_numbers<T>::type boost::hash_value(T) [with T = float; typename boost::hash_detail::float_numbers<T>::type = long unsigned int]’
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:454:5: required from here
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Generic’ was not declared in this scope
switch (fpclassify(v))
^
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: note: suggested alternative: ‘__erfc’
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp: In instantiation of ‘std::size_t boost::hash_detail::float_hash_value(T) [with T = double; std::size_t = long unsigned int]’:
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:394:52: required from ‘typename boost::hash_detail::float_numbers<T>::type boost::hash_value(T) [with T = double; typename boost::hash_detail::float_numbers<T>::type = long unsigned int]’
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:455:5: required from here
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Generic’ was not declared in this scope
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: note: suggested alternative: ‘__erfc’
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp: In instantiation of ‘std::size_t boost::hash_detail::float_hash_value(T) [with T = long double; std::size_t = long unsigned int]’:
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:394:52: required from ‘typename boost::hash_detail::float_numbers<T>::type boost::hash_value(T) [with T = long double; typename boost::hash_detail::float_numbers<T>::type = long unsigned int]’
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/hash.hpp:456:5: required from here
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Generic’ was not declared in this scope
/spksrc/spk/deluge/work-x64-7.0/install/var/packages/deluge/target/include/boost/functional/hash/detail/hash_float.hpp:210:21: note: suggested alternative: ‘__erfc’
make[5]: *** [Makefile:1031: web_connection_base.lo] Error 1
make[5]: Leaving directory '/spksrc/spk/deluge/work-x64-7.0/libtorrent-rasterbar-1.1.14/src'
make[4]: *** [Makefile:625: all-recursive] Error 1
make[4]: Leaving directory '/spksrc/spk/deluge/work-x64-7.0/libtorrent-rasterbar-1.1.14'
make[3]: *** [../../mk/spksrc.compile.mk:36: compile_target] Error 2
make[3]: Leaving directory '/spksrc/cross/libtorrent'
make[2]: *** [../../mk/spksrc.depend.mk:51: depend_target] Error 2
make[2]: Leaving directory '/spksrc/cross/deluge'
make[1]: *** [../../mk/spksrc.depend.mk:51: depend_target] Error 2
make[1]: Leaving directory '/spksrc/spk/deluge'
make: [../../mk/spksrc.spk.mk:464: arch-x64-7.0] Error 2 (ignored)
Been poking around it for a couple of days, to no avail. Anyone has ideas on how to fix this?
Thanks!
juanmuto and zkat