
On Wed, May 25, 2005 at 11:42:58AM -0500, Bob Jamison wrote:
Is it just me, or is anyone else having link-order problems for things in /ui/dialog referencing things elsewhere?
Yes, this was quite common while I was integrating the gtkmm code. I resolved it for the dialogs I did by adjusting the location of where the ui/dialog lib is listed in the higher level makefiles. It's quite possible that it may require additional adjustment to provide the dependencies needed by other dialogs.
Note that you may also need to shuffle the location of ui/widgets since the dialog code depends on that. Also, I seem to remember running afoul of a circular dependency with something in io/; I don't remember if I solved that or just worked around it. You may discover new circular dependencies for other dialogs. I think to prevent these sorts of dependency issues in the future, we need to be a bit more attentive of what depends on what in the codebase; this isn't easy but it's a good rigor to get into. This is probably directly related to the header file interdependency problem that we've known about and been working on, so solving one may help address the other.
Bryce