bugGNUstep - Bugs: bug #14250, BUG: multiply_defined error in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #14250: BUG: multiply_defined error in Gorm with gcc-4.0.1 on Darwin 8

Submitted by:  Yves de Champlain <yvesde>
Submitted on:  Sun 21 Aug 2005 11:27:45 PM UTC  
 
Category: GormSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

Sun 23 Jul 2006 06:28:23 AM UTC, comment #5:

I'm getting a similar problem with Gorm 1.0.8 and gcc 4.1 on macosx 10.4.7

gcc-dp-4.1 -fgnu-runtime -bundle \
-o ./2Controls.palette/./2Controls \
./shared_obj/GormButtonAttributesInspector.o ./shared_obj/GormBoxAttributesInspector.o ./shared_obj/GormCellAttributesInspector.o ./shared_obj/GormColorWellAttributesInspector.o ./shared_obj/GormFormAttributesInspector.o ./shared_obj/GormPopUpButtonAttributesInspector.o ./shared_obj/GormSliderAttributesInspector.o ./shared_obj/GormStepperAttributesInspector.o ./shared_obj/GormProgressIndicatorAttributesInspector.o ./shared_obj/GormTextFieldAttributesInspector.o ./shared_obj/GormMatrixAttributesInspector.o ./shared_obj/ControlsPalette.o ./shared_obj/GormPopUpButtonEditor.o ./shared_obj/GormButtonEditor.o ./shared_obj/inspectors.o -flat_namespace -undefined warning \
-L../../GormLib/./shared_obj -L../../GormObjCHeaderParser/./shared_obj -L../../GormPrefs/./shared_obj -L../../GormCore/./shared_obj -L/opt/local/GNUstep/System/Library/Libraries/ -lGorm -lGormCore -lGormObjCHeaderParser -lgnustep-gui -lgnustep-base -lobjc -lm
/opt/local/bin/odld: warning -prebind has no effect with -bundle
/opt/local/bin/odld: multiple definitions of symbol __objc_category_name_NSBox_IBObjectAdditions
./shared_obj/GormBoxAttributesInspector.o definition of __objc_category_name_NSBox_IBObjectAdditions in section (__TEXT,__const)
../../GormCore/./shared_obj/libGormCore.dylib(single module) definition of __objc_category_name_NSBox_IBObjectAdditions
/opt/local/bin/odld: multiple definitions of symbol __objc_category_name_NSTextField_IBObjectAdditions
./shared_obj/GormTextFieldAttributesInspector.o definition of __objc_category_name_NSTextField_IBObjectAdditions in section (__TEXT,__const)
../../GormCore/./shared_obj/libGormCore.dylib(single module) definition of __objc_category_name_NSTextField_IBObjectAdditions
/opt/local/bin/odld: multiple definitions of symbol __objc_category_name_NSMatrix_IBObjectAdditions
./shared_obj/GormMatrixAttributesInspector.o definition of __objc_category_name_NSMatrix_IBObjectAdditions in section (__TEXT,__const)
../../GormCore/./shared_obj/libGormCore.dylib(single module) definition of __objc_category_name_NSMatrix_IBObjectAdditions
collect2: ld returned 1 exit status

Yves de Champlain <yvesde>
Mon 16 Jan 2006 05:44:51 PM UTC, comment #4:

In a previous version of Gorm, this category was defined both in the control palette inspectors.m and in GormControlEditor.m. It has been removed from inspectors.m, so this should no longer be an issue.

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Tue 13 Sep 2005 04:17:42 AM UTC, comment #3:

Right now, I'm stuck with everything that links with gs-back crashing on MacOSX 10.4 and no X11 on Darwin 8, so I won't be looking into Gorm real soon ...

That is my best right now, sorry :-\

Yves de Champlain <yvesde>
Mon 12 Sep 2005 04:40:40 AM UTC, comment #2:

Many changes were made recently to consolidate the location of the categories in the palettes and in GormCore.

I don't have everything configured on Darwin (Mac OS X) could you please try this again with the latest CVS of Gorm and tell me if this solves your problem?

Thanks GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Mon 22 Aug 2005 05:07:38 AM UTC, comment #1:

Further note: This was noticed on Darwin, for Gorm version 0.11.x.

Please try the most recent CVS to see if it fixes this issue.

GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Sun 21 Aug 2005 11:27:45 PM UTC, original submission:

Making all in 2Controls...
Making all for palette 2Controls...
/usr/bin/ld -bundle /usr/lib/bundle1.o -L/opt/local/lib/gcc40 -lobjc-
gnu -flat_namespace -undefined warning \
-o ./2Controls.palette/./2Controls \
./shared_obj/main.o ./shared_obj/inspectors.o ./shared_obj/
GormPopUpButtonEditor.o ./shared_obj/GormButtonEditor.o \
-L../../GormLib/./shared_obj -L../../GormObjCHeaderParser/./
shared_obj -L../../GormPrefs/./shared_obj -L../../GormCore/./
shared_obj -L/opt/local/GNUstep/System/Library/Libraries/ -lgnustep-
base -lgnustep-gui -lGorm -lGormCore -lGormObjCHeaderParser

/usr/bin/ld: multiple definitions of symbol
__objc_category_name_NSTextField_IBObjectAdditions
./shared_obj/inspectors.o definition of
__objc_category_name_NSTextField_IBObjectAdditions in section
(__TEXT,__const)
../../GormCore/./shared_obj/libGormCore.dylib(GormControlEditor.o)
definition of __objc_category_name_NSTextField_IBObjectAdditions

If I remove -lGormCore flag, I get this undefined symbol :

___objc_class_name_GormControlEditor

Yves de Champlain <yvesde>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 16 Jan 2006 05:44:51 PM UTCgcasaStatusNone=>Fixed
  Assigned toNone=>gcasa
  Open/ClosedIn Test=>Closed
Mon 12 Sep 2005 04:40:40 AM UTCgcasaOpen/ClosedOpen=>In Test

Back to the top


Powered by Savane 3.1-cleanup1