Guest User

Untitled

a guest
Jan 2nd, 2016
250
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ make
  2. Making all in src
  3. g++ -DPACKAGE_NAME=\"btfs\" -DPACKAGE_TARNAME=\"btfs\" -DPACKAGE_VERSION=\"2.3\" -DPACKAGE_STRING=\"btfs\ 2.3\" -DPACKAGE_BUGREPORT=\"johan.gunnarsson@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"btfs\" -DVERSION=\"2.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_REALPATH=1 -DHAVE_STRDUP=1 -I.  -Wall -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE -I/usr/local/include/osxfuse/fuse  -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.0.6/include -I/usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent     -g -O2 -MT btfs-btfs.o -MD -MP -MF .deps/btfs-btfs.Tpo -c -o btfs-btfs.o `test -f 'btfs.cc' || echo './'`btfs.cc
  4. In file included from btfs.cc:31:
  5. In file included from /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/session.hpp:57:
  6. /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/alert.hpp:288:58: warning:
  7.       expression with side effects will be evaluated despite being used as an
  8.       operand to 'typeid' [-Wpotentially-evaluated-expression]
  9.   ...detail::handle_alert_dispatch(alert_, handler, typeid(*alert_)
  10.                                                            ^
  11. btfs.cc:60:16: error: redefinition of 'signal' as different kind of symbol
  12. pthread_cond_t signal = PTHREAD_COND_INITIALIZER;
  13.                ^
  14. /usr/include/sys/signal.h:390:8: note: previous definition is here
  15. void    (*signal(int, void (*)(int)))(int);
  16.           ^
  17. btfs.cc:66:24: warning: 'get_torrent_info' is deprecated
  18.       [-Wdeprecated-declarations]
  19.         for (; piece < handle.get_torrent_info().num_pieces(); piece++) {
  20.                               ^
  21. /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:842:23: note:
  22.       'get_torrent_info' has been explicitly marked deprecated here
  23.                 const torrent_info& get_torrent_info() const TORRENT_DEPRECATED;
  24.                                     ^
  25. btfs.cc:83:18: warning: 'get_torrent_info' is deprecated
  26.       [-Wdeprecated-declarations]
  27.         int pl = handle.get_torrent_info().piece_length();
  28.                         ^
  29. /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:842:23: note:
  30.       'get_torrent_info' has been explicitly marked deprecated here
  31.                 const torrent_info& get_torrent_info() const TORRENT_DEPRECATED;
  32.                                     ^
  33. btfs.cc:100:45: warning: 'get_torrent_info' is deprecated
  34.       [-Wdeprecated-declarations]
  35.         libtorrent::torrent_info metadata = handle.get_torrent_info();
  36.                                                    ^
  37. /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:842:23: note:
  38.       'get_torrent_info' has been explicitly marked deprecated here
  39.                 const torrent_info& get_torrent_info() const TORRENT_DEPRECATED;
  40.                                     ^
  41. btfs.cc:166:3: error: no matching function for call to 'pthread_cond_wait'
  42.                 pthread_cond_wait(&signal, &lock);
  43.                 ^~~~~~~~~~~~~~~~~
  44. /usr/include/pthread.h:295:5: note: candidate function not viable: no known
  45.       conversion from 'void (*(*)(int, void (*)(int)))(int)' to
  46.       'pthread_cond_t *' (aka '_opaque_pthread_cond_t *') for 1st argument
  47. int pthread_cond_wait(pthread_cond_t * __restrict,
  48.     ^
  49. btfs.cc:175:39: warning: 'get_torrent_info' is deprecated
  50.       [-Wdeprecated-declarations]
  51.         libtorrent::torrent_info ti = handle.get_torrent_info();
  52.                                              ^
  53. /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:842:23: note:
  54.       'get_torrent_info' has been explicitly marked deprecated here
  55.                 const torrent_info& get_torrent_info() const TORRENT_DEPRECATED;
  56.                                     ^
  57. btfs.cc:223:2: error: no matching function for call to 'pthread_cond_broadcast'
  58.         pthread_cond_broadcast(&signal);
  59.         ^~~~~~~~~~~~~~~~~~~~~~
  60. /usr/include/pthread.h:278:5: note: candidate function not viable: no known
  61.       conversion from 'void (*(*)(int, void (*)(int)))(int)' to
  62.       'pthread_cond_t *' (aka '_opaque_pthread_cond_t *') for 1st argument
  63. int pthread_cond_broadcast(pthread_cond_t *);
  64.     ^
  65. btfs.cc:346:11: warning: 'get_torrent_info' is deprecated
  66.       [-Wdeprecated-declarations]
  67.                         handle.get_torrent_info().file_at(files[path]);
  68.                                ^
  69. /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:842:23: note:
  70.       'get_torrent_info' has been explicitly marked deprecated here
  71.                 const torrent_info& get_torrent_info() const TORRENT_DEPRECATED;
  72.                                     ^
  73. btfs.cc:454:2: error: no matching function for call to 'pthread_setname_np'
  74.         pthread_setname_np(alert_thread, "alert");
  75.         ^~~~~~~~~~~~~~~~~~
  76. /usr/include/pthread.h:474:5: note: candidate function not viable: requires 1
  77.       argument, but 2 were provided
  78. int     pthread_setname_np(const char*);
  79.         ^
  80. btfs.cc:477:28: warning: 'save_path' is deprecated [-Wdeprecated-declarations]
  81.         std::string path = handle.save_path();
  82.                                   ^
  83. /usr/local/Cellar/libtorrent-rasterbar/1.0.6/include/libtorrent/torrent_handle.hpp:830:15: note:
  84.       'save_path' has been explicitly marked deprecated here
  85.                 std::string save_path() const TORRENT_DEPRECATED;
  86.                             ^
  87. 7 warnings and 4 errors generated.
  88. make[1]: *** [btfs-btfs.o] Error 1
  89. make: *** [all-recursive] Error 1
RAW Paste Data