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