[TextEditor-mcc] Re: Texteditor on AROS

  • From: Jens Langner <Jens.Langner@xxxxxxxxxxxxxx>
  • To: texteditor_mcc@xxxxxxxxxxxxx
  • Date: Sun, 17 May 2009 09:07:23 +0200

Hi Gianfranco,

Gianfranco "ShInKurO" Gignina schrieb:

> I don't know why this mail is blocked by ml... Now I try to send it with all
> output pasted into body of mail...

The problem was/is that there is a size limit for a mail and I think it
currently is 40KB which your previous mail exceeded.

> Il 15-Mag-2009, Thore Böckelmann scrisse:
>> You must use "OS=aros" instead of "os=aros". Without a valid OS
>> information OS=os4 is assumed.
> Here 3 different output problems... I suppose you are able to compile now
> for all systems and I've checkout TE sources from linux without any change
> by me :)
> shinkuro@debian:~/Documenti/texteditor-mcc/trunk/mcc$ make OS=aros

Well, I am sorry, but the proper way to compile for i386 AROS is to call

make OS=aros-i386

Just have a look into the Makefile for the proper target names for AROS

> shinkuro@debian:~/Documenti/texteditor-mcc/trunk/mcc$ make OS=mos
>   CC library.c
>   CC AllocBitMap.c
>   CC AllocFunctions.c
>   CC BlockOperators.c
>   CC CaseConversion.c
>   CC ColorOperators.c
>   CC Debug.c
>   CC Dispatcher.c
>   CC EditorStuff.c
> EditorStuff.c: In function `utf8_to_ansi':
> EditorStuff.c:60: `WCHAR' undeclared (first use in this function)
> EditorStuff.c:60: (Each undeclared identifier is reported only once
> EditorStuff.c:60: for each function it appears in.)
> EditorStuff.c:60: parse error before `wc'
> EditorStuff.c:63: warning: implicit declaration of function `UTF8_Decode'
> EditorStuff.c:63: `wc' undeclared (first use in this function)
> EditorStuff.c:64: warning: implicit declaration of function `ToANSI'
> EditorStuff.c:72: `CONST_WSTRPTR' undeclared (first use in this function)
> EditorStuff.c:72: parse error before `p'
> EditorStuff.c:74: `p' undeclared (first use in this function)
> EditorStuff.c:96: parse error before `wc'
> EditorStuff.c:106: parse error before `p'
> EditorStuff.c: In function `PasteClip':
> EditorStuff.c:292: `CODESET_UTF8' undeclared (first use in this function)
> make: *** [.obj_mos/EditorStuff.o] Error 1

Sorry, but this looks like your are having on old MorphOS SDK. So please
go and get a more recent one from the morphos developer homepage. You
can clearly see that because WCHAR is not defined.

> shinkuro@debian:~/Documenti/texteditor-mcc/trunk/mcc$ make OS=os3
>   CC library.c
> In file included from library.c:81:
> ../include/mccinit.c:193: error: conflicting types for 'UtilityBase'
> /usr/local/amiga/lib/gcc/m68k-amigaos/3.4.0/../../../../m68k-amigaos/sys-include/proto/utility.h:12:
> error: previous declaration of 'UtilityBase' was here
> ../include/mccinit.c:193: error: conflicting types for 'UtilityBase'
> /usr/local/amiga/lib/gcc/m68k-amigaos/3.4.0/../../../../m68k-amigaos/sys-include/proto/utility.h:12:
> error: previous declaration of 'UtilityBase' was here
> make: *** [.obj_os3/library.o] Error 1
> shinkuro@debian:~/Documenti/texteditor-mcc/trunk/mcc$

Again I would say you have an old or outdated OS3 SDK in your cross
compiler environment for OS3.

Jens Langner, Dresden/Germany
TextEditor ML   - http://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: