Cannot compile: ‘bar’ undeclared

Asked by Heinrich Flugelhorn

Hello,

I tried to compile the latest version of Homebank on Ubuntu 14.04 by

$ bzr branch lp:homebank
$ cd homebank
$ ./configure
$ make

and I get the following error

make all-recursive
Making all in src
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/harfbuzz -DSHARE_DIR=\""/usr/local/share/homebank"\" -DDATA_DIR=\""/usr/local/share"\" -g -O2 -Wall -Wmissing-prototypes -DOFX_ENABLE -MT dsp_mainwindow.o -MD -MP -MF .deps/dsp_mainwindow.Tpo -c -o dsp_mainwindow.o dsp_mainwindow.c
dsp_mainwindow.c: In function ‘create_hbfile_window’:
dsp_mainwindow.c:2489:2: error: ‘bar’ undeclared (first use in this function)
  bar = gtk_info_bar_new ();
  ^
dsp_mainwindow.c:2489:2: note: each undeclared identifier is reported only once for each function it appears in

Is it normal ?

Thank you for any help

Question information

Language:
English Edit question
Status:
Solved
For:
HomeBank Edit question
Assignee:
No assignee Edit question
Solved by:
Heinrich Flugelhorn
Solved:
Last query:
Last reply:
Revision history for this message
Heinrich Flugelhorn (fbe546) said :
#1

Changing HB_UNSTABLE to FALSE in src/homebank.h solved this issue.