[Xfce-bugs] [XFCE 0000229]: Cannot compile xffm on Mac OS X 10.3.4 : multiply definitions _UriType in common libxffm_calls.la

xfce-bugs at xfce.org xfce-bugs at xfce.org
Thu Jun 17 22:00:51 CEST 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000229
=======================================================================
Reporter:                   cpweather
Handler:                    
=======================================================================
Project:                    XFCE
Bug ID:                     0000229
Category:                   xffm
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
=======================================================================
Date Submitted:             2004-06-17 18:43 GMT
Last Modified:              2004-06-17 20:00 GMT
=======================================================================
Summary:                    Cannot compile xffm on Mac OS X 10.3.4 : multiply definitions _UriType in common libxffm_calls.la
Description: 
I can compile all parts of xfce-4.0.5 successfully, except xffm which fails
when linking libxffm_calls.la.
OS: Mac OS X 10.3.4
Exact error (details of the command in additional information):
ld: multiple definitions of symbol _UriType
.libs/libxffm_calls_la-dnd.o definition of _UriType in section
(__DATA,__common)
.libs/libxffm_calls_la-pasteboard.o definition of _UriType in section
(__DATA,__common)

=======================================================================

-----------------------------------------------------------------------
 kelnos - 2004-06-17 20:00 GMT 
-----------------------------------------------------------------------
yeah, os x's linker doesn't like multiple same-named symbols in the common
section of libraries.  IIRC, if you compile _every_ .c file and link the
lib and executable (if any) with the '-fno-common' cmdline option, it'll
work.  however, i'm not sure how to tell libtool to do that in a portable
way.



More information about the Xfce-bugs mailing list