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 669225 - Duplicate symbol prevents build on Mac OS X
Duplicate symbol prevents build on Mac OS X
Status: RESOLVED FIXED
Product: lasem
Classification: Other
Component: Other
git master
Other Mac OS
: Normal normal
: ---
Assigned To: Emmanuel Pacaud
Depends on:
Blocks:
 
 
Reported: 2012-02-02 07:21 UTC by nakamoto
Modified: 2012-02-02 08:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description nakamoto 2012-02-02 07:21:16 UTC
When building lasem on Mac OS X 10.6 ( gcc 4.2 ), the build fails in linking as:

ld: duplicate symbol _lsm_mathml_bbox_null in .libs/lsmmathmlenumtypes.o and .libs/lsmdomparser.o



Changing a single line in lsmmathmlutils.h from:

const LsmMathmlBbox lsm_mathml_bbox_null;

to:

extern const LsmMathmlBbox lsm_mathml_bbox_null;

solved the problem.
Comment 1 Emmanuel Pacaud 2012-02-02 08:33:28 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.