In src/rule.c you're using uint*_t types, but you do not include 'stdint.h' needed to use those.
This results in:
src/rule.c:4:16: error: unknown type name 'uint8_t'
void ruleprint(uint8_t x)
^
src/rule.c:15:15: error: unknown type name 'uint32_t'
void binprint(uint32_t x, uint8_t n)
^
src/rule.c:15:27: error: unknown type name 'uint8_t'
void binprint(uint32_t x, uint8_t n)
^
src/rule.c:44:20: error: unknown type name 'int8_t'
int main(int argc, int8_t **argv)
In src/rule.c you're using uint*_t types, but you do not include 'stdint.h' needed to use those. This results in:
Easy to fix: