GNOME Bugzilla – Bug 543291
panel_gconf_get_client doubly defined - breaks Solaris build
Last modified: 2009-05-04 20:47:57 UTC
When linking gnome-desktop-item-edit the build fails with the following error: ld: fatal: symbol `panel_gconf_get_client' is multiply-defined: (file gnome-desktop-item-edit.o type=FUNC; file panel-gconf.o type=FUNC); ld: fatal: File processing errors. No output written to .libs/gnome-desktop-item-edit Attached patch removed definition of panel_gconf_get_client() from gnome-panel/gnome-desktop-item-edit.c.
Created attachment 114669 [details] [review] Remove duplicate definition of panel_gconf_get_client function
I don't understand: we don't use panel-gconf.o for gnome-desktop-item-edit, so what is the other place where it's defined?
Hi :) What do we do about this bug? It's been set to NEEDINFO for quite some time now. Damien, would you mind to provide us your CFLAGS and LDFLAGS? Maybe there is some linking magic involved. I'm closing as INCOMPLETE for now, please reopen if you have any news or think that this isn't a smart move. I am also rejecting the patch for now, as I can't see any use for it and to make it disappear in the patch report.
I did some research on this bug. As you say, this patch is not needed with the upstream code. On Solaris, we apply the patch in bug #394249 and this adds the following line to panel-lockdown.h. #include "launcher.h" So, a patch we are applying causes this bug. So this bug should be closed. I added this patch to bug #394249 highlighting that this patch is also needed for that code to work properly.