Try adding
#include <stdlib.h> directly above the
previous added #include
statement.
Same exact failure.
Upon close inspection it is actaully a different failure. I also notice
that you are building with multiple processes (i.e. with a -j flag that is
greater than one), which can cause weird failures like the ones you are
noticing.
Seems there is something wrong with main.cpp.
There shouldn't be. I just ran a rebuild under Debian with one build
process with no problems.
Tim