Try compiling with
gcc flint.c -lflint -lgmp -lmpfr -lflint-arb -I/path/to/flint
This worked on my Linux machine.