discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linking error in Gorm 0.11


From: Gregory John Casamento
Subject: Re: linking error in Gorm 0.11
Date: Sun, 21 Aug 2005 14:04:46 -0700 (PDT)

Yves,

--- Yves de Champlain <yves@gnu-darwin.org> wrote:

> 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
> 
> 
> Is there a "best solution" (TM) to this ?
> 
> thanks
> 
> yves

This problem appears to be due to the peculiarities of the linker under darwin.

I am unable to reproduce this here with Gorm 0.11 using gcc 3.4.3 on Linux.   I
will make another release of Gorm in a few days.  Please go ahead and file a
bug for this so that I can track it.

In the meanwhile, please try the most recent CVS of Gorm.  The code in the
palettes and GormCOre has been refactored, so you might have more luck there.

Thanks, GJC

Gregory John Casamento 
-- CEO/President Open Logic Corp. (A MD Corp.)
## Maintainer of Gorm (IB Equiv.) for GNUstep.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]