Re: [gnome-db] Build Error; undeclined identifier

Pavlo Solntsev <[email protected]> Fri, 09 Mar 2018 12:50:58 -0600
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
Please check my fork:
https://gitlab.gnome.org/pavlosun/libgda

it is identical to the official GNOME repo with some bugfix, including
your. 

To compile everything, I would suggest you to use:
./autogen.sh --disable-system-sqlite --disable-introspection

Inrospection will not be installed if prefix is not /usr. Will be fixed
soon.



On Fri, 2018-03-09 at 08:46 -0500, Adam Tauno Williams wrote:
> I checked out the code from https://github.com/GNOME/libgda
> 
> Attempting to build that code fails.
> 
> .....
> ui-support.c:460:3: warning: 'gtk_button_set_focus_on_click' is
> deprecated (declared at /usr/include/gtk-3.0/gtk/gtkbutton.h:138):
> Use
> 'gtk_widget_set_focus_on_click' instead [-Wdeprecated-declarations]
>    gtk_button_set_focus_on_click (GTK_BUTTON (close_button), FALSE);
>    ^
>   CC       auth-dialog.lo
>   CC       login-dialog.lo
>   CC       browser-perspective.lo
>   CC       browser-page.lo
>   CC       browser-window.lo
>   CC       browser-connections-list.lo
>   CC       connection-binding-properties.lo
>   CC       gdaui-data-import.lo
> gdaui-data-import.c: In function 'spec_changed_cb':
> gdaui-data-import.c:422:10: error:
> 'GDAUI_DATA_PROXY_INFO_CHUNCK_CHANGE_BUTTONS' undeclared (first use
> in
> this function)
>           GDAUI_DATA_PROXY_INFO_CHUNCK_CHANGE_BUTTONS | 
>           ^
> gdaui-data-import.c:422:10: note: each undeclared identifier is
> reported only once for each function it appears in
> Makefile:725: recipe for target 'gdaui-data-import.lo' failed
> make[3]: *** [gdaui-data-import.lo] Error 1
> make[3]: Leaving directory '/srv/projects/libgda/tools/browser'
> Makefile:807: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/srv/projects/libgda/tools/browser'
> Makefile:1156: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/srv/projects/libgda/tools'
> Makefile:736: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
>