[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:10:39 CEST 2004


Une note a été ajoutée pour ce bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000229
=======================================================================
Rapporteur:                 cpweather
Responsable:                
=======================================================================
Projet:                     XFCE
Bug ID:                     0000229
Catégorie:           xffm
Reproductibilité:    toujours
Sévérité: bloquant
Priorité:            normale
Etat:                       nouveau
=======================================================================
Date de soumission:         2004-06-17 18:43 GMT
Dernière modification: 2004-06-17 20:10 GMT
=======================================================================
Résumé:       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.

-----------------------------------------------------------------------
 cpweather - 2004-06-17 20:10 GMT 
-----------------------------------------------------------------------
I was just successful : I just had to remove UriType and leave an empty
type definition...

I also had to remove any -Wl,R/usr/local/lib which is present in some
Makefiles.



More information about the Xfce-bugs mailing list