
You'll need to add #include <functional> and #include <unordered_map> at the top (under #include "list.h").
You'll also need to add the flag:
-std=c++11
..to g++ in the makefile:
CXXFLAGS+= -I. -DUSE_REUSABLES -DUSE_GMP -DUNIXVER -DUSE_BUILTIN_FCREATE -std=c++11
There might be a couple other issues as well, i think there are a couple #if statements you'll need to modify. Try downloading the modified source that Contra put together and seeing if that works:
http://www.mirari.fr/wo0H