--enable-gui flag is disabled by default, however the compilation fails if enabled. The error message is:
*** No rule to make target `../src/librdd.a', needed by `rdd-gui'. Stop.
This is a bug which hasn't been fixed because the gui is currently nonfunctional. We will remove this build option.
ok, I'm closing the bug report for now.