My LIBS:linking ... game.elf
C:/Users/Bread/dev/GameCube/projects/game/thirdparty/SDL/SDL/lib\libSDL.a(SDL_string.o): In function `SDL_vsnprintf':
SDL_string.c:(.text.SDL_vsnprintf+0x92): undefined reference to `__ctype_ptr__'
SDL_string.c:(.text.SDL_vsnprintf+0x272): undefined reference to `__ctype_ptr__'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [C:\Users\Bread\dev\devkitPro\devkitPPC/gamecube_rules:25: /home/Bread/dev/GameCube/projects/game/bin/game.elf] Error 1
make: *** [Makefile:103: build] Error 2
The terminal process terminated with exit code: 1
some googling told me to try adding libg but that doesn't help.LIBS := -lSDL_gfx -lSDL_ttf -lSDL_mixer -lvorbisidec -lSDL_image -lpng16 -lSDL -lfat -lz -logc -lm
Admittedly I had some trouble figuring out where to find the gamecube sdl port. It didn't look like the devkitPro github mirror had cube support to me, and it seemed difficult to compile on windows.
I grabbed it from here: https://sourceforge.net/projects/gcsdl12/
So, if this issue is due to me having an old version I could use some direction on where/how to find/setup latest cube sdl.