Unable to compile latest 1.1.0_RC SVN
Posted: Sat May 16, 2009 5:09 am
I've had no issues in the past, using Debian Lenny 64bit, compiling from source however today when I updated the source to the latest revision I'm unable to compile the source.
I get the following when running 'python setup.py build':
Any ideas?
I get the following when running 'python setup.py build':
Code: Select all
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I./libtorrent -I./libtorrent/include -I./libtorrent/include/libtorrent -I/usr/include/python2.5 -I/usr/include -I/usr/include/python2.5 -c ./libtorrent/src/storage.cpp -o build/temp.linux-x86_64-2.5/./libtorrent/src/storage.o -D_FILE_OFFSET_BITS=64 -DNDEBUG -DTORRENT_USE_OPENSSL=1 -O2 -Wno-missing-braces
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
./libtorrent/src/storage.cpp: In member function 'virtual bool libtorrent::storage::initialize(bool)':
./libtorrent/src/storage.cpp:447: warning: comparison between signed and unsigned integer expressions
./libtorrent/src/storage.cpp: In member function 'int libtorrent::piece_manager::check_one_piece(int&)':
./libtorrent/src/storage.cpp:2231: error: 'class std::vector<char, std::allocator<char> >' has no member named 'reset'
error: command 'gcc' failed with exit status 1