This doesn't build for me:
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/tit/uncle-bob/quark/src -I/home/tit/uncle-bob/quark/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/tit/uncle-bob/quark/src/leveldb/include -I/home/tit/uncle-bob/quark/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from checkpoints.cpp:10:0:
main.h: In member function uint256 CBlockHeader::GetHash() const:
main.h:1313:65: error: no matching function for call to Hash9(char*, char*, const uint256&)
main.h:1313:65: note: candidate is:
In file included from main.h:12:0,
from checkpoints.cpp:10:
hashblock.h:46:16: note: template uint256 Hash9(T1, T1)
hashblock.h:46:16: note: template argument deduction/substitution failed:
In file included from checkpoints.cpp:10:0:
main.h:1313:65: note: candidate expects 2 arguments, 3 provided
make: *** [obj/checkpoints.o] Error 1