rakshasa/libtorrent — Issue #3: “make check” errors
Author: veryfoolish
Created: 2011-12-01 07:45:45+00:00
State: open

Trying to compile latest version (i.e., commit d5be34951d92db256cdd8b4dcf6e9e857cf233fe)…

````
make[2]: Entering directory `/home/ryan/code/torrent/libtorrent/test'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -g -O2 -g -DDEBUG -fvisibility=hidden -I/usr/kerberos/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -MT LibTorrentTest-allocators_test.o -MD -MP -MF ".deps/LibTorrentTest-allocators_test.Tpo" -c -o LibTorrentTest-allocators_test.o `test -f 'rak/allocators_test.cc' || echo './'`rak/allocators_test.cc; \
then mv -f ".deps/LibTorrentTest-allocators_test.Tpo" ".deps/LibTorrentTest-allocators_test.Po"; else rm -f ".deps/LibTorrentTest-allocators_test.Tpo"; exit 1; fi
In file included from rak/allocators_test.cc:5:
rak/allocators_test.h:1:45: error: cppunit/extensions/HelperMacros.h: No such file or directory
rak/allocators_test.h:7: error: ‘CppUnit’ has not been declared
rak/allocators_test.h:7: error: expected `{' before ‘TestFixture’
rak/allocators_test.h:7: error: invalid function declaration
rak/allocators_test.cc:7: error: expected constructor, destructor, or type conversion before ‘;’ token
rak/allocators_test.cc:15: error: invalid use of undefined type ‘class AllocatorsTest’
rak/allocators_test.h:7: error: forward declaration of ‘class AllocatorsTest’
rak/allocators_test.cc: In member function ‘void AllocatorsTest::testAlignment()’:
rak/allocators_test.cc:16: error: ‘aligned_vector_type’ was not declared in this scope
rak/allocators_test.cc:16: error: expected `;' before ‘v1’
rak/allocators_test.cc:17: error: expected `;' before ‘v2’
rak/allocators_test.cc:18: error: expected `;' before ‘v3’
rak/allocators_test.cc:19: error: expected `;' before ‘v4’
rak/allocators_test.cc:20: error: expected `;' before ‘v5’
rak/allocators_test.cc:22: error: ‘v1’ was not declared in this scope
rak/allocators_test.cc:22: error: ‘CPPUNIT_ASSERT’ was not declared in this scope
rak/allocators_test.cc:23: error: ‘v2’ was not declared in this scope
rak/allocators_test.cc:24: error: ‘v3’ was not declared in this scope
rak/allocators_test.cc:25: error: ‘v4’ was not declared in this scope
rak/allocators_test.cc:26: error: ‘v5’ was not declared in this scope
make[2]: *** [LibTorrentTest-allocators_test.o] Error 1
make[2]: Leaving directory `/home/ryan/code/torrent/libtorrent/test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/ryan/code/torrent/libtorrent/test'
make: *** [check-recursive] Error 1
''''