Undefinied reference __locale_ctype_ptr linker error with latest Devkit update
Posted: Sat Mar 30, 2019 3:04 pm
Hi
I updated to the latest devkitA64 and libnx2.1.0 yesterday and it caused basically all my builds to completely fail. I managed to get most of it back up again but now I'm stuck with this weird linker error:
The lines it points to don't make a lot of sense really either...
I hope somebody can point out the problem here
I updated to the latest devkitA64 and libnx2.1.0 yesterday and it caused basically all my builds to completely fail. I managed to get most of it back up again but now I'm stuck with this weird linker error:
Code: Select all
linking EdiZon.elf
c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: C:/devkitPro/libnx/lib\libnx.a(argv.o): in function `argvSetup':
D:/Development/SwitchHomebrew/libnx/nx/source/runtime/argv.c:115: undefined reference to `__locale_ctype_ptr'
c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/8.3.0/../../../../aarch64-none-elf/bin/ld.exe: D:/Development/SwitchHomebrew/libnx/nx/source/runtime/argv.c:97: undefined reference to `__locale_ctype_ptr'
collect2.exe: error: ld returned 1 exit status
I hope somebody can point out the problem here