When attempting to execute smaug, it returns.....
illegial instruction (core dumped)..
Woodscrews..
Right the bool typedef and bool in stdbool.h are not compatible as they are.
Okay this is where I need to read stbool.h, I've seen how liba2ps.h deals with it, as it declares an enum for bool with the symbols "true" and "false" with integer values, I'm guessing stdbool.h does similar.
*IF* this is the case, you could try changing the #define for TRUE to read
#define TRUE true
and likewise for the FALSE #define (except using false of course ).
This needs the typedef for bool commented out as well so you are using the bool in stdbool.h. There should be a #define created by the system include so there will be a way to detect this and define this if its there or not (liba2ps.h talks about a HAVE_STDBOOL_H define, but I dunno where its set yet).
Still downloading ISOs (slow mirrors) so until I get a proper read I'm working on assumptions and one or two guesses here