Gianfranco "ShInKurO" Gignina schrieb:
Linking bin_os4/TextEditor-Test .obj_os4/TextEditor-Test.o(.sbss+0x50): In function `URLHookCode': TextEditor-Test.c:52: multiple definition of `IUtility' /SDK/newlib/lib/crtbegin.o(.sbss+0x4): first defined here .obj_os4/TextEditor-Test.o(.sbss+0x24): In function `URLHookCode': TextEditor-Test.c:52: multiple definition of `UtilityBase' /SDK/newlib/lib/crtbegin.o(.sbss+0x8): first defined here gmake: *** [bin_os4/TextEditor-Test] Error 1
Hm, there seems to be a difference between the current publically available SDK (51.22) and the beta SDK. I suppose you completely removed the definition of UtilityBase and IUtility in TextEditor-Test.c. Or did you remove the "= NULL" assignment only? With the latter the linking error still would occur.
But what really puzzles me is the location within the source. Line 52 contains just simple comparisons and no access to any functions of utility.library. Strange...
For the moment just remove the two definitions while you are testing. -- Thore Böckelmann Rehmerloh, Germany -- _____________________________________________________________________________ TextEditor ML - //www.freelists.org/list/texteditor_mcc Listserver help - mailto:texteditor_mcc-request@xxxxxxxxxxxxx?Subject=HELP Bugtracker......: http://sourceforge.net/tracker/?atids1469&group_id5025