Gtk undefine reference
Header file and function on separate file should not have the static function declaration.
static void loan_new_record (gpointer data);
static void loan_display_reset ( GtkWidget *data);
to
void loan_new_record (gpointer data);
void loan_display_reset ( GtkWidget *data);