discuss-gnustep
[Top][All Lists]
Advanced

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

building Gorm on MacOSX


From: Yves de Champlain
Subject: building Gorm on MacOSX
Date: Tue, 18 Apr 2006 00:47:53 -0400

Hi

In order to build gorm, I had to apply the rules of mingw32 in Palettes/*/GNUmakefile.pramble

It works well but for 2Controls :

gcc-dp-4.1 -fgnu-runtime -bundle \
  -o ./2Controls.palette/./2Controls \

[snip]

-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
gnumake[3]: *** [2Controls.palette/./2Controls] Error 1
gnumake[2]: *** [2Controls.all.palette.variables] Error 2
gnumake[1]: *** [internal-all] Error 2
gnumake: *** [internal-all] Error 2



However, if I remove -lGormCore, I get an undefined symbol :

___objc_class_name_GormControlEditor

Is it ok or is there some better way ?

thanks

yves





reply via email to

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