[TextEditor-mcc] Re: Introduce meself

  • From: Jens Langner <Jens.Langner@xxxxxxxxxxxxxx>
  • To: texteditor_mcc@xxxxxxxxxxxxx
  • Date: Tue, 22 Apr 2008 11:39:26 +0200

Gianfranco "ShInKurO" Gignina schrieb:
Il 22-Apr-2008, Thore Böckelmann scrisse:

Gianfranco "ShInKurO" Gignina schrieb:

I would fix linking errors on OS4 for TextEditor-test.c, there are two
NULL initializations, one of UtilityBase and one of IUtility interface
which caused that problem, if you remove these two initializations
linking works on OS4...
A global variable can be assigned any value. This must not cause any
linking errors. Which error message exactly do you get?


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

Yes, this is due to the fact that you are using an older OS4-SDK where the definition of IUtility/UtilityBase are within the crt files of newlib. Until a new SDK is out I would say you can simply ignore it as the TextEditor-Test executable is just required for internal use of the developers and it will not be published in any way.

cheers,
jens
--
Jens Langner, Dresden/Germany
http://www.jens-langner.de/
_____________________________________________________________________________
TextEditor ML   - //www.freelists.org/list/texteditor_mcc
Listserver help - mailto:texteditor_mcc-request@xxxxxxxxxxxxx?Subject=HELP
Bugtracker......: http://sourceforge.net/tracker/?atid=731469&group_id=135025

Other related posts: