I'm building deluge under Ubuntu 7.10. I installed all of the required packages etc. and I also installed Boost from the source. Boost that I installed is: 1.35. I'm building 0.6.0 from the svn.
When I compile, the build fails late in the compilation with the following error:
Code: Select all
gcc -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include/python2.5 -c ./libtorrent/src/memdebug.cpp -o build/temp.linux-x86_64-2.5/./libtorrent/src/memdebug.o -DTORRENT_USE_OPENSSL=1 -O2 -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wno-missing-braces
gcc -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include/python2.5 -c ./libtorrent/src/mapped_storage.cpp -o build/temp.linux-x86_64-2.5/./libtorrent/src/mapped_storage.o -DTORRENT_USE_OPENSSL=1 -O2 -D_FILE_OFFSET_BITS=64 -DNDEBUG -Wno-missing-braces
./libtorrent/src/mapped_storage.cpp:67: error: 'error_code' is already declared in this scope
./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:176: warning: comparison between signed and unsigned integer expressions
error: command 'gcc' failed with exit status 1