Conflicting marshalers

Colin Walters walters at
Wed May 4 06:19:07 PDT 2005

On Wed, 2005-05-04 at 11:00 +0100, Ross Burton wrote:
> Hi,
> I've got two .xml files which define the introspection/binding
> information for two different GObjects I'll be putting on the bus.  I
> want both of these objects to be linked into a single binary (it's a
> factory process) but when I do this the marshals clash with "multiple
> definition of `dbus_glib_marshal_BOOLEAN__STRING_POINTER_POINTER'" as
> they are public symbols.
> Any ideas how I can avoid this?

We need to come up with a better (dynamic) MARSHAL_PREFIX inside
dbus-binding-tool-glib.c.  Not sure exactly how we do that.  Perhaps it
could be the SHA1 of all the interface names used in the file.  Or
perhaps we just force the user to pick one like glib-genmarshal does.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the dbus mailing list