After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 648926 - Conflicting symbols in generated perf/marshalers.c and gtk/gtkmarshalers.c
Conflicting symbols in generated perf/marshalers.c and gtk/gtkmarshalers.c
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-04-29 09:37 UTC by Kalev Lember
Modified: 2012-03-12 13:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
perf: Use different marshaller prefix than in gtk (2.11 KB, patch)
2011-04-29 09:40 UTC, Kalev Lember
committed Details | Review

Description Kalev Lember 2011-04-29 09:37:42 UTC
I'm getting multiple definitions of __gtk_marshal_OBJECT__VOID when cross compiling for Windows. I suspect other platforms might also be affected, depending on how the linker behaves.

../gtk/.libs/libgtk-3.a(gtkmarshalers.o): In function `_gtk_marshal_OBJECT__VOID':
/builddir/build/BUILD/gtk+-3.0.9/gtk/gtkmarshalers.c:1166: multiple definition of `__gtk_marshal_OBJECT__VOID'
marshalers.o:/builddir/build/BUILD/gtk+-3.0.9/perf/marshalers.c:60: first defined here
Comment 1 Kalev Lember 2011-04-29 09:40:08 UTC
Created attachment 186860 [details] [review]
perf: Use different marshaller prefix than in gtk

Avoids multiple symbol definitions in gtk/gtkmarshalers.c
and perf/marshalers.c when both objects are linked in.
Comment 2 Colin Walters 2011-04-29 14:02:45 UTC
Review of attachment 186860 [details] [review]:

Looks obviously correct.
Comment 3 Colin Walters 2011-04-29 14:26:25 UTC
Attachment 186860 [details] pushed as 95904a5 - perf: Use different marshaller prefix than in gtk