Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#184 closed bug (WontFix)

libtorrent fail to compile

Reported by: oshiri Owned by: andar
Priority: major Milestone:
Component: Core Version: 0.6.0svn
Keywords: Cc:

Description

svn3156 fail to compile libtorrent on Debian Etch. This version depends on libboost-iostreams-dev but still fail to compile.

gcc -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.4 -I/usr/include/python2.4 -c ./libtorrent/src/mapped_storage.cpp -o build/temp.linux-i686-2.4/./libtorrent/src/mapped_storage.o -DHAVE_INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DTORRENT_USE_OPENSSL=1 -DHAVE_SSL=1 -O2 -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wno-missing-braces
./libtorrent/src/mapped_storage.cpp: In member function ‘libtorrent::mapped_file_pool::file_view libtorrent::mapped_file_pool::open_file(const boost::filesystem::path&, std::_Ios_Openmode, libtorrent::size_type, libtorrent::size_type, void*, libtorrent::size_type)’:
./libtorrent/src/mapped_storage.cpp:200: error: ‘system_error_type’ is not a member of ‘libtorrent::fs’
./libtorrent/src/mapped_storage.cpp:200: error: expected `;' before ‘ec’
./libtorrent/src/mapped_storage.cpp:201: error: ‘file_status’ is not a member of ‘libtorrent::fs’
./libtorrent/src/mapped_storage.cpp:201: error: expected `;' before ‘st’
./libtorrent/src/mapped_storage.cpp:205: error: ‘st’ was not declared in this scope
./libtorrent/src/mapped_storage.cpp:205: error: ‘exists’ was not declared in this scope
./libtorrent/src/mapped_storage.cpp:211: error: ‘is_directory’ was not declared in this scope
error: command 'gcc' failed with exit status 1}}

Change History (8)

comment:1 follow-up: Changed 16 years ago by andar

What version of boost are you using?

comment:2 in reply to: ↑ 1 Changed 16 years ago by oshiri

Default Debian Etch is 1.33.1

comment:3 Changed 16 years ago by andar

You'll likely need to upgrade to 1.34 or higher.

comment:4 Changed 16 years ago by anonymous

Still does not work with 1.34

}./libtorrent/src/http_connection.cpp: In member function ‘void libtorrent::http_connection::start(const std::string&, const std::string&, libtorrent::time_duration, int, const libtorrent::proxy_settings*, bool, int, const libtorrent::address&)’:
./libtorrent/src/http_connection.cpp:155: warning: unused variable ‘ret’
./libtorrent/src/http_connection.cpp:161: warning: unused variable ‘ret’
/usr/include/boost/detail/sp_counted_impl.hpp: In member function ‘void boost::detail::sp_counted_impl_p<X>::dispose() [with X = asio::ssl::detail::openssl_init<true>::do_init]’:
/usr/include/boost/detail/sp_counted_impl.hpp:74: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
error: command 'gcc' failed with exit status 1
}}

comment:5 Changed 16 years ago by andar

That's strange.. It looks like GCC is segfaulting? I doubt this is necessary an issue with deluge/libtorrent and probably an issue with your OS.

comment:6 Changed 16 years ago by oshiri

Probably gcc problem. Strange because it works before with boost 1.33.1. Atleast I still have libtorrent from svn3072 that work with 1.33.1.

comment:7 Changed 16 years ago by andar

  • Resolution set to wontfix
  • Status changed from new to closed

comment:8 Changed 16 years ago by anonymous

  • Milestone 0.6.0 deleted

Milestone 0.6.0 deleted

Note: See TracTickets for help on using tickets.