I am currently packaging openDIAS to try and get it put into Debian's repo. During compile I get sane_exit() not previously declared. It is on line 121 of main.c :
extern void server_shutdown() {
o_log(INFORMATION, "openDias service is shutting down....");
o_log(DEBUGM, "cleanup sane");
sane_exit();
....
As a temporary fix I have commented the lines o_log(DEBUGM, "cleanup sane"); sane_exit();