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

Group
 
 

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

Submitter:  Yves de Champlain <yvesde>
Submitted:  Sun 21 Aug 2005 11:27:45 PM UTC
   
 
Category:  Gorm Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator
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>
Group administrator
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-01-16 gcasa StatusNone Fixed
    Assigned toNone gcasa
    Open/ClosedIn Test Closed
2005-09-12 gcasa Open/ClosedOpen In Test

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code