yellows8 / hblauncher_loader

3DS NCCH application for booting the *hax payloads.
244 stars 27 forks source link

Undefined reference to `__tdata_lma_end', `__tdata_lma', `__tls_start' and `__tls_end'. #3

Closed ghost closed 8 years ago

ghost commented 8 years ago

When compiling and updating the functions to the post-refactor ctrulib, this error is given:

linking hblauncher_loader.elf
c:/devkitPro/libctru/lib\libctru.a(syscalls.o): In function `__system_initSyscalls':
c:/devkitPro/libctru/source/system/syscalls.c:57: undefined reference to `__tdata_lma_end'
c:/devkitPro/libctru/source/system/syscalls.c:57: undefined reference to `__tdata_lma'
c:/devkitPro/libctru/source/system/syscalls.c:57: undefined reference to `__tls_start'
c:/devkitPro/libctru/lib\libctru.a(thread.o): In function `threadCreate':
c:/devkitPro/libctru/source/thread.c:64: undefined reference to `__tls_start'
c:/devkitPro/libctru/source/thread.c:64: undefined reference to `__tls_end'
c:/devkitPro/libctru/source/thread.c:64: undefined reference to `__tdata_lma_end'
c:/devkitPro/libctru/source/thread.c:64: undefined reference to `__tdata_lma'
collect2.exe: error: ld returned 1 exit status
yellows8 commented 8 years ago

ac0d55ebe08f3f8eaeef0ce482838cd398bd2fea