Homebrew Question Issues when trying to compile Libnx

  • Thread starter Thread starter Polarise
  • Start date Start date
  • Views Views 1,541
  • Replies Replies 0

Polarise

Well-Known Member
Member
Joined
Jul 12, 2016
Messages
827
Reaction score
99
Trophies
0
Age
25
XP
1,173
Country
United States
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,

Site & Scene News

Popular threads in this forum