Skip navigation.
 
mlRe: Project breaks on Intel under gcc-4.0
FROM : David Hill
DATE : Sun Jun 22 17:07:04 2008

Uli -- thanks for responding.

On Jun 22, 2008, at 2:52 AM, Uli Kusterer wrote:

> Am 22.06.2008 um 02:25 schrieb David Hill:

>> I get a "Duplicate Symbol" error at the link stage, between two of 
>> my .o files -- a different symbol depending on whether I compile 
>> for "Release" or "Debug" ("_flag" or "_verbose" respectively).  It 
>> is the same error on the Intel machine whether I compile for i386 
>> or ppc

>
>
>  WHAT error ?
>


I have two different Macintosh computers  each running OSX.

Machine A: A Power-PC-based G5 running Panther 10.4.11, with xcode 
version 2.4.1 which uses gcc-3.3

Machine B: An Intel CoreDuo-based iMac running Leopard 5.3, with 
xcode version 3.0 which uses gcc-4.0

On Machine A I compile my application and it builds with no errors, 
and then runs correctly.

On Machine B, during the build, xcode returns a "Duplicate Symbol" 
error (i.e. the same symbol in two different .o files) during the 
link stage

The duplicate symbol name identified by xcode on Machine B differs 
depending on whether I build for "Release" (symbol name claimed is 
"_flag") or for "Debug" (the duplicate symbol name claimed is 
"_verbose").

I do not use either of these symbol names in my code so they must 
have been generated during the build.  I do not understand what is 
going on here and would value some suggestions as to how to find and/
or eliminate the error.

david
--------
David Hill
<email_removed>
http://savannah.gnu.org/projects/gnuspeech
--------
  The only function of economic forecasting is to make astrology look 
respectable. (J.K. Galbraith)
--------

Related mailsAuthorDate
mlProject breaks on Intel under gcc-4.0 David Hill Jun 22, 02:25
mlRe: Project breaks on Intel under gcc-4.0 Uli Kusterer Jun 22, 11:52
mlRe: Project breaks on Intel under gcc-4.0 David Hill Jun 22, 17:07
mlRe: Project breaks on Intel under gcc-4.0 Waqar Malik Jun 22, 17:14
mlRe: Project breaks on Intel under gcc-4.0 David Hill Jun 22, 18:56
mlRe: Project breaks on Intel under gcc-4.0 Uli Kusterer Jun 22, 19:20
mlRe: Project breaks on Intel under gcc-4.0 David Hill Jun 23, 02:08
mlRe: Project breaks on Intel under gcc-4.0 Uli Kusterer Jun 23, 08:37