GNOME Bugzilla – Bug 112718
mutually dependent libraries
Last modified: 2018-06-29 20:31:48 UTC
The libraries `src/app-file/libgncmod-app-file.la' and `src/app-file/gnome/libgnc-app-file-gnome.la' are mutually dependent. (This is in version 1.8.2.) Namely, the library `src/app-file/libgncmod-app-file.la' needs the symbols `gnc_history_add_file', `gnc_history_get_last', and `gnc_file_dialog' from the library `src/app-file/gnome/libgnc-app-file-gnome.la'; and conversely, the latter library needs `gnc_file_open_file' from the former. Found this while trying to build on Cygwin, where all symbols must be resolved when linking shared libraries (see my post to gnucash-devel). Since `src/app-file/Makefile' has the line SUBDIRS = gnome . test I'm guessing that `src/app-file/gnome/libgnc-app-file-gnome.la' should not be dependent on `src/app-file/libgncmod-app-file.la'.
My proposed solution: move `src/app-file/gnc-file.c' into the gnome library `src/app-file/gnome/libgnc-app-file-gnome.la'. I'll submit a patch later which includes all of the changes I've made for compiling on Cygwin.
This has been fixed at some point and doesn't occur in the current SVN, http://gnomesupport.org/wiki/index.php/GnuCashSvn, does it?
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=112718. Please update any external references or bookmarks.