Skip navigation.
 
mlRelease compile failure
FROM : Paul
DATE : Sat Jan 12 01:13:52 2008

I've got a bit of a problem with Xcode, and I would appreciate some 
help figuring it out.

I am using Xcode 2.4.1 on my TiBook running 10.4.11

I have a project the compiles and runs perfectly in the "Debug" 
configuration, but when I switch to "Release" configuration, I get a 
slug (highly technical term, meaning "a lot" ;-) ) of "Multiple 
definitions of symbol" errors.

/usr/bin/ld: multiple definitions of symbol _ACMTriggerEnabledVisibleKey
/usr/bin/ld: multiple definitions of symbol _shortRange

are two of the errors, and they are all variable names with an 
underbar at the beginning (ie - I have a variable named shortRange, 
but not _shortRange). In searching my files, none of them are defined 
more than once. The examples listed above are an NSString and an 
NSRange (respectively). They are also defined in two different Class 
files.

These errors are preceded with the following related errors:

/usr/bin/ld: multiple definitions of symbol _ACMTriggerEnabledVisibleKey

/Users/chiron/Documents/Development/A C M/build/A C M.build/Release/A 
C M.build/Objects-normal/ppc/InterfaceController.o private external 
definition of _ACMTriggerEnabledVisibleKey in section (__DATA,__data)

/Users/chiron/Documents/Development/A C Master/build/A C Master.build/
Release/A C Master.build/Objects-normal/ppc/PreferenceController.o 
private external definition of _ACMTriggerEnabledVisibleKey in section 
(__DATA,__data)

/Users/chiron/Documents/Development/A C M/build/A C M.build/Release/A 
C M.build/Objects-normal/ppc/DocumentSettings.o private external 
definition of _ACMTriggerEnabledVisibleKey in section (__DATA,__data)

/Users/chiron/Documents/Development/A C M/build/A C M.build/Release/A 
C M.build/Objects-normal/ppc/ShowModeInterface.o private external 
definition of _ACMTriggerEnabledVisibleKey in section (__DATA,__data)

/usr/bin/ld: multiple definitions of symbol _shortRange

/Users/chiron/Documents/Development/A C M/build/ACM.build/Release/A C 
M.build/Objects-normal/ppc/InterfaceController.o private external 
definition of _shortRange in section (__DATA,__data)

/Users/chiron/Documents/Development/A C M/build/A C M.build/Release/A 
C M.build/Objects-normal/ppc/PreferenceController.o private external 
definition of _shortRange in section (__DATA,__data)

/Users/chiron/Documents/Development/A C M/build/A C M.build/Release/A 
C M.build/Objects-normal/ppc/DocumentSettings.o private external 
definition of _shortRange in section (__DATA,__data)

/Users/chiron/Documents/Development/A C M/build/A C M.build/Release/A 
C M.build/Objects-normal/ppc/ShowModeInterface.o private external 
definition of _shortRange in section (__DATA,__data)



Also, if it helps, ACMTriggerEnabledVisibleKey is used in my 
PrefencesController class and is defined:
NSString *ACMTriggerEnabledVisibleKey = 
@"triggerEnabledIsVisibleInTable"

and shortRange is used in the InterfaceController Class (my Main) and 
is used to extract a portion of an NSString. Defined:
NSRange shortRange = { 2, 8 };

I am sure that I am over-looking something obvious, but for the life 
of me, I cannot figure it out

Thanks, in advance, for any help!!

***** Paul *****
<email_removed>
<email_removed>
ICQ #11034669

-----

"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety."

Benjamin Franklin, Historical Review of Pennsylvania, 1759

Related mailsAuthorDate
mlRelease compile failure Paul Jan 12, 01:13
mlRe: Release compile failure Tommy Nordgren Jan 12, 01:59
mlRe: Release compile failure Paul Jan 12, 02:20
mlRe: Release compile failure Tommy Nordgren Jan 12, 03:52
mlRe: Release compile failure Paul Jan 12, 04:54
mlRe: Release compile failure Kyle Sluder Jan 12, 05:25
mlRe: Release compile failure Paul Jan 12, 05:43
mlRe: Release compile failure Paul Jan 12, 05:45
mlRe: Release compile failure Kyle Sluder Jan 12, 08:01
mlRe: Release compile failure Paul Jan 12, 08:11
mlRe: Release compile failure Kyle Sluder Jan 12, 08:36
mlRe: Release compile failure Paul Jan 12, 17:27
mlRe: Release compile failure Kyle Sluder Jan 12, 17:39
mlRe: Release compile failure Paul Jan 13, 05:04
mlRe: Release compile failure Uli Kusterer Jan 14, 09:50