[TextEditor-mcc] Re: Introduce meself

  • From: "Gianfranco \"ShInKurO\" Gignina" <sh1nkur0@xxxxxxxxx>
  • To: texteditor_mcc@xxxxxxxxxxxxx
  • Date: Tue, 22 Apr 2008 11:35:42 +0200

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



-- 
Bye, 
Gianfranco "ShInKurO" Gignina

http://shinkuro.amiga.it
_____________________________________________________________________________
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: