Hello, I am trying to compile Atmosphere-NX's libnx but I keep on getting an error. I have even updated devKitPro and devKitA64. Here is the error
Code:
PS D:\---\libnx\libnx-master\nx> make
newlib.c
aarch64-none-elf-gcc -MMD -MP -MF /d/---/libnx/libnx-master/nx/release/newlib.d -g -Wall -Werror -ffunction-sections -fdata-sections -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIC -ftls-model=local-exec -DNDEBUG=1 -O2 -I/d/---/libnx/libnx-master/nx/include -I/d/Switch-Hacking/libnx/libnx-master/nx/external/bsd/include -I. -iquote /d/---/libnx/libnx-master/nx/include/switch/ -DSWITCH -c /d/---/libnx/libnx-master/nx/source/runtime/newlib.c -o newlib.o
D:/---/libnx/libnx-master/nx/source/runtime/newlib.c: In function 'newlibSetup':
D:/---/libnx/libnx-master/nx/source/runtime/newlib.c:130:15: error: '__syscalls_t {aka struct <anonymous>}' has no member named 'nanosleep'
__syscalls.nanosleep = __libnx_nanosleep;
^
make[1]: *** [/opt/devkitpro/devkitA64/base_rules:19: newlib.o] Error 1
make: *** [Makefile:124: lib/libnx.a] Error 2
Last edited by Polarise,






