Hello Werner, I managed to eliminate one error (FT_Stream_Open) of three, with linking "ftsystem.ppc.o"(or "ftsystempure.ppc.o") yeeeaaah... :-) (in turn, I don't understand why I need link it separately???)
gcc sdlttf.c -o sdlttf.run ftsystem.ppc.o -lSDL_ttf -lft2_ppc -lSDL ld: Dwarf Error: found dwarf version '4', this reader only handles version 2 information. /SDK/local/newlib/lib/libSDL_ttf.a(SDL_ttf.o): In function `TTF_Init': SDL_ttf.c:(.text+0xdbc): undefined reference to `FT_Init_FreeType' /SDK/local/newlib/lib/libSDL_ttf.a(SDL_ttf.o): In function `TTF_Quit': SDL_ttf.c:(.text+0x33c8): undefined reference to `FT_Done_FreeType' make: *** [all] Error 1 AND where are FT_Init_FreeType and FT_Done_FreeType??? (Are they not in "libft2_ppc.a"?) Can you help me? Regards, Charlie *** Begin of forwarded message *** Date: 2018.11.05. 07:01:48 From: Nagy Károly <n4gyk4r...@outlook.com> Subject: RE2: Re: Some problem (or bug) about compiling freetype library on AmigaOS4.1FE Update 1 --- Forwarded message follows --- Hello Werner, OK. I attached a working makefile: makefile.os4 and the log of my build: build_log.txt What's your opinion, now? Maybe you will be right... Thanks for your help. Have a nice day. Károly On 2018.11.04., you wrote: >> First of all, thanks for the quick reply, but I think you miss the >> point a little bit, because I wrote that I managed to compiled >> FreeType library in the end: > OK. Can you provide a patch that updates the Amiga stuff? Maybe > contributing a new Makefile, if necessary... >> /SDK/local/newlib/lib/libSDL_ttf.a(SDL_ttf.o): In function `TTF_Init': >> SDL_ttf.c:(.text+0xdbc): undefined reference to `FT_Init_FreeType' >> /SDK/local/newlib/lib/libSDL_ttf.a(SDL_ttf.o): In function `TTF_Quit': >> SDL_ttf.c:(.text+0x33c8): undefined reference to `FT_Done_FreeType' >> /SDK/local/newlib/lib/libft2_ppc.a(ftbase.ppc.o): In function >> `FT_Stream_New': >> ftbase.c:(.text+0xdd0c): undefined reference to `FT_Stream_Open' >> make: *** [all] Error 1 > Obviously the files that contain the code for those functions are not > compiled into your library. Without a log file I can only rub against > my crystal ball. > Werner *** End of forwarded message ***
makefile.os4
Description: makefile.os4
build_log.txt
Description: build_log.txt
_______________________________________________ Freetype mailing list Freetype@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype